VDB

CVE-2026-97555

CVE-2026-97555 PUBLISHED CVSS 8.8 HIGH

smb: client: fix heap overflow in DACL owner/group rewrite

Reported by linux · Published September 25, 2026

In the Linux kernel, the following vulnerability has been resolved: smb: client: fix heap overflow in DACL owner/group rewrite When id_mode_to_cifs_acl rewrites an existing DACL, it allocates a buffer sized according to the on-disk DACL length reported by dacl_ptr->size. However, replace_sids_and_copy_aces may rewrite each ACE with a new owner/group SID obtained from the cifs.idmap upcall. Those SIDs can have up to SID_MAX_SUB_AUTHORITIES (15) sub-authorities, making each ACE up to 76 bytes (sizeof(struct smb_ace)). If the original DACL contains short SIDs (e.g., 1 sub-authority) while the replacement SIDs are long, the rewritten ACEs overflow the allocation. Fix this by always budgeting for worst-case SID expansion: allocate sizeof(struct smb_acl) plus num_aces * sizeof(struct smb_ace), which covers the smb_acl header and room for every ACE at maximum SID size. This replaces the previous split logic that used dacl_ptr->size for cifsacl mounts but num_aces * sizeof(struct smb_ace) for mode_from_sid mounts: both paths can trigger the same rewrite and need the same headroom. KASAN reports this as: BUG: KASAN: slab-out-of-bounds in build_sec_desc+0x1e8a/0x2680 [cifs] Write of size 4 at addr ffff8881a5e25374 by task chown/5298 ... The buggy address is located 0 bytes to the right of allocated 884-byte region [ffff8881a5e25000, ffff8881a5e25374)

EPSS 0.67% · 53.1th percentile

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel-headersAmazon Linux1:6.1.174-217.345.amzn2023
kernel-modules-extra-commonAmazon Linux1:6.1.174-217.345.amzn2023
kernel6.12-develAmazon Linux1:6.12.111-136.204.amzn2023
kernel-livepatch-6.12.111-136.204Amazon Linux1:1.0-0.amzn2023
kernel-livepatch-6.18.54-121.166Amazon Linux1:1.0-0.amzn2023
LinuxLinuxfb736ab4fb8c4fdb8b2f9ccd3a62e03d11549ca1, d5cea6766ae1868a51c7d17d77d065b4f55c587f, 7fa84c9ca690643f429ae2709584a47e74b572c9, 63c2fbde15ffc9a0c21adf670c38d028e20fa65c, 5.12, 4e78b5ff13214353750b87283ff79f62510f5844, 2a9aee9ef5622d58d8aafaa3263b3ffe70e2d9dd, 0ee150794c75bcd0be0e24ff3394f433cbae18cc

Risk scores

CVSS 3.1
8.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS Score
0.67%
53.1th percentile

Affected products

VendorProductVersions
LinuxLinuxbc3e9dd9d104ca1b75644eab87b38ce8a924aef4, bc3e9dd9d104ca1b75644eab87b38ce8a924aef4, bc3e9dd9d104ca1b75644eab87b38ce8a924aef4
LinuxLinux5.12, 0, 5.15.224
amazon:2023kernel-headers0
amazon:2023kernel-modules-extra-common0
amazon:2023kernel6.12-devel0
amazon:2023kernel-livepatch-6.12.111-136.2040
amazon:2023kernel-livepatch-6.18.54-121.1660
LinuxLinux6.12.111, 6.6.158, *
amazon:2023kernel6.12-modules-extra-common0
amazon:2023python3-perf6.120
amazon:2023kernel6.12-tools0
amazon:2023kernel-devel0
amazon:2023kernel6.12-tools-devel0
amazon:2023bpftool6.180
amazon:2023perf6.180
amazon:2023bpftool0
amazon:2023bpftool6.120
amazon:2023kernel-livepatch-6.1.174-217.3450
amazon:2023kernel6.180
amazon:2023kernel6.18-modules-extra-common0

…and 18 more

Timeline

  • Sep 25, 2026 Coalition ESS Score
  • Sep 25, 2026 CVE Published
  • Sep 26, 2026 EPSS Score (21 in total, the first dated here)
  • Oct 30, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-97555
vulnetix vdb fixes CVE-2026-97555

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-97555/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›