7.8

CVE-2025-38653

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

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.
Daten sind bereitgestellt durch National Vulnerability Database (NVD)
LinuxLinux Kernel Version >= 6.0 < 6.1.148
LinuxLinux Kernel Version >= 6.2 < 6.6.102
LinuxLinux Kernel Version >= 6.7 < 6.12.42
LinuxLinux Kernel Version >= 6.13 < 6.15.10
LinuxLinux Kernel Version >= 6.16 < 6.16.1
DebianDebian Linux Version11.0
VulnDex Vulnerability Enrichment
Diese Information steht angemeldeten Benutzern zur Verfügung. Login Login
Zu dieser CVE wurde keine Warnung gefunden.
EPSS Metriken
Typ Quelle Score Percentile
EPSS FIRST.org 0.15% 0.048
CVSS Metriken
Quelle Base Score Exploit Score Impact Score Vector String
nvd@nist.gov 7.8 1.8 5.9
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CWE-416 Use After Free

The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory "belongs" to the code that operates on the new pointer.

https://git.kernel.org/stable/c/c35b0feb80b48720dfbbf4e33759c7be3faaebb6
Patch
https://git.kernel.org/stable/c/33c778ea0bd0fa62ff590497e72562ff90f82b13
Patch
https://git.kernel.org/stable/c/fc1072d934f687e1221d685cf1a49a5068318f34
Patch
https://git.kernel.org/stable/c/d136502e04d8853a9aecb335d07bbefd7a1519a8
Patch
https://git.kernel.org/stable/c/1fccbfbae1dd36198dc47feac696563244ad81d3
Patch
https://git.kernel.org/stable/c/ff7ec8dc1b646296f8d94c39339e8d3833d16c05
Patch
https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html
Third Party Advisory