CVE-2025-40232 rv: Fully convert enabled_monitors to use list_head as iterator
A type casting error in the Linux kernel's rv subsystem causes a system crash, leading to denial of service for local attackers.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-40232?
CVE-2025-40232 is a vulnerability in Linux, published on 4 Dec 2025. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
In the Linux kernel, the following vulnerability has been resolved:
rv: Fully convert enabled_monitors to use list_head as iterator
The callbacks in enabled_monitors_seq_ops are inconsistent. Some treat the iterator as struct rv_monitor *, while others treat the iterator as struct list_head *.
This causes a wrong type cast and crashes the system as reported by Nathan.
Convert everything to use struct list_head * as iterator. This also makes enabled_monitors consistent with available_monitors.
Which versions are affected by CVE-2025-40232?
How do I fix CVE-2025-40232?
Apply the vendor's patch.
Is CVE-2025-40232 being exploited?
There is no known exploitation of CVE-2025-40232 in the wild and no public exploit code.
Sources
Also known as BELL-CVE-2025-40232, GHSA-rxcq-c8g5-8g6j, UBUNTU-CVE-2025-40232, USN-7920-1, USN-7920-2.