CVE-2025-21955

ksmbd: prevent connection release during oplock break notification

MEDIUM
5.5
CVSS Score
Published: April 1, 2025 at 03:46 PM UTC
Updated: October 30, 2026 at 01:17 PM UTC
1 product affected across 1 vendorLinux Kernel

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
MEDIUM5.5
Exploit prediction
EPSS 0.5%

Description

In the Linux kernel, the following vulnerability has been resolved: ksmbd: prevent connection release during oplock break notification ksmbd_work could be freed when after connection release. Increment r_count of ksmbd_conn to indicate that requests are not finished yet and to not release the connection.

Affected

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

5.15 ≤ v < 6.6.846.13 ≤ v < 6.13.86.7 ≤ v < 6.12.206.146.14 rc16.14 rc26.14 rc36.14 rc46.14 rc56.14 rc6626e6641f6b467447c81dd7678a69c66f7746cf
Vendor states this is fixed in 3aa660c059240e0c795217182cf7df32909dd917 (fixed)
Vendor states this is fixed in 9aeab68033161cb54f194da93e51a11aee6144b (fixed)
Vendor states this is fixed in a4261bbc33fbf99b99c80aa3a2c5097611802980 (fixed)
Vendor states this is fixed in f17d1c63a76b0fe8e9c78023a86507a3a6d62cfa (fixed)
Vendor states this is fixed in 5.15 (unaffected)
Vendor states this is fixed in 6.1.191 (unaffected)
Vendor states this is fixed in 6.12.20 (unaffected)
Vendor states this is fixed in 6.13.8 (unaffected)
Vendor states this is fixed in 6.14 (unaffected)
Vendor states this is fixed in 6.6.84 (unaffected)

CVSS

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

Quick Info

StatusMODIFIED
CWE
NVD-CWE-noinfo

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