A flaw was found in the MCTP protocol in the Linux kernel. The function mctp_unregister() reclaims the device's relevant resource when a netcard detaches. However, a running routine may be unaware of this and cause the use-after-free of the mdev->addrs object, potentially leading to 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://bugzilla.redhat.com/show_bug.cgi?id=2217915 | patch third party advisory issue tracking |
https://github.com/torvalds/linux/commit/b561275d633bcd8e0e8055ab86f1a13df75a0269 | patch |
http://www.openwall.com/lists/oss-security/2023/07/02/1 | patch mailing list third party advisory |