{"id":"CVE-2026-90153","aliases":["CVE-2026-90153"],"related":[],"kind":"vulnerability","state":"published","title":"ksmbd: bound smb_check_perm_dacl() ACE walks by DACL size","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nksmbd: bound smb_check_perm_dacl() ACE walks by DACL size\n\nsmb_check_perm_dacl() validates that the DACL fits inside the NT\nsecurity descriptor, but then bounds its two ACE walks by the\nremaining NTSD length (acl_size) rather than the DACL's declared\nsize (pdacl_size).\n\nWhen pdacl->size is smaller than the trailing NTSD buffer, bytes\nafter the declared DACL boundary - still inside the stored security\ndescriptor - are parsed as ACEs during access checks.  A crafted\nDACL can place an access-granting ACE beyond pdacl->size, and the\ncurrent code accepts it during SMB2_CREATE access validation, while\nparse_dacl() and smb_inherit_dacl() stop at pdacl_size.\n\nBound both ACE walks by pdacl_size to match the DACL boundary\nsemantics used elsewhere in the server.\n\nValidation:\n- semantic KUnit harness shows the post-boundary ACE is selected\n  before the fix and rejected (EACCES) after it\n- linux master (7.2-rc6), x86_64","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nksmbd: bound smb_check_perm_dacl() ACE walks by DACL size\n\nsmb_check_perm_dacl() validates that the DACL fits inside the NT\nsecurity descriptor, but then bounds its two ACE walks by the\nremaining NTSD length (acl_size) rather than the DACL's declared\nsize (pdacl_size).\n\nWhen pdacl->size is smaller than the trailing NTSD buffer, bytes\nafter the declared DACL boundary - still inside the stored security\ndescriptor - are parsed as ACEs during access checks.  A crafted\nDACL can place an access-granting ACE beyond pdacl->size, and the\ncurrent code accepts it during SMB2_CREATE access validation, while\nparse_dacl() and smb_inherit_dacl() stop at pdacl_size.\n\nBound both ACE walks by pdacl_size to match the DACL boundary\nsemantics used elsewhere in the server.\n\nValidation:\n- semantic KUnit harness shows the post-boundary ACE is selected\n  before the fix and rejected (EACCES) after it\n- linux master (7.2-rc6), x86_64","source":"cvelist"}],"published":"2026-09-17T16:06:46.296Z","modified":"2026-10-30T13:20:43.860Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","score":8.1,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","score":8.1,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"8f0541186e9ad1b62accc9519cc2b7a7240272a7","fixed":"930dcdd888eabf166589e020dcbf6d15b5e13305","status":"affected"},{"type":"git","introduced":"8f0541186e9ad1b62accc9519cc2b7a7240272a7","fixed":"a2051ffe452afad52f580b85a3fd8851933b1e7c","status":"affected"},{"type":"git","introduced":"8f0541186e9ad1b62accc9519cc2b7a7240272a7","fixed":"a29f57a14c939586d84d7fd6a029bd1fd170098f","status":"affected"},{"type":"git","introduced":"8f0541186e9ad1b62accc9519cc2b7a7240272a7","fixed":"a4a307d149327dad5fb25187e1b03cebd1b04de6","status":"affected"},{"type":"git","introduced":"8f0541186e9ad1b62accc9519cc2b7a7240272a7","fixed":"8e4f75e979c1d9a51b0a48ac33d0cfd5f039ec67","status":"affected"},{"type":"git","introduced":"8f0541186e9ad1b62accc9519cc2b7a7240272a7","fixed":"79decd88dd3f0d42e7fb0689b1a7853bfa302459","status":"affected"},{"type":"git","version":"cb69d4d6f709f87c94afa28ae64c501576692171","status":"affected"},{"type":"git","version":"6e8f4abf584253cbaa596ea4ad13110cf61cd4c9","status":"affected"},{"type":"git","version":"8e33102309bd6839b2e2e158f93a7b378cb4655d","status":"affected"},{"type":"semver","introduced":"5.15.62","fixed":"5.16","status":"affected"},{"type":"semver","introduced":"5.18.18","fixed":"5.19","status":"affected"},{"type":"semver","introduced":"5.19.2","fixed":"5.20","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.0","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.0","status":"unaffected"},{"type":"semver","introduced":"6.1.191","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.157","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.110","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.52","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.6","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","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/930dcdd888eabf166589e020dcbf6d15b5e13305","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a2051ffe452afad52f580b85a3fd8851933b1e7c","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a29f57a14c939586d84d7fd6a029bd1fd170098f","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a4a307d149327dad5fb25187e1b03cebd1b04de6","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8e4f75e979c1d9a51b0a48ac33d0cfd5f039ec67","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/79decd88dd3f0d42e7fb0689b1a7853bfa302459","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-90153","url":"https://www.cve.org/CVERecord?id=CVE-2026-90153","licence":"CVE Terms of Use","modified":"2026-10-30T12:34:27.032Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-90153","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-90153","licence":"Public domain","modified":"2026-10-30T13:20:43.860Z"}],"updatedAt":"2026-11-25T22:59:39.320Z","epss":{"score":0.00487,"percentile":0.43587,"date":"2026-12-01T12:00:22.000Z"}}