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

Published Aug 22, 2025
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

proc: use the same treatment to check proclseek as ones for procreaditer et.al

Check pde->procops->proclseek directly may cause UAF in rmmod scenario. It's a gap in procregopen() after commit 654b33ada4ab("proc: fix UAF in procgetinode()"). Followed by AI Viro's suggestion, fix it in same manner.

Affected Software

7 affected components
Linux Linux kernel
Linux Linux kernel>=6.0<6.1.148
Linux Linux kernel>=6.2<6.6.102
Linux Linux kernel>=6.7<6.12.42
Linux Linux kernel>=6.13<6.15.10
Linux Linux kernel>=6.16<6.16.1
Debian Debian Linux=11.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Linux kernel to a version that resolves this vulnerability.

    Patch commit 654b33ada4ab

Event History

Aug 22, 2025
CVE Published
via MITRE·04:00 PM
Data Sourced
via MITRE·04:00 PM
DescriptionSeverity
Data Sourced
via NVD·04:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Data Sourced
via Red Hat·05:03 PM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2025-38653?

CVE-2025-38653 has a medium severity level due to its potential to cause a use-after-free condition during module removal.

2

How do I fix CVE-2025-38653?

To fix CVE-2025-38653, you should update your Linux kernel to the latest stable release that includes the vulnerability patch.

3

What systems are affected by CVE-2025-38653?

CVE-2025-38653 affects the Linux kernel across various distributions that utilize this code.

4

What vulnerabilities does CVE-2025-38653 expose?

CVE-2025-38653 exposes a vulnerability that could lead to a use-after-free condition in the Linux kernel PROC file system.

5

What are the potential impacts of CVE-2025-38653?

The potential impacts of CVE-2025-38653 include system crashes or exploitation which could lead to unauthorized access or execution of arbitrary code.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203