---
id: CVE-2025-38653
title: >-
  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
summary: >-
  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…
severity: high
cvss: 7.8
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-416
vendor: linux
product: linux_kernel
affected:
  - 'linux_kernel >= 6.0, < 6.1.148'
  - 'linux_kernel >= 6.2, < 6.6.102'
  - 'linux_kernel >= 6.7, < 6.12.42'
  - 'linux_kernel >= 6.13, < 6.15.10'
  - 'linux_kernel >= 6.16, < 6.16.1'
  - debian_linux = 11.0
patched:
  - linux_kernel 6.16.1
published: '2025-08-22'
updated: '2026-10-15'
sourceUpdated: '2026-10-15T22:18:48.283'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-38653'
references:
  - url: 'https://git.kernel.org/stable/c/1fccbfbae1dd36198dc47feac696563244ad81d3'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/33c778ea0bd0fa62ff590497e72562ff90f82b13'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/c35b0feb80b48720dfbbf4e33759c7be3faaebb6'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/d136502e04d8853a9aecb335d07bbefd7a1519a8'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/fc1072d934f687e1221d685cf1a49a5068318f34'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/ff7ec8dc1b646296f8d94c39339e8d3833d16c05'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html'
    label: af854a3a-2127-422b-91ae-364da2661108
tags:
  - nvd
  - cve.org
epss: 0.00177
epssPercentile: 0.07138
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: total
  timestamp: '2026-10-15T21:52:33.974693Z'
ingestedAt: '2026-10-15T22:48:25.516Z'
---

## Overview

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

- `linux_kernel >= 6.0, < 6.1.148`
- `linux_kernel >= 6.2, < 6.6.102`
- `linux_kernel >= 6.7, < 6.12.42`
- `linux_kernel >= 6.13, < 6.15.10`
- `linux_kernel >= 6.16, < 6.16.1`
- `debian_linux = 11.0`

## Remediation

Upgrade past the affected range:

- `linux_kernel 6.16.1`
