What’s Vulnerable › Vulnerabilities
CVE-2025-38653: proc: use the same treatment to check proc_lseek as ones for proc_read_iter et.al
- Severity: high (CVSS 7.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-08-22 · updated 2026-10-15
- Weakness: CWE-416
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
- Debian Linux: 11.0
- Linux kernel: from 6.0 before 6.1.148; from 6.2 before 6.6.102; from 6.7 before 6.12.42; from 6.13 before 6.15.10; from 6.16 before 6.16.1 — fixed in 6.1.148, 6.12.42, 6.15.10, 6.16.1, 6.6.102
How to fix
Upgrade to a fixed version: Linux kernel 6.1.148, 6.12.42, 6.15.10, 6.16.1. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/1fccbfbae1dd36198dc47feac696563244ad81d3
- https://git.kernel.org/stable/c/33c778ea0bd0fa62ff590497e72562ff90f82b13
- https://git.kernel.org/stable/c/c35b0feb80b48720dfbbf4e33759c7be3faaebb6
- https://git.kernel.org/stable/c/d136502e04d8853a9aecb335d07bbefd7a1519a8
- https://git.kernel.org/stable/c/fc1072d934f687e1221d685cf1a49a5068318f34
- https://git.kernel.org/stable/c/ff7ec8dc1b646296f8d94c39339e8d3833d16c05
- https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html
Get alerted when CVE-2025-38653 or the next vulnerability affects your stack