CVE-2026-97559
publishedsmb: client: fail DACL rewrite when the new DACL exceeds 64K
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxf5065508897a922327f32223082325d10b069ebc to < f033d6e5aadf3e8c6a12873110557ed40cd71388 · f5065508897a922327f32223082325d10b069ebc to < 284877c6189fda1ac3d81771dd8482660a0c7dc1 · f5065508897a922327f32223082325d10b069ebc to < d433376abc47e10870ae732f89c7c1a60b199a0c · f5065508897a922327f32223082325d10b069ebc to < 2ef532a01f44687f5b95001e88247cf05bff9892 · f5065508897a922327f32223082325d10b069ebc to < ee13d687d06a6fbb2008625dd560c654231b28e0 · f5065508897a922327f32223082325d10b069ebc to < d05045177a855386bca5e1909e08d06290e6e3b3 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.12 (affected) · 0 to < 5.12 (unaffected · semver) · 6.1.191 through 6.1.* (unaffected · semver) · 6.6.160 through 6.6.* (unaffected · semver) · 6.12.112 through 6.12.* (unaffected · semver) · 6.18.53 through 6.18.* (unaffected · semver) · 7.2.7 through 7.2.* (unaffected · semver) · 7.3 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Pending Fix; Not Affected | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Pending Fix | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-3192 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-3335 | Fixed | Not stated | Amazon Linux assessment |
| Debian | bookworm | linux | Advisory build | 6.1.192-1 | DLA-4906-1 |
| Oracle Linux | 10 | kernel-uekaarch64 | Advisory build | 0:6.12.0-208.112.5.el10uek | ELSA-2026-500572 |
Show 98 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Debian | bookworm | linux-6.12 | Advisory build | 6.12.113-1~deb12u1 | DLA-4850-1 |
| Debian | trixie | linux | Advisory build | 6.12.113-1 | DSA-6568-1 |
| Oracle Linux | 10 | kernel-uekx86_64 | Advisory build | 0:6.12.0-208.112.5.el10uek | ELSA-2026-500572 |
| Oracle Linux | 10 | kernel-uek-coreaarch64 | Advisory build | 0:6.12.0-208.112.5.el10uek | ELSA-2026-500572 |
| Oracle Linux | 10 | kernel-uek-corex86_64 | Advisory build | 0:6.12.0-208.112.5.el10uek | ELSA-2026-500572 |
| Oracle Linux | 10 | kernel-uek-debugaarch64 | Advisory build | 0:6.12.0-208.112.5.el10uek | ELSA-2026-500572 |
| Oracle Linux | 10 | kernel-uek-debugx86_64 | Advisory build | 0:6.12.0-208.112.5.el10uek | ELSA-2026-500572 |
| Oracle Linux | 10 | kernel-uek-debug-coreaarch64 | Advisory build | 0:6.12.0-208.112.5.el10uek | ELSA-2026-500572 |
| Oracle Linux | 10 | kernel-uek-debug-corex86_64 | Advisory build | 0:6.12.0-208.112.5.el10uek | ELSA-2026-500572 |
| Oracle Linux | 10 | kernel-uek-debug-develaarch64 | Advisory build | 0:6.12.0-208.112.5.el10uek | ELSA-2026-500572 |
| Oracle Linux | 10 | kernel-uek-debug-develx86_64 | Advisory build | 0:6.12.0-208.112.5.el10uek | ELSA-2026-500572 |
| Oracle Linux | 10 | kernel-uek-debug-modulesaarch64 | Advisory build | 0:6.12.0-208.112.5.el10uek | ELSA-2026-500572 |
| Oracle Linux | 10 | kernel-uek-debug-modulesx86_64 | Advisory build | 0:6.12.0-208.112.5.el10uek | ELSA-2026-500572 |
| Oracle Linux | 10 | kernel-uek-debug-modules-coreaarch64 | Advisory build | 0:6.12.0-208.112.5.el10uek | ELSA-2026-500572 |
| Oracle Linux | 10 | kernel-uek-debug-modules-corex86_64 | Advisory build | 0:6.12.0-208.112.5.el10uek | ELSA-2026-500572 |
| Oracle Linux | 10 | kernel-uek-debug-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-208.112.5.el10uek | ELSA-2026-500572 |
| Oracle Linux | 10 | kernel-uek-debug-modules-deprecatedx86_64 | Advisory build | 0:6.12.0-208.112.5.el10uek | ELSA-2026-500572 |
| Oracle Linux | 10 | kernel-uek-debug-modules-desktopaarch64 | Advisory build | 0:6.12.0-208.112.5.el10uek | ELSA-2026-500572 |
| Oracle Linux | 10 | kernel-uek-debug-modules-desktopx86_64 | Advisory build | 0:6.12.0-208.112.5.el10uek | ELSA-2026-500572 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extraaarch64 | Advisory build | 0:6.12.0-208.112.5.el10uek | ELSA-2026-500572 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extrax86_64 | Advisory build | 0:6.12.0-208.112.5.el10uek | ELSA-2026-500572 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extra-netfilteraarch64 | Advisory build | 0:6.12.0-208.112.5.el10uek | ELSA-2026-500572 |
| Oracle Linux | 10 | kernel-uek-debug-modules-extra-netfilterx86_64 | Advisory build | 0:6.12.0-208.112.5.el10uek | ELSA-2026-500572 |
| Oracle Linux | 10 | kernel-uek-debug-modules-usbaarch64 | Advisory build | 0:6.12.0-208.112.5.el10uek | ELSA-2026-500572 |
| Oracle Linux | 10 | kernel-uek-debug-modules-usbx86_64 | Advisory build | 0:6.12.0-208.112.5.el10uek | ELSA-2026-500572 |
| Oracle Linux | 10 | kernel-uek-debug-modules-wirelessaarch64 | Advisory build | 0:6.12.0-208.112.5.el10uek | ELSA-2026-500572 |
| Oracle Linux | 10 | kernel-uek-debug-modules-wirelessx86_64 | Advisory build | 0:6.12.0-208.112.5.el10uek | ELSA-2026-500572 |
| Oracle Linux | 10 | kernel-uek-develaarch64 | Advisory build | 0:6.12.0-208.112.5.el10uek | ELSA-2026-500572 |
| Oracle Linux | 10 | kernel-uek-develx86_64 | Advisory build | 0:6.12.0-208.112.5.el10uek | ELSA-2026-500572 |
| Oracle Linux | 10 | kernel-uek-docaarch64 | Advisory build | 0:6.12.0-208.112.5.el10uek | ELSA-2026-500572 |
| Oracle Linux | 10 | kernel-uek-docx86_64 | Advisory build | 0:6.12.0-208.112.5.el10uek | ELSA-2026-500572 |
| Oracle Linux | 10 | kernel-uek-modulesaarch64 | Advisory build | 0:6.12.0-208.112.5.el10uek | ELSA-2026-500572 |
| Oracle Linux | 10 | kernel-uek-modulesx86_64 | Advisory build | 0:6.12.0-208.112.5.el10uek | ELSA-2026-500572 |
| Oracle Linux | 10 | kernel-uek-modules-coreaarch64 | Advisory build | 0:6.12.0-208.112.5.el10uek | ELSA-2026-500572 |
| Oracle Linux | 10 | kernel-uek-modules-corex86_64 | Advisory build | 0:6.12.0-208.112.5.el10uek | ELSA-2026-500572 |
| Oracle Linux | 10 | kernel-uek-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-208.112.5.el10uek | ELSA-2026-500572 |
| Oracle Linux | 10 | kernel-uek-modules-deprecatedx86_64 | Advisory build | 0:6.12.0-208.112.5.el10uek | ELSA-2026-500572 |
| Oracle Linux | 10 | kernel-uek-modules-desktopaarch64 | Advisory build | 0:6.12.0-208.112.5.el10uek | ELSA-2026-500572 |
| Oracle Linux | 10 | kernel-uek-modules-desktopx86_64 | Advisory build | 0:6.12.0-208.112.5.el10uek | ELSA-2026-500572 |
| Oracle Linux | 10 | kernel-uek-modules-extraaarch64 | Advisory build | 0:6.12.0-208.112.5.el10uek | ELSA-2026-500572 |
| Oracle Linux | 10 | kernel-uek-modules-extrax86_64 | Advisory build | 0:6.12.0-208.112.5.el10uek | ELSA-2026-500572 |
| Oracle Linux | 10 | kernel-uek-modules-extra-netfilteraarch64 | Advisory build | 0:6.12.0-208.112.5.el10uek | ELSA-2026-500572 |
| Oracle Linux | 10 | kernel-uek-modules-extra-netfilterx86_64 | Advisory build | 0:6.12.0-208.112.5.el10uek | ELSA-2026-500572 |
| Oracle Linux | 10 | kernel-uek-modules-usbaarch64 | Advisory build | 0:6.12.0-208.112.5.el10uek | ELSA-2026-500572 |
| Oracle Linux | 10 | kernel-uek-modules-usbx86_64 | Advisory build | 0:6.12.0-208.112.5.el10uek | ELSA-2026-500572 |
| Oracle Linux | 10 | kernel-uek-modules-wirelessaarch64 | Advisory build | 0:6.12.0-208.112.5.el10uek | ELSA-2026-500572 |
| Oracle Linux | 10 | kernel-uek-modules-wirelessx86_64 | Advisory build | 0:6.12.0-208.112.5.el10uek | ELSA-2026-500572 |
| Oracle Linux | 10 | kernel-uek-toolsaarch64 | Advisory build | 0:6.12.0-208.112.5.el10uek | ELSA-2026-500572 |
| Oracle Linux | 10 | kernel-uek-toolsx86_64 | Advisory build | 0:6.12.0-208.112.5.el10uek | ELSA-2026-500572 |
| Oracle Linux | 10 | kernel-uek64kaarch64 | Advisory build | 0:6.12.0-208.112.5.el10uek | ELSA-2026-500572 |
| Oracle Linux | 10 | kernel-uek64k-coreaarch64 | Advisory build | 0:6.12.0-208.112.5.el10uek | ELSA-2026-500572 |
| Oracle Linux | 10 | kernel-uek64k-develaarch64 | Advisory build | 0:6.12.0-208.112.5.el10uek | ELSA-2026-500572 |
| Oracle Linux | 10 | kernel-uek64k-modulesaarch64 | Advisory build | 0:6.12.0-208.112.5.el10uek | ELSA-2026-500572 |
| Oracle Linux | 10 | kernel-uek64k-modules-coreaarch64 | Advisory build | 0:6.12.0-208.112.5.el10uek | ELSA-2026-500572 |
| Oracle Linux | 10 | kernel-uek64k-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-208.112.5.el10uek | ELSA-2026-500572 |
| Oracle Linux | 10 | kernel-uek64k-modules-desktopaarch64 | Advisory build | 0:6.12.0-208.112.5.el10uek | ELSA-2026-500572 |
| Oracle Linux | 10 | kernel-uek64k-modules-extraaarch64 | Advisory build | 0:6.12.0-208.112.5.el10uek | ELSA-2026-500572 |
| Oracle Linux | 10 | kernel-uek64k-modules-extra-netfilteraarch64 | Advisory build | 0:6.12.0-208.112.5.el10uek | ELSA-2026-500572 |
| Oracle Linux | 10 | kernel-uek64k-modules-usbaarch64 | Advisory build | 0:6.12.0-208.112.5.el10uek | ELSA-2026-500572 |
| Oracle Linux | 10 | kernel-uek64k-modules-wirelessaarch64 | Advisory build | 0:6.12.0-208.112.5.el10uek | ELSA-2026-500572 |
| Oracle Linux | 9 | kernel-uekaarch64 | Advisory build | 0:6.12.0-208.112.5.el9uek | ELSA-2026-500572 |
| Oracle Linux | 9 | kernel-uekx86_64 | Advisory build | 0:6.12.0-208.112.5.el9uek | ELSA-2026-500572 |
| Oracle Linux | 9 | kernel-uek-coreaarch64 | Advisory build | 0:6.12.0-208.112.5.el9uek | ELSA-2026-500572 |
| Oracle Linux | 9 | kernel-uek-corex86_64 | Advisory build | 0:6.12.0-208.112.5.el9uek | ELSA-2026-500572 |
| Oracle Linux | 9 | kernel-uek-debugaarch64 | Advisory build | 0:6.12.0-208.112.5.el9uek | ELSA-2026-500572 |
| Oracle Linux | 9 | kernel-uek-debugx86_64 | Advisory build | 0:6.12.0-208.112.5.el9uek | ELSA-2026-500572 |
| Oracle Linux | 9 | kernel-uek-debug-coreaarch64 | Advisory build | 0:6.12.0-208.112.5.el9uek | ELSA-2026-500572 |
| Oracle Linux | 9 | kernel-uek-debug-corex86_64 | Advisory build | 0:6.12.0-208.112.5.el9uek | ELSA-2026-500572 |
| Oracle Linux | 9 | kernel-uek-debug-develaarch64 | Advisory build | 0:6.12.0-208.112.5.el9uek | ELSA-2026-500572 |
| Oracle Linux | 9 | kernel-uek-debug-develx86_64 | Advisory build | 0:6.12.0-208.112.5.el9uek | ELSA-2026-500572 |
| Oracle Linux | 9 | kernel-uek-debug-modulesaarch64 | Advisory build | 0:6.12.0-208.112.5.el9uek | ELSA-2026-500572 |
| Oracle Linux | 9 | kernel-uek-debug-modulesx86_64 | Advisory build | 0:6.12.0-208.112.5.el9uek | ELSA-2026-500572 |
| Oracle Linux | 9 | kernel-uek-debug-modules-coreaarch64 | Advisory build | 0:6.12.0-208.112.5.el9uek | ELSA-2026-500572 |
| Oracle Linux | 9 | kernel-uek-debug-modules-corex86_64 | Advisory build | 0:6.12.0-208.112.5.el9uek | ELSA-2026-500572 |
| Oracle Linux | 9 | kernel-uek-debug-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-208.112.5.el9uek | ELSA-2026-500572 |
| Oracle Linux | 9 | kernel-uek-debug-modules-deprecatedx86_64 | Advisory build | 0:6.12.0-208.112.5.el9uek | ELSA-2026-500572 |
| Oracle Linux | 9 | kernel-uek-debug-modules-desktopaarch64 | Advisory build | 0:6.12.0-208.112.5.el9uek | ELSA-2026-500572 |
| Oracle Linux | 9 | kernel-uek-debug-modules-desktopx86_64 | Advisory build | 0:6.12.0-208.112.5.el9uek | ELSA-2026-500572 |
| Oracle Linux | 9 | kernel-uek-debug-modules-extraaarch64 | Advisory build | 0:6.12.0-208.112.5.el9uek | ELSA-2026-500572 |
| Oracle Linux | 9 | kernel-uek-debug-modules-extrax86_64 | Advisory build | 0:6.12.0-208.112.5.el9uek | ELSA-2026-500572 |
| Oracle Linux | 9 | kernel-uek-debug-modules-extra-netfilteraarch64 | Advisory build | 0:6.12.0-208.112.5.el9uek | ELSA-2026-500572 |
| Oracle Linux | 9 | kernel-uek-debug-modules-extra-netfilterx86_64 | Advisory build | 0:6.12.0-208.112.5.el9uek | ELSA-2026-500572 |
| Oracle Linux | 9 | kernel-uek-debug-modules-usbaarch64 | Advisory build | 0:6.12.0-208.112.5.el9uek | ELSA-2026-500572 |
| Oracle Linux | 9 | kernel-uek-debug-modules-usbx86_64 | Advisory build | 0:6.12.0-208.112.5.el9uek | ELSA-2026-500572 |
| Oracle Linux | 9 | kernel-uek-debug-modules-wirelessaarch64 | Advisory build | 0:6.12.0-208.112.5.el9uek | ELSA-2026-500572 |
| Oracle Linux | 9 | kernel-uek-debug-modules-wirelessx86_64 | Advisory build | 0:6.12.0-208.112.5.el9uek | ELSA-2026-500572 |
| Oracle Linux | 9 | kernel-uek-develaarch64 | Advisory build | 0:6.12.0-208.112.5.el9uek | ELSA-2026-500572 |
| Oracle Linux | 9 | kernel-uek-develx86_64 | Advisory build | 0:6.12.0-208.112.5.el9uek | ELSA-2026-500572 |
| Oracle Linux | 9 | kernel-uek-docaarch64 | Advisory build | 0:6.12.0-208.112.5.el9uek | ELSA-2026-500572 |
| Oracle Linux | 9 | kernel-uek-docx86_64 | Advisory build | 0:6.12.0-208.112.5.el9uek | ELSA-2026-500572 |
| Oracle Linux | 9 | kernel-uek-modulesaarch64 | Advisory build | 0:6.12.0-208.112.5.el9uek | ELSA-2026-500572 |
| Oracle Linux | 9 | kernel-uek-modulesx86_64 | Advisory build | 0:6.12.0-208.112.5.el9uek | ELSA-2026-500572 |
| Oracle Linux | 9 | kernel-uek-modules-coreaarch64 | Advisory build | 0:6.12.0-208.112.5.el9uek | ELSA-2026-500572 |
| Oracle Linux | 9 | kernel-uek-modules-corex86_64 | Advisory build | 0:6.12.0-208.112.5.el9uek | ELSA-2026-500572 |
| Oracle Linux | 9 | kernel-uek-modules-deprecatedaarch64 | Advisory build | 0:6.12.0-208.112.5.el9uek | ELSA-2026-500572 |
| Oracle Linux | 9 | kernel-uek-modules-deprecatedx86_64 | Advisory build | 0:6.12.0-208.112.5.el9uek | ELSA-2026-500572 |
| Oracle Linux | 9 | kernel-uek-modules-desktopaarch64 | Advisory build | 0:6.12.0-208.112.5.el9uek | ELSA-2026-500572 |
| Oracle Linux | 9 | kernel-uek-modules-desktopx86_64 | Advisory build | 0:6.12.0-208.112.5.el9uek | ELSA-2026-500572 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
In the Linux kernel, the following vulnerability has been resolved: smb: client: fail DACL rewrite when the new DACL exceeds 64K replace_sids_and_copy_aces() and set_chmod_dacl() accumulate the size of the DACL they build in a u16. That accumulator can wrap. validate_dacl() caps num_aces at (dacl_size - sizeof(struct smb_acl)) / 20, i.e. 3276 for a maximally sized DACL, while each rewritten ACE can grow to sizeof(struct smb_ace) (76 bytes) once its SID is replaced with one carrying SID_MAX_SUB_AUTHORITIES sub-authorities. The worst case is therefore sizeof(struct smb_acl) + 3276 * 76 = 248984 bytes, far beyond what a u16 can hold. A wraparound is reached with 863 ACEs. After the wraparound, ndacl_ptr->size becomes meaningless and the offset will point anywhere in the ACE array. As a result, we will see corruption of the DACL, which then gets sent to the server. This is not an out-of-bounds write as the allocation now covers the worst-case expansion, so writes will always go into the buffer. Adjust the code to use a u32 internally and return -EOVERFLOW in the overflow case. The operation must be refused, because a DACL can only hold 2^16-1 bytes on the wire and larger DACLs cannot be represented. set_chmod_dacl() carries the same pattern and is fixed the same way. It only wraps once the source DACL comes within roughly 380 bytes of the 64K ceiling, but the failure mode is identical.
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 | f5065508897a922327f32223082325d10b069ebc to < f033d6e5aadf3e8c6a12873110557ed40cd71388 (affected · git)f5065508897a922327f32223082325d10b069ebc to < 284877c6189fda1ac3d81771dd8482660a0c7dc1 (affected · git)f5065508897a922327f32223082325d10b069ebc to < d433376abc47e10870ae732f89c7c1a60b199a0c (affected · git)f5065508897a922327f32223082325d10b069ebc to < 2ef532a01f44687f5b95001e88247cf05bff9892 (affected · git)f5065508897a922327f32223082325d10b069ebc to < ee13d687d06a6fbb2008625dd560c654231b28e0 (affected · git)f5065508897a922327f32223082325d10b069ebc to < d05045177a855386bca5e1909e08d06290e6e3b3 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 5.12 (affected)0 to < 5.12 (unaffected · semver)6.1.191 through 6.1.* (unaffected · semver)6.6.160 through 6.6.* (unaffected · semver)6.12.112 through 6.12.* (unaffected · semver)6.18.53 through 6.18.* (unaffected · semver)7.2.7 through 7.2.* (unaffected · semver)7.3 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
6- https://git.kernel.org/stable/c/284877c6189fda1ac3d81771dd8482660a0c7dc1
- https://git.kernel.org/stable/c/2ef532a01f44687f5b95001e88247cf05bff9892
- https://git.kernel.org/stable/c/d05045177a855386bca5e1909e08d06290e6e3b3
- https://git.kernel.org/stable/c/d433376abc47e10870ae732f89c7c1a60b199a0c
- https://git.kernel.org/stable/c/ee13d687d06a6fbb2008625dd560c654231b28e0
- https://git.kernel.org/stable/c/f033d6e5aadf3e8c6a12873110557ed40cd71388
Provider assertions
1Linux · cna
smb: client: fail DACL rewrite when the new DACL exceeds 64K
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- d9ec320b564a9e7c921f3166135d8eeb0cfaa7751c768278421a7da8059f137a
- Ingested
- 30 Oct 2026, 12:44:26 UTC
- Source record
- Official CVE record