{"id":"CVE-2026-90176","aliases":["CVE-2026-90176"],"related":[],"kind":"vulnerability","state":"published","title":"ksmbd: Do not skip lock checks for single-byte ranges","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nksmbd: Do not skip lock checks for single-byte ranges\n\ncheck_lock_range() uses inclusive ranges. Its callers pass the end\noffset as start + length - 1, so start == end represents a valid\nsingle-byte range rather than an empty range.\n\nThe start == end shortcut therefore skips mandatory byte-range lock\nchecks for one-byte reads, writes, copychunk operations and one-byte\ntruncate ranges. A conflicting lock covering that byte is not checked\nand the operation is allowed to proceed.\n\nRemove the shortcut. The truncate size == inode->i_size case is already\nhandled by only calling check_lock_range() when the new size differs\nfrom the current file size.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nksmbd: Do not skip lock checks for single-byte ranges\n\ncheck_lock_range() uses inclusive ranges. Its callers pass the end\noffset as start + length - 1, so start == end represents a valid\nsingle-byte range rather than an empty range.\n\nThe start == end shortcut therefore skips mandatory byte-range lock\nchecks for one-byte reads, writes, copychunk operations and one-byte\ntruncate ranges. A conflicting lock covering that byte is not checked\nand the operation is allowed to proceed.\n\nRemove the shortcut. The truncate size == inode->i_size case is already\nhandled by only calling check_lock_range() when the new size differs\nfrom the current file size.","source":"cvelist"}],"published":"2026-09-17T16:07:02.433Z","modified":"2026-10-19T09:19:07.570Z","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":"52fcbb92e0d3acfd1448b2a43b6595d540da5295","fixed":"a89cc145832e81c32199d4ca2e1ea8bd51ed601d","status":"affected"},{"type":"git","introduced":"da29cd197246c85c0473259f1cad897d9d28faea","fixed":"993e0158331d37c04da18efe551b5e1e35fb3078","status":"affected"},{"type":"git","introduced":"a6f4cfa3783804336491e0edcb250c25f9b59d33","fixed":"f751d6e39d4c937c45f8fedc66699aa7d2d52288","status":"affected"},{"type":"git","introduced":"571204e4758a528fbd67330bd4b0dfbdafb33dd8","fixed":"84c2d8e807ac489f5c91769293fb15dfdae8bae8","status":"affected"},{"type":"git","introduced":"5d510ac31626ed157d2182149559430350cf2104","fixed":"07a9e289ff7edcc004f58952405f8a65c4e37512","status":"affected"},{"type":"git","introduced":"5d510ac31626ed157d2182149559430350cf2104","fixed":"d40c24634fe077a0dc91fd11fccf44ce12b454d5","status":"affected"},{"type":"semver","introduced":"6.1.160","fixed":"6.1.188","status":"affected"},{"type":"semver","introduced":"6.6.120","fixed":"6.6.157","status":"affected"},{"type":"semver","introduced":"6.12.64","fixed":"6.12.110","status":"affected"},{"type":"semver","introduced":"6.18.3","fixed":"6.18.52","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.19","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.19","status":"unaffected"},{"type":"semver","introduced":"6.1.188","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/a89cc145832e81c32199d4ca2e1ea8bd51ed601d","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/993e0158331d37c04da18efe551b5e1e35fb3078","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f751d6e39d4c937c45f8fedc66699aa7d2d52288","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/84c2d8e807ac489f5c91769293fb15dfdae8bae8","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/07a9e289ff7edcc004f58952405f8a65c4e37512","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d40c24634fe077a0dc91fd11fccf44ce12b454d5","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-90176","url":"https://www.cve.org/CVERecord?id=CVE-2026-90176","licence":"CVE Terms of Use","modified":"2026-10-19T08:59:13.411Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-90176","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-90176","licence":"Public domain","modified":"2026-10-19T09:19:07.570Z"}],"updatedAt":"2026-11-25T22:59:39.328Z","epss":{"score":0.00501,"percentile":0.44478,"date":"2026-12-02T12:00:21.000Z"}}