Use After Free in Linux
CVE-2024-35836
In the Linux kernel, the following vulnerability has been resolved: dpll: fix pin dump crash for rebound module When a kernel module is unbound but the pin resources were not entirely freed (other kernel module instance of the same PCI device have had kept the reference to that pin), and kernel module is again bound, the pin properties would not be updated (the properties are only assigned when memory for the pin is allocated), prop pointer still points to the kernel module memory of the kernel module which was deallocated on the unbind. If the pin dump is invoked in this state, the result is a kernel crash. Prevent the crash by storing persistent pin properties in dpll subsystem, copy the content from the kernel module when pin is allocated, instead of using memory of the kernel module.
Vulnerability class: Use-After-Free
EPSS: 0.002 (9.1th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H.
Affected products
- Linux — versions 9431063ad323ac864750aeba4d304389bc42ca4e, 6.7, 0
- Linux Linux_kernel — versions 6.8
Weakness classification (CWE)
References
Frequently asked questions
- What is CVE-2024-35836?
- CVE-2024-35836 is a medium-severity vulnerability in Linux, classified under Use After Free. CVSS score: 5.5/10. Published 2024-05-17.
- How severe is CVE-2024-35836?
- Medium severity. CVSS v3 base score is 5.5 out of 10.