CVE-2025-38437

ksmbd: fix potential use-after-free in oplock/lease break ack

HIGH
7.8
CVSS Score
Published: July 25, 2025 at 03:27 PM UTC
Updated: August 5, 2026 at 12:44 PM UTC
2 products affected across 2 vendorsLinux KernelDebian Linux

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.8
Exploit prediction
EPSS 0.4%

Description

In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix potential use-after-free in oplock/lease break ack If ksmbd_iov_pin_rsp return error, use-after-free can happen by accessing opinfo->state and opinfo_put and ksmbd_fd_put could called twice.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

5.15 ≤ v < 6.1.1465.15 ≤ v < 6.12.395.15 ≤ v < 6.15.75.15 ≤ v < 6.165.15 ≤ v < 6.6.996.13 ≤ v < 6.15.76.2 ≤ v < 6.6.996.7 ≤ v < 6.12.396.16 rc16.16 rc26.16 rc36.16 rc46.16 rc5626e6641f6b467447c81dd7678a69c66f7746cf
Vendor states this is fixed in 50f930db22365738d9387c974416f38a06e8057e (fixed)
Vendor states this is fixed in 8106adc21a2270c16abf69cd74ccd7c79c6e7acd (fixed)
Vendor states this is fixed in 815f1161d6dbc4c54ccf94b7d3fdeab34b4d7477 (fixed)
Vendor states this is fixed in 97c355989928a5f60b228ef5266c1be67a46cdf9 (fixed)
Vendor states this is fixed in e38ec88a2b42c494601b1213816d75f0b54d9bf0 (fixed)
Vendor states this is fixed in 5.15 (unaffected)
Vendor states this is fixed in 6.1.146 (unaffected)
Vendor states this is fixed in 6.12.39 (unaffected)
Vendor states this is fixed in 6.15.7 (unaffected)
Vendor states this is fixed in 6.16 (unaffected)
Vendor states this is fixed in 6.6.99 (unaffected)

References (6)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/50f930db22365738d9387c974416f38a06e8057e
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/8106adc21a2270c16abf69cd74ccd7c79c6e7acd
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/815f1161d6dbc4c54ccf94b7d3fdeab34b4d7477
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/97c355989928a5f60b228ef5266c1be67a46cdf9
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/e38ec88a2b42c494601b1213816d75f0b54d9bf0
Third Party Advisory
Source: af854a3a-2127-422b-91ae-364da2661108
https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-416

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card