CVE-2025-38653
proc: use the same treatment to check proc_lseek as ones for proc_read_iter et.al
Reported by linux · Published August 22, 2025
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel-64k-modules-core | errata.rockylinux.org | 5.14.0-687.12.1.el9 |
| kernel-debug-modules-extra | errata.rockylinux.org | 5.14.0-687.12.1.el9 |
| libperf-debuginfo | errata.rockylinux.org | 5.14.0-687.12.1.el9 |
| rtla | errata.rockylinux.org | 5.14.0-687.12.1.el9 |
| kernel-rt-64k-debug-modules-extra | errata.rockylinux.org | 5.14.0-687.12.1.el9 |
| kernel-rt-debug-modules | errata.rockylinux.org | 5.14.0-687.12.1.el9 |
| perf-debuginfo | errata.rockylinux.org | 5.14.0-687.12.1.el9 |
| kernel6.12-headers | Amazon Linux | 1:6.12.46-66.121.amzn2023 |
| kernel-rt-64k-modules | errata.rockylinux.org | 5.14.0-687.12.1.el9 |
| kernel-64k-debug-modules-extra | errata.rockylinux.org | 5.14.0-687.12.1.el9 |
| kernel-abi-stablelists | errata.rockylinux.org | 5.14.0-687.12.1.el9 |
| kernel-modules-extra | Amazon Linux | 1:6.1.148-173.267.amzn2023 |
62 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 3f61631d47f115b83c935d0039f95cb68b0c8ab7, 3f61631d47f115b83c935d0039f95cb68b0c8ab7, 3f61631d47f115b83c935d0039f95cb68b0c8ab7 |
| Linux | Linux | 6.0, 0, 6.1.148 |
| amazon:2023 | kernel6.12-headers | 0 |
| amazon:2023 | kernel-modules-extra | 0 |
| amazon:2023 | kernel6.12-libbpf-devel | 0 |
| amazon:2023 | kernel-headers | 0 |
| amazon:2023 | kernel-modules-extra-common | 0 |
| amazon:2023 | kernel6.12-modules-extra | 0 |
| amazon:2023 | kernel6.12-tools-devel | 0 |
| amazon:2023 | python3-perf | 0 |
| amazon:2023 | kernel-libbpf-devel | 0 |
| amazon:2023 | kernel6.12-devel | 0 |
| amazon:2023 | bpftool | 0 |
| amazon:2023 | kernel6.12-tools | 0 |
| amazon:2023 | kernel-libbpf | 0 |
| amazon:2023 | bpftool6.12 | 0 |
| amazon:2023 | kernel-libbpf-static | 0 |
| amazon:2023 | kernel-tools | 0 |
| amazon:2023 | kernel-devel | 0 |
| amazon:2023 | kernel-livepatch-6.1.148-173.267 | 0 |
…and 12 more
Timeline
- Aug 22, 2025 CVE Published
- Aug 23, 2025 EPSS Score (30 in total, the first dated here)
- Oct 12, 2025 PoC Published (13 in total, the first dated here)
- Mar 29, 2026 Distribution Patch (175 in total, the first dated here)
- Mar 29, 2026 Security Advisory (222 in total, the first dated here)
- Jun 9, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-38653
vulnetix vdb fixes CVE-2025-38653
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-38653/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart