{"id":"CVE-2026-90167","aliases":["CVE-2026-90167"],"related":[],"kind":"vulnerability","state":"published","title":"ksmbd: serialize oplock close with pending break ownership","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nksmbd: serialize oplock close with pending break ownership\n\nclose may abort an in-flight oplock break while another breaker already\nholds an opinfo reference. Releasing pending_break wakes that waiter, but\nwithout serializing the close transition with bit acquisition it can become\na new break owner through the test_and_set_bit() fast path. It can then\noverwrite OPLOCK_CLOSING with OPLOCK_ACK_WAIT and continue a break for\na dying opinfo.\n\nMake OPLOCK_CLOSING terminal once the opinfo is removed from the inode\nlist. Serialize that transition, pending_break acquisition, and\nOPLOCK_ACK_WAIT setup with an opinfo state lock. A breaker which loses\nthe race releases its ownership and returns -ENOENT. Explicitly wake\npending_break waiters during close so they can observe the terminal state.\n\nAlso prevent ACK and timeout paths from replacing OPLOCK_CLOSING with\nOPLOCK_STATE_NONE.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nksmbd: serialize oplock close with pending break ownership\n\nclose may abort an in-flight oplock break while another breaker already\nholds an opinfo reference. Releasing pending_break wakes that waiter, but\nwithout serializing the close transition with bit acquisition it can become\na new break owner through the test_and_set_bit() fast path. It can then\noverwrite OPLOCK_CLOSING with OPLOCK_ACK_WAIT and continue a break for\na dying opinfo.\n\nMake OPLOCK_CLOSING terminal once the opinfo is removed from the inode\nlist. Serialize that transition, pending_break acquisition, and\nOPLOCK_ACK_WAIT setup with an opinfo state lock. A breaker which loses\nthe race releases its ownership and returns -ENOENT. Explicitly wake\npending_break waiters during close so they can observe the terminal state.\n\nAlso prevent ACK and timeout paths from replacing OPLOCK_CLOSING with\nOPLOCK_STATE_NONE.","source":"cvelist"}],"published":"2026-09-17T16:06:56.507Z","modified":"2026-10-30T13:20:44.773Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9","fixed":"02a31a30ccd09f3ff35ab5861c04209c381aa5dd","status":"affected"},{"type":"git","introduced":"e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9","fixed":"7148a6c06ddf1c263a1cf422bee541f24d3d3926","status":"affected"},{"type":"git","introduced":"e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9","fixed":"7d6e682b7633120c2f93400b8c6f335d9d8e5318","status":"affected"},{"type":"git","introduced":"e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9","fixed":"dc1e34f78dfab755fab9ad820ac5f82348fe1792","status":"affected"},{"type":"git","introduced":"e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9","fixed":"5f97bac88bfb333f426f01c118b8235e75af8d96","status":"affected"},{"type":"git","introduced":"e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9","fixed":"b0148dc5625dbfd50596ac63c7487c12e8a8ab03","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.15","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.15","status":"unaffected"},{"type":"semver","introduced":"6.1.191","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.160","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.114","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.57","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/02a31a30ccd09f3ff35ab5861c04209c381aa5dd","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7148a6c06ddf1c263a1cf422bee541f24d3d3926","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7d6e682b7633120c2f93400b8c6f335d9d8e5318","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/dc1e34f78dfab755fab9ad820ac5f82348fe1792","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5f97bac88bfb333f426f01c118b8235e75af8d96","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b0148dc5625dbfd50596ac63c7487c12e8a8ab03","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-90167","url":"https://www.cve.org/CVERecord?id=CVE-2026-90167","licence":"CVE Terms of Use","modified":"2026-10-30T12:34:33.398Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-90167","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-90167","licence":"Public domain","modified":"2026-10-30T13:20:44.773Z"}],"updatedAt":"2026-11-25T22:59:39.324Z","epss":{"score":0.00215,"percentile":0.0676,"date":"2026-11-30T12:00:22.000Z"}}