CVE-2026-52944
publishedksmbd: fix FSCTL permission bypass by adding a permission check for FSCTL_SET_SPARSE
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxe2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to < ef664475c1bf1a27d45dae6848ca9c9c4d86853f · e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to < 3a9a0a1c38ef90788f5d7c4b29903c8b220f744a · e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to < 3127a884525dc8ca4def73254bfcd3ccef0bf812 · e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to < c5ab11263e3c89aa7989afc5374ef7743e092fd0 · e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to < de9eb0b44fa9123170e6245b49638e0e453c10f8 · e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to < aef151bcfa494bfe983669de2726734b534adb73 · e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to < cc57232cae23c0df91b4a59d0f519141ce9b5b02 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.15 (affected) · 0 to < 5.15 (unaffected · semver) · 5.15.221 through 5.15.* (unaffected · semver) · 6.1.188 through 6.1.* (unaffected · semver) · 6.6.143 through 6.6.* (unaffected · semver) · 6.12.110 through 6.12.* (unaffected · semver) · 6.18.35 through 6.18.* (unaffected · semver) · 7.0.12 through 7.0.* (unaffected · semver) · 7.1 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Debian | bookworm | linux | Advisory build | 6.1.190-1 | DLA-4841-1 |
| Ubuntu | focal | linux-aws-5.15 | Advisory build | 5.15.0-1119.126~20.04.1 | USN-8961-1 |
| Debian | bookworm | linux-6.12 | Advisory build | 6.12.111-1~deb12u1 | DLA-4817-1 |
| Debian | trixie | linux | Advisory build | 6.12.111-1 | DSA-6528-1 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Ubuntu | focal | linux-aws-5.15-cloud-tools-5.15.0-1119 | Advisory build | 5.15.0-1119.126~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-aws-5.15-headers-5.15.0-1119 | Advisory build | 5.15.0-1119.126~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-aws-5.15-tools-5.15.0-1119 | Advisory build | 5.15.0-1119.126~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-azure-5.15 | Advisory build | 5.15.0-1125.134~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-azure-5.15-cloud-tools-5.15.0-1125 | Advisory build | 5.15.0-1125.134~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-azure-5.15-headers-5.15.0-1125 | Advisory build | 5.15.0-1125.134~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-azure-5.15-tools-5.15.0-1125 | Advisory build | 5.15.0-1125.134~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-azure-fde-5.15 | Advisory build | 5.15.0-1124.133~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-azure-fde-5.15-cloud-tools-5.15.0-1124 | Advisory build | 5.15.0-1124.133~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-azure-fde-5.15-headers-5.15.0-1124 | Advisory build | 5.15.0-1124.133~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-azure-fde-5.15-tools-5.15.0-1124 | Advisory build | 5.15.0-1124.133~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-1070-nvidia-tegra | Advisory build | 5.15.0-1070.72~20.04.1 | USN-8963-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-1070-nvidia-tegra-rt | Advisory build | 5.15.0-1070.72~20.04.1 | USN-8963-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-1113-ibm | Advisory build | 5.15.0-1113.117~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-1114-intel-iotg | Advisory build | 5.15.0-1114.120~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-1116-oracle | Advisory build | 5.15.0-1116.122~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-1119-aws | Advisory build | 5.15.0-1119.126~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-1120-gcp | Advisory build | 5.15.0-1120.130~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-1124-azure-fde | Advisory build | 5.15.0-1124.133~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-1125-azure | Advisory build | 5.15.0-1125.134~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-197-lowlatency | Advisory build | 5.15.0-197.207~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-197-lowlatency-64k | Advisory build | 5.15.0-197.207~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-202-generic | Advisory build | 5.15.0-202.212~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-202-generic-64k | Advisory build | 5.15.0-202.212~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-buildinfo-5.15.0-202-generic-lpae | Advisory build | 5.15.0-202.212~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-cloud-tools-5.15.0-1114-intel-iotg | Advisory build | 5.15.0-1114.120~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-cloud-tools-5.15.0-1119-aws | Advisory build | 5.15.0-1119.126~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-cloud-tools-5.15.0-1124-azure-fde | Advisory build | 5.15.0-1124.133~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-cloud-tools-5.15.0-1125-azure | Advisory build | 5.15.0-1125.134~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-cloud-tools-5.15.0-197-lowlatency | Advisory build | 5.15.0-197.207~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-cloud-tools-5.15.0-202-generic | Advisory build | 5.15.0-202.212~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-gcp-5.15 | Advisory build | 5.15.0-1120.130~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-gcp-5.15-headers-5.15.0-1120 | Advisory build | 5.15.0-1120.130~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-gcp-5.15-tools-5.15.0-1120 | Advisory build | 5.15.0-1120.130~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-headers-5.15.0-1070-nvidia-tegra | Advisory build | 5.15.0-1070.72~20.04.1 | USN-8963-1 |
| Ubuntu | focal | linux-headers-5.15.0-1070-nvidia-tegra-rt | Advisory build | 5.15.0-1070.72~20.04.1 | USN-8963-1 |
| Ubuntu | focal | linux-headers-5.15.0-1113-ibm | Advisory build | 5.15.0-1113.117~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-headers-5.15.0-1114-intel-iotg | Advisory build | 5.15.0-1114.120~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-headers-5.15.0-1116-oracle | Advisory build | 5.15.0-1116.122~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-headers-5.15.0-1119-aws | Advisory build | 5.15.0-1119.126~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-headers-5.15.0-1120-gcp | Advisory build | 5.15.0-1120.130~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-headers-5.15.0-1124-azure-fde | Advisory build | 5.15.0-1124.133~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-headers-5.15.0-1125-azure | Advisory build | 5.15.0-1125.134~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-headers-5.15.0-197-lowlatency | Advisory build | 5.15.0-197.207~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-headers-5.15.0-197-lowlatency-64k | Advisory build | 5.15.0-197.207~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-headers-5.15.0-202-generic | Advisory build | 5.15.0-202.212~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-headers-5.15.0-202-generic-64k | Advisory build | 5.15.0-202.212~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-headers-5.15.0-202-generic-lpae | Advisory build | 5.15.0-202.212~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-hwe-5.15 | Advisory build | 5.15.0-202.212~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-hwe-5.15-cloud-tools-5.15.0-202 | Advisory build | 5.15.0-202.212~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-hwe-5.15-headers-5.15.0-202 | Advisory build | 5.15.0-202.212~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-hwe-5.15-tools-5.15.0-202 | Advisory build | 5.15.0-202.212~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-ibm-5.15 | Advisory build | 5.15.0-1113.117~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-ibm-5.15-headers-5.15.0-1113 | Advisory build | 5.15.0-1113.117~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-ibm-5.15-source-5.15.0 | Advisory build | 5.15.0-1113.117~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-ibm-5.15-tools-5.15.0-1113 | Advisory build | 5.15.0-1113.117~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-image-5.15.0-202-generic | Advisory build | 5.15.0-202.212~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-image-5.15.0-202-generic-lpae | Advisory build | 5.15.0-202.212~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-1070-nvidia-tegra | Advisory build | 5.15.0-1070.72~20.04.1 | USN-8963-1 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-1070-nvidia-tegra-rt | Advisory build | 5.15.0-1070.72~20.04.1 | USN-8963-1 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-1113-ibm | Advisory build | 5.15.0-1113.117~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-1114-intel-iotg | Advisory build | 5.15.0-1114.120~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-1116-oracle | Advisory build | 5.15.0-1116.122~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-1119-aws | Advisory build | 5.15.0-1119.126~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-1120-gcp | Advisory build | 5.15.0-1120.130~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-1124-azure-fde | Advisory build | 5.15.0-1124.133~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-1125-azure | Advisory build | 5.15.0-1125.134~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-197-lowlatency | Advisory build | 5.15.0-197.207~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-197-lowlatency-64k | Advisory build | 5.15.0-197.207~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-202-generic | Advisory build | 5.15.0-202.212~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-image-unsigned-5.15.0-202-generic-64k | Advisory build | 5.15.0-202.212~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-intel-iotg-5.15 | Advisory build | 5.15.0-1114.120~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-intel-iotg-5.15-cloud-tools-5.15.0-1114 | Advisory build | 5.15.0-1114.120~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-intel-iotg-5.15-cloud-tools-common | Advisory build | 5.15.0-1114.120~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-intel-iotg-5.15-headers-5.15.0-1114 | Advisory build | 5.15.0-1114.120~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-intel-iotg-5.15-tools-5.15.0-1114 | Advisory build | 5.15.0-1114.120~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-intel-iotg-5.15-tools-common | Advisory build | 5.15.0-1114.120~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-intel-iotg-5.15-tools-host | Advisory build | 5.15.0-1114.120~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-lowlatency-hwe-5.15 | Advisory build | 5.15.0-197.207~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-lowlatency-hwe-5.15-cloud-tools-5.15.0-197 | Advisory build | 5.15.0-197.207~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-lowlatency-hwe-5.15-headers-5.15.0-197 | Advisory build | 5.15.0-197.207~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-lowlatency-hwe-5.15-tools-5.15.0-197 | Advisory build | 5.15.0-197.207~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-modules-5.15.0-1070-nvidia-tegra | Advisory build | 5.15.0-1070.72~20.04.1 | USN-8963-1 |
| Ubuntu | focal | linux-modules-5.15.0-1070-nvidia-tegra-rt | Advisory build | 5.15.0-1070.72~20.04.1 | USN-8963-1 |
| Ubuntu | focal | linux-modules-5.15.0-1113-ibm | Advisory build | 5.15.0-1113.117~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-modules-5.15.0-1114-intel-iotg | Advisory build | 5.15.0-1114.120~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-modules-5.15.0-1116-oracle | Advisory build | 5.15.0-1116.122~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-modules-5.15.0-1119-aws | Advisory build | 5.15.0-1119.126~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-modules-5.15.0-1120-gcp | Advisory build | 5.15.0-1120.130~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-modules-5.15.0-1124-azure-fde | Advisory build | 5.15.0-1124.133~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-modules-5.15.0-1125-azure | Advisory build | 5.15.0-1125.134~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-modules-5.15.0-197-lowlatency | Advisory build | 5.15.0-197.207~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-modules-5.15.0-197-lowlatency-64k | Advisory build | 5.15.0-197.207~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-modules-5.15.0-202-generic | Advisory build | 5.15.0-202.212~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-modules-5.15.0-202-generic-64k | Advisory build | 5.15.0-202.212~20.04.1 | USN-8961-1 |
| Ubuntu | focal | linux-modules-5.15.0-202-generic-lpae | Advisory build | 5.15.0-202.212~20.04.1 | USN-8961-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
In the Linux kernel, the following vulnerability has been resolved: ksmbd: fix FSCTL permission bypass by adding a permission check for FSCTL_SET_SPARSE FSCTL_SET_SPARSE in fsctl_set_sparse() modifies the file's sparse attribute and saves it through xattr without any permission checks. This exposes two issues: 1) A client on a read-only share can change the sparse attribute on files it opened, even though the share is read-only. Other FSCTL write operations already check test_tree_conn_flag(work->tcon, KSMBD_TREE_CONN_FLAG_WRITABLE), but FSCTL_SET_SPARSE does not. 2) Even on writable shares, clients without FILE_WRITE_DATA or FILE_WRITE_ATTRIBUTES access should not modify the sparse attribute. Similar handle-level checks exist in other functions but are missing here. Add both share-level writable check and per-handle access check. Use goto out on error to avoid leaking file references.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to < ef664475c1bf1a27d45dae6848ca9c9c4d86853f (affected · git)e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to < 3a9a0a1c38ef90788f5d7c4b29903c8b220f744a (affected · git)e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to < 3127a884525dc8ca4def73254bfcd3ccef0bf812 (affected · git)e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to < c5ab11263e3c89aa7989afc5374ef7743e092fd0 (affected · git)e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to < de9eb0b44fa9123170e6245b49638e0e453c10f8 (affected · git)e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to < aef151bcfa494bfe983669de2726734b534adb73 (affected · git)e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9 to < cc57232cae23c0df91b4a59d0f519141ce9b5b02 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 5.15 (affected)0 to < 5.15 (unaffected · semver)5.15.221 through 5.15.* (unaffected · semver)6.1.188 through 6.1.* (unaffected · semver)6.6.143 through 6.6.* (unaffected · semver)6.12.110 through 6.12.* (unaffected · semver)6.18.35 through 6.18.* (unaffected · semver)7.0.12 through 7.0.* (unaffected · semver)7.1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
7- https://git.kernel.org/stable/c/3127a884525dc8ca4def73254bfcd3ccef0bf812
- https://git.kernel.org/stable/c/3a9a0a1c38ef90788f5d7c4b29903c8b220f744a
- https://git.kernel.org/stable/c/aef151bcfa494bfe983669de2726734b534adb73
- https://git.kernel.org/stable/c/c5ab11263e3c89aa7989afc5374ef7743e092fd0
- https://git.kernel.org/stable/c/cc57232cae23c0df91b4a59d0f519141ce9b5b02
- https://git.kernel.org/stable/c/de9eb0b44fa9123170e6245b49638e0e453c10f8
- https://git.kernel.org/stable/c/ef664475c1bf1a27d45dae6848ca9c9c4d86853f
Provider assertions
1Linux · cna
ksmbd: fix FSCTL permission bypass by adding a permission check for FSCTL_SET_SPARSE
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- bf48294d9355f5f961b3deae02db74c16daf770b2db60f05ad69399703b30f0c
- Ingested
- 23 Sep 2026, 09:19:36 UTC
- Source record
- Official CVE record