CVE-2025-40232: rv: Fully convert enabled_monitors to use list_head as iterator
In the Linux kernel, the following vulnerability has been resolved:
rv: Fully convert enabledmonitors to use listhead as iterator
The callbacks in enabledmonitorsseqops are inconsistent. Some treat the iterator as struct rvmonitor , while others treat the iterator as struct listhead .
This causes a wrong type cast and crashes the system as reported by Nathan.
Convert everything to use struct listhead as iterator. This also makes enabledmonitors consistent with availablemonitors.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2025-40232?
CVE-2025-40232 has been classified with a moderate severity level.
How do I fix CVE-2025-40232?
To fix CVE-2025-40232, update the Linux kernel to the latest patched version provided by your distribution.
What systems are affected by CVE-2025-40232?
CVE-2025-40232 affects various Linux kernel versions, particularly those that implement the enabled_monitors feature.
What type of vulnerability is CVE-2025-40232?
CVE-2025-40232 is a programming error in the Linux kernel's handling of the enabled_monitors iterator.
Is there any exploit code available for CVE-2025-40232?
As of now, there is no publicly available exploit code for CVE-2025-40232.