{"id":"CVE-2026-99292","aliases":["CVE-2026-99292"],"related":[],"kind":"vulnerability","state":"published","title":"smb: client: fix slab-out-of-bounds write in id_mode_to_cifs_acl()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nsmb: client: fix slab-out-of-bounds write in id_mode_to_cifs_acl()\n\nIn id_mode_to_cifs_acl(), while the chown branch reserves\nsizeof(struct smb_ntsd) + 2 * sizeof(struct smb_sid) (plus\nsizeof(struct smb_acl) and the worst-case ACE space after\ncommit 0ee150794c75 (\"smb: client: fix heap overflow in DACL owner/group\nrewrite\")), the chmod branch only adds 2 * sizeof(struct smb_ace) or\n5 * sizeof(struct smb_ace) to secdesclen (or 1 * sizeof(struct smb_ace)\non posix).\n\nHowever, the chmod branch also invokes build_sec_desc() ->\ncopy_sec_desc(), which unconditionally writes the Owner SID at\npnntsd + sidsoffset and the Group SID at\npnntsd + sidsoffset + sizeof(struct smb_sid) (2 * 68 = 136 bytes total),\nand set_chmod_dacl() always writes a struct smb_acl header (8 bytes)\neven when the source descriptor has dacloffset == 0. When a security\ndescriptor has compact or overlapping Owner/Group SIDs (or\ndacloffset == 0), calling chmod() under-allocates pnntsd and writes past\nthe end of the slab buffer.\n\nReserve sizeof(struct smb_acl) + 2 * sizeof(struct smb_sid) (plus\nsizeof(struct smb_ntsd) on the posix path) in the chmod branch of\nid_mode_to_cifs_acl().","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nsmb: client: fix slab-out-of-bounds write in id_mode_to_cifs_acl()\n\nIn id_mode_to_cifs_acl(), while the chown branch reserves\nsizeof(struct smb_ntsd) + 2 * sizeof(struct smb_sid) (plus\nsizeof(struct smb_acl) and the worst-case ACE space after\ncommit 0ee150794c75 (\"smb: client: fix heap overflow in DACL owner/group\nrewrite\")), the chmod branch only adds 2 * sizeof(struct smb_ace) or\n5 * sizeof(struct smb_ace) to secdesclen (or 1 * sizeof(struct smb_ace)\non posix).\n\nHowever, the chmod branch also invokes build_sec_desc() ->\ncopy_sec_desc(), which unconditionally writes the Owner SID at\npnntsd + sidsoffset and the Group SID at\npnntsd + sidsoffset + sizeof(struct smb_sid) (2 * 68 = 136 bytes total),\nand set_chmod_dacl() always writes a struct smb_acl header (8 bytes)\neven when the source descriptor has dacloffset == 0. When a security\ndescriptor has compact or overlapping Owner/Group SIDs (or\ndacloffset == 0), calling chmod() under-allocates pnntsd and writes past\nthe end of the slab buffer.\n\nReserve sizeof(struct smb_acl) + 2 * sizeof(struct smb_sid) (plus\nsizeof(struct smb_ntsd) on the posix path) in the chmod branch of\nid_mode_to_cifs_acl().","source":"cvelist"}],"published":"2026-11-16T09:59:20.770Z","modified":"2026-11-23T08:17:33.910Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"7ee0b4c635c091eb3c805977ba886bae2fd33f0c","fixed":"d1f14e890dff3b19fbc8dec1eb09f09c71ca69a8","status":"affected"},{"type":"git","introduced":"7ee0b4c635c091eb3c805977ba886bae2fd33f0c","fixed":"773c30f94a027e6a0a9774906d6cff3902dbe15c","status":"affected"},{"type":"git","introduced":"7ee0b4c635c091eb3c805977ba886bae2fd33f0c","fixed":"51e5772fdfc92a453995aba07ff2aa6e107b580d","status":"affected"},{"type":"git","introduced":"7ee0b4c635c091eb3c805977ba886bae2fd33f0c","fixed":"cde80904e285a7ac29ba2e06bc23a60b09b05f54","status":"affected"},{"type":"git","introduced":"7ee0b4c635c091eb3c805977ba886bae2fd33f0c","fixed":"ba57bfe1a9fa1566757cd3f3310ccdf88f4b7673","status":"affected"},{"type":"git","introduced":"7ee0b4c635c091eb3c805977ba886bae2fd33f0c","fixed":"be1bcc9147facd85dc2ebe48688afde6d5590f10","status":"affected"},{"type":"git","introduced":"7ee0b4c635c091eb3c805977ba886bae2fd33f0c","fixed":"a377a3645c7d0246af0bc4ef24db94bb2670bdde","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"3.8","status":"affected"},{"type":"semver","introduced":"0","fixed":"3.8","status":"unaffected"},{"type":"semver","introduced":"5.15.226","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.193","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.163","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.117","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.61","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.3.2","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/d1f14e890dff3b19fbc8dec1eb09f09c71ca69a8","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/773c30f94a027e6a0a9774906d6cff3902dbe15c","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/51e5772fdfc92a453995aba07ff2aa6e107b580d","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/cde80904e285a7ac29ba2e06bc23a60b09b05f54","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ba57bfe1a9fa1566757cd3f3310ccdf88f4b7673","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/be1bcc9147facd85dc2ebe48688afde6d5590f10","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a377a3645c7d0246af0bc4ef24db94bb2670bdde","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-99292","url":"https://www.cve.org/CVERecord?id=CVE-2026-99292","licence":"CVE Terms of Use","modified":"2026-11-23T08:00:59.009Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-99292","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99292","licence":"Public domain","modified":"2026-11-23T08:17:33.910Z"}],"updatedAt":"2026-11-25T22:59:50.847Z","epss":{"score":0.00429,"percentile":0.39041,"date":"2026-12-01T12:00:22.000Z"}}