Public mode

No access to your tenant or devices. Every item links to its source. What this means

Sources need attention Customize Public modeDiscuss ChangeIntel on Discord

ksmbd: restore DACL size on check_add_overflow() to avoid malformed ACL

cve-program · severity unknownCVSS unknownCheck source for fixed versionsKEV status unknown

cve-program · CVE-2026-68099

Published

In the Linux kernel, the following vulnerability has been resolved: ksmbd: restore DACL size on check_add_overflow() to avoid malformed ACL check_add_overflow() unconditionally writes the truncated sum into *d even on overflow, per its contract in include/linux/overflow.h. The four check_add_overflow() guards in set_posix_acl_entries_dacl() and set_ntacl_dacl() break out of the ACE-building loops on overflow, but the truncated *size is then consumed downstream at the end of set_ntacl_dacl(): pndacl->size = cpu_to_le16(le16_to_cpu(pndacl->size) + size); This produces an on-wire NT ACL whose pndacl->size under-reports the bytes actually written by the preceding fill_ace_for_sid()/memcpy() calls, yielding a malformed ACL that can trigger out-of-bounds reads when re-parsed by clients or ksmbd itself. Restore *size to its pre-addition value on each overflow branch (via `*size -= ace_sz` / `size -= nt_ace_size`) so that after the break, *size once again holds the cumulative size of the successfully-written ACEs. The committed ACL is then truncated-but-self-consistent rather than malformed. The ksmbd DACL builders are the only check_add_overflow() sites found where an overflow path breaks out of a loop and the destination value is consumed afterward. The other nearby break-style cases either return -EINVAL on overflow (transport_ipc.c) or break without consuming the overflowed destination value afterward (buildid.c).

Read the publisher's advisory

Affected versions, risk and source history

cve-program · CVE-2026-68099

Published

Linux

Vendor product

Publisher's version information

Shown as published. These rules are not interpreted as NuGet package version ranges.

{
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "fs/smb/server/smbacl.c"
                    ],
                    "versions": [
                        {
                            "version": "41e53a773db6342ac9a689ee5ba635c31744c9f0",
                            "lessThan": "8f3a7a499a7d9bb1c0f33fe78c4a4594d7e307f4",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "8d5729350b236896f51379588d9a690b7fafb8db",
                            "lessThan": "f4fcd0c1a243d449307b887fafee23921e9db5ab",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "e1955a94b6f17f4b058afa955a6f187eb3ed7615",
                            "lessThan": "0bf38372821b1526f31538a7d9811844c55c7f38",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "5e7b8f3c539d69b2ed5f2408e2f75e68ce7eef43",
                            "lessThan": "847ecd4eb3c117c3d2f13f1e7ab506543aad8183",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "299f962c0b02d048fb45d248b4da493d03f3175d",
                            "lessThan": "bc90144ce8bb7fcf05ad9417c7adb4e9509d9e13",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "299f962c0b02d048fb45d248b4da493d03f3175d",
                            "lessThan": "bbf0a8e931204ecdab494a88d43b0a24a04285c5",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "ef7902be3f215b6bf7babe4dc9dd9a7d57dad7a7",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "6.1.175",
                            "lessThan": "6.1.184",
                            "status": "affected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.6.136",
                            "lessThan": "6.6.148",
                            "status": "affected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.12.84",
                            "lessThan": "6.12.101",
                            "status": "affected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.18.25",
                            "lessThan": "6.18.42",
                            "status": "affected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.0.2",
                            "lessThan": "7.1",
                            "status": "affected",
                            "versionType": "semver"
                        }
                    ]
                }

Linux

Vendor product

Publisher's version information

Shown as published. These rules are not interpreted as NuGet package version ranges.

{
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "fs/smb/server/smbacl.c"
                    ],
                    "versions": [
                        {
                            "version": "7.1",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "7.1",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.1.184",
                            "lessThanOrEqual": "6.1.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.6.148",
                            "lessThanOrEqual": "6.6.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.12.101",
                            "lessThanOrEqual": "6.12.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.18.42",
                            "lessThanOrEqual": "6.18.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.1.6",
                            "lessThanOrEqual": "7.1.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.2",
                            "lessThanOrEqual": "*",
                            "status": "unaffected",
                            "versionType": "original_commit_for_fix"
                        }
                    ]
                }

Original source record · Cite this exact observation · Complete original publisher JSON

ChangeIntel

An IT change radar: releases, security, known issues, retirements, documentation changes, and service status from public sources. Every item links to supporting evidence; dates and statuses can change after they are read.

Sources read 21 Nov 14:33 UTC · 274 of 275 readable · 270 fully read · documentation 469/469 current