CVE-2024-35836: dpll: fix pin dump crash for rebound module
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.
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2024-35836?
CVE-2024-35836 has a medium severity rating due to its potential to cause a kernel module crash.
How do I fix CVE-2024-35836?
To fix CVE-2024-35836, update your Linux kernel to the latest stable version that includes the patch.
What systems are affected by CVE-2024-35836?
CVE-2024-35836 affects Linux kernel versions that utilize the dpll pin resources in kernel modules.
Is CVE-2024-35836 exploitable?
CVE-2024-35836 is not directly exploitable but can lead to a denial of service when dealing with unbound kernel modules.
When was CVE-2024-35836 resolved?
CVE-2024-35836 was resolved with a patch released in early 2024.