CVE-2025-21967

ksmbd: fix use-after-free in ksmbd_free_work_struct

HIGH
7.8
CVSS Score
Published: April 1, 2025 at 03:47 PM UTC
Updated: August 5, 2026 at 12:44 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
HIGH7.8
Exploit prediction
EPSS 0.4%
SSVC
No known exploit

Description

In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix use-after-free in ksmbd_free_work_struct ->interim_entry of ksmbd_work could be deleted after oplock is freed. We don't need to manage it with linked list. The interim request could be immediately sent whenever a oplock break wait is needed.

Affected

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

5.15 ≤ v < 6.12.205.15 ≤ v < 6.13.85.15 ≤ v < 6.145.15 ≤ v < 6.6.846.13 ≤ v < 6.13.86.7 ≤ v < 6.12.206.14 rc16.14 rc26.14 rc36.14 rc46.14 rc56.14 rc6626e6641f6b467447c81dd7678a69c66f7746cf
Vendor states this is fixed in 62746ae3f5414244a96293e3b017be637b641280 (fixed)
Vendor states this is fixed in bb39ed47065455604729404729d9116868638d31 (fixed)
Vendor states this is fixed in eb51f6f59d19b92f6fe84d3873f958495ab32f0a (fixed)
Vendor states this is fixed in fb776765bfc21d5e4ed03bb3d4406c2b86ff1ac3 (fixed)
Vendor states this is fixed in 5.15 (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)

References (4)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/62746ae3f5414244a96293e3b017be637b641280
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/bb39ed47065455604729404729d9116868638d31
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/eb51f6f59d19b92f6fe84d3873f958495ab32f0a
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/fb776765bfc21d5e4ed03bb3d4406c2b86ff1ac3

SSVC — Action Prioritization

SSVCNo known exploitNot automatableTotal impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

7.8HIGHCISA-ADP
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