Skip to content
CVE PROGRAM SOURCE RECORD7.8 High

CVE-2025-38653

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

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 3f61631d47f115b83c935d0039f95cb68b0c8ab7 to < c35b0feb80b48720dfbbf4e33759c7be3faaebb6affected
  • 3f61631d47f115b83c935d0039f95cb68b0c8ab7 to < 33c778ea0bd0fa62ff590497e72562ff90f82b13affected
  • 3f61631d47f115b83c935d0039f95cb68b0c8ab7 to < fc1072d934f687e1221d685cf1a49a5068318f34affected
  • 3f61631d47f115b83c935d0039f95cb68b0c8ab7 to < d136502e04d8853a9aecb335d07bbefd7a1519a8affected
  • 3f61631d47f115b83c935d0039f95cb68b0c8ab7 to < 1fccbfbae1dd36198dc47feac696563244ad81d3affected
  • 3f61631d47f115b83c935d0039f95cb68b0c8ab7 to < ff7ec8dc1b646296f8d94c39339e8d3833d16c05affected

Linux Linux

Default version status: affected

  • 6.0affected
  • 0 to < 6.0unaffected
  • 6.1.148 to ≤ 6.1.*unaffected
  • 6.6.102 to ≤ 6.6.*unaffected
  • 6.12.42 to ≤ 6.12.*unaffected
  • 6.15.10 to ≤ 6.15.*unaffected
  • 6.16.1 to ≤ 6.16.*unaffected
  • 6.17 to ≤ *unaffected

References