CVE-2025-38653

proc: use the same treatment to check proc_lseek as ones for proc_read_iter et.al

State
Published
Severity
7.8 High
Published
Aug 22, 2025
Updated
Oct 15, 2026
Reserved
Apr 16, 2025

Read the record on cve.org

Description

In the Linux kernel, the following vulnerability has been resolved:

proc: use the same treatment to check proc_lseek as ones for proc_read_iter et.al

Check pde->proc_ops->proc_lseek directly may cause UAF in rmmod scenario. It's a gap in proc_reg_open() after commit 654b33ada4ab("proc: fix UAF in proc_get_inode()"). Followed by AI Viro's suggestion, fix it in same manner.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 3f61631d47f115b83c935d0039f95cb68b0c8ab7 to before c35b0feb80b48720dfbbf4e33759c7be3faaebb6Affected
  • 3f61631d47f115b83c935d0039f95cb68b0c8ab7 to before 33c778ea0bd0fa62ff590497e72562ff90f82b13Affected
  • 3f61631d47f115b83c935d0039f95cb68b0c8ab7 to before fc1072d934f687e1221d685cf1a49a5068318f34Affected
  • 3f61631d47f115b83c935d0039f95cb68b0c8ab7 to before d136502e04d8853a9aecb335d07bbefd7a1519a8Affected
  • 3f61631d47f115b83c935d0039f95cb68b0c8ab7 to before 1fccbfbae1dd36198dc47feac696563244ad81d3Affected
  • 3f61631d47f115b83c935d0039f95cb68b0c8ab7 to before ff7ec8dc1b646296f8d94c39339e8d3833d16c05Affected
LinuxLinux
  • 6.0Affected
  • before 6.0Not affected
  • 6.1.148 through 6.1.*Not affected
  • 6.6.102 through 6.6.*Not affected
  • 6.12.42 through 6.12.*Not affected
  • 6.15.10 through 6.15.*Not affected
  • 6.16.1 through 6.16.*Not affected
  • 6.17 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.