CVE-2025-40232

Source
https://nvd.nist.gov/vuln/detail/CVE-2025-40232
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-40232.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-40232
Downstream
Published
2025-12-04T15:31:23.026Z
Modified
2025-12-04T20:01:42.997904Z
Summary
rv: Fully convert enabled_monitors to use list_head as iterator
Details

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 list_head *.

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 available_monitors.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/40xxx/CVE-2025-40232.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
de090d1ccae1e191af4beb92964591c6e4f31f28
Fixed
8948a0338d33c4a7ef1e0c439a3ad1d5fe9355ae
Fixed
103541e6a5854b08a25e4caa61e990af1009a52e

Affected versions

v6.*

v6.17
v6.17-rc6
v6.17-rc7
v6.17.1
v6.17.2
v6.17.3
v6.17.4
v6.17.5
v6.18-rc1
v6.18-rc2

Database specific

source

"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-40232.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.17.0
Fixed
6.17.6

Database specific

source

"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-40232.json"