CVE-2025-40232

rv: Fully convert enabled_monitors to use list_head as iterator

State
Published
Severity
Not scored
Published
Dec 4, 2025
Updated
May 11, 2026
Reserved
Apr 16, 2025

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • de090d1ccae1e191af4beb92964591c6e4f31f28 to before 8948a0338d33c4a7ef1e0c439a3ad1d5fe9355aeAffected
  • de090d1ccae1e191af4beb92964591c6e4f31f28 to before 103541e6a5854b08a25e4caa61e990af1009a52eAffected
LinuxLinux
  • 6.17Affected
  • before 6.17Not affected
  • 6.17.6 through 6.17.*Not affected
  • 6.18 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.