An issue was discovered in the Linux kernel before 5.0. The function __mdiobus_register() in drivers/net/phy/mdio_bus.c calls put_device(), which will trigger a fixed_mdio_bus_init use-after-free. This will cause a denial of service.
The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer.
Link | Tags |
---|---|
https://github.com/torvalds/linux/commit/6ff7b060535e87c2ae14dd8548512abfdda528fb | third party advisory patch |
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=6ff7b060535e87c2ae14dd8548512abfdda528fb | mailing list patch vendor advisory |
http://www.securityfocus.com/bid/108768 | vdb entry third party advisory |
http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00039.html | vendor advisory |
http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00040.html | vendor advisory |
http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00048.html | vendor advisory |
https://security.netapp.com/advisory/ntap-20190710-0002/ | |
https://usn.ubuntu.com/4094-1/ | vendor advisory |
http://packetstormsecurity.com/files/154245/Kernel-Live-Patch-Security-Notice-LSN-0054-1.html | |
https://usn.ubuntu.com/4118-1/ | vendor advisory |