File permission alteration via truncated SID
Published Apr 24, 2026 · Updated Apr 24, 2026
Out-of-bounds read in Linux Kernel ksmbd allows remote attackers to alter file permissions via a crafted SMB2 security descriptor. In parse_dacl(), compare_sids() accepts a two-sub-authority S-1-5-88-3 SID as a match, then reads the absent sub_auth[2] four bytes beyond the ACL and masks it into mode bits. A reachable ksmbd SMB share is required; guest-enabled writable shares expose the path without credentials, and the result is constrained permission changes, limited data exposure, or a kernel crash.
Summary
What happened
Out-of-bounds read in Linux Kernel ksmbd allows remote attackers to alter file permissions via a crafted SMB2 security descriptor. In parse_dacl(), compare_sids() accepts a two-sub-authority S-1-5-88-3 SID as a match, then reads the absent sub_auth[2] four bytes beyond the ACL and masks it into mode bits. A reachable ksmbd SMB share is required; guest-enabled writable shares expose the path without credentials, and the result is constrained permission changes, limited data exposure, or a kernel crash.
The record
- CVE
- CVE-2026-31611
- Published
- Apr 24, 2026
- Updated
- Apr 24, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux Kernel
- Classifications
- T1222.002
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Apr 24, 2026CVE publishedPublication date reported by the CVE source.
- Apr 24, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <08f9e6d899b5c834bbcc239eae1bed58d9b15d2c
- Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <46bbcd3ebfb3549c8da1838fc4493e79bd3241e7
- Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <9401f86a224f37b50e6a3ccf1d46a70d5ef8af0a
- Affected versionversion=1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <d2454f4a002d08560a60f214f392e6491cf11560
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo