Skip to content
CVSS 9.1 · CRITICAL

CVE-2026-64392Permission bypass in Linux ksmbd during file deletion

In the Linux kernel, the following vulnerability has been resolved: ksmbd: use opener credentials for delete-on-close Delete-on-close can be completed by deferred or durable handle teardown, where no request work is available. Both the base-file unlink and the ADS xattr removal consequently run with the ksmbd worker credentials and can bypass filesystem permission checks. Run both operations with the credentials captured in struct file when the handle was opened. This preserves the authenticated user's fsuid, fsgid, supplementary groups and capability restrictions at final close.

View on NVD

Analysis

A vulnerability in the Linux kernel's ksmbd (SMB server) allows attackers to bypass filesystem permission checks. When a file is marked for deletion on close, the kernel may use internal worker credentials instead of the user's credentials, potentially allowing unauthorized file deletion.

Relevant roles

LinuxBackendCyberSecurityDockerCloud

Severity

Score: 9.1(CRITICAL)
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
AV: NETWORK
AC: LOW
PR: NONE
UI: NONE
S: UNCHANGED
C: NONE
I: HIGH
A: HIGH

EPSS

Probability of exploitation (next 30 days): 0.0018 (0.2%)
Percentile: 7.4%
EPSS: 2026-07-26

Technical description

In the Linux kernel, the following vulnerability has been resolved: ksmbd: use opener credentials for delete-on-close Delete-on-close can be completed by deferred or durable handle teardown, where no request work is available. Both the base-file unlink and the ADS xattr removal consequently run with the ksmbd worker credentials and can bypass filesystem permission checks. Run both operations with the credentials captured in struct file when the handle was opened. This preserves the authenticated user's fsuid, fsgid, supplementary groups and capability restrictions at final close.

Published: 7/25/2026, 10:17:22 AM
Last modified: 7/27/2026, 5:16:46 AM

References

HomeEventsBlogResourcesCoursesTeam