What’s Vulnerable › Vulnerabilities

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

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

Get alerted when CVE-2025-38653 or the next vulnerability affects your stack