{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-90155","id":"CVE-2026-90155","title":"ksmbd: detach blocked lock requests before freeing","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nksmbd: detach blocked lock requests before freeing\n\nA file_lock retained by ksmbd for byte-range lock bookkeeping can still\nbe part of the VFS blocked-request graph. In particular, the VFS can\nchain a new waiter below an already blocked request through\nflc_blocked_requests. The ksmbd_file reference count does not cover that\ngraph","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nksmbd: detach blocked lock requests before freeing\n\nA file_lock retained by ksmbd for byte-range lock bookkeeping can still\nbe part of the VFS blocked-request graph. In particular, the VFS can\nchain a new waiter below an already blocked request through\nflc_blocked_requests. The ksmbd_file reference count does not cover that\ngraph.\n\nBoth __ksmbd_close_fd() and the cross-request unlock path free these\nretained file_lock objects directly. If a dependent waiter is still\nattached, locks_release_private() hits\nBUG_ON(!list_empty(&flc->flc_blocked_requests)). The same lifetime\nmismatch can leave a freed ksmbd_lock reachable through its request-local\nllist.\n\nDetach the file_lock from the blocked-request graph before freeing it in\nthe close, cross-request unlock, and rollback paths. locks_delete_block()\nalso wakes requests chained below the object. Remove llist when a\ncompleted lock is published so a globally visible ksmbd_lock no longer\npoints into the submitting worker's stack.","published":"2026-09-17T16:06:47.716Z","updated":"2026-11-01T02:30:40.406349996Z","reserved":"2026-09-11T19:38:34.790Z","status":"Received","rejected":false,"assigner":"Linux","metric":null,"metrics":[],"rating":"unrated","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"d63528eb0d43c4796c42aad56889dec12cf4e122","lessThan":"4e8b69c06bd6583ec11abef4fae50c2c8d5f3679","status":"affected","versionType":"git"},{"version":"d63528eb0d43c4796c42aad56889dec12cf4e122","lessThan":"d20d3f6ad8b0b6f4e1bb32cdf7eca251962e8f04","status":"affected","versionType":"git"},{"version":"d63528eb0d43c4796c42aad56889dec12cf4e122","lessThan":"d31db79cfaa9fce6649772ad279779473ba8aef9","status":"affected","versionType":"git"},{"version":"d63528eb0d43c4796c42aad56889dec12cf4e122","lessThan":"f77d2accafca529e0ea3f979eb6e6cf1dac05c90","status":"affected","versionType":"git"},{"version":"d63528eb0d43c4796c42aad56889dec12cf4e122","lessThan":"514a0b2bc949963497e66cacd433f65dc768a71d","status":"affected","versionType":"git"},{"version":"d63528eb0d43c4796c42aad56889dec12cf4e122","lessThan":"215e8816b1ac25176d911abb8704390413ccee4b","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.15","status":"affected"},{"version":"0","lessThan":"5.15","status":"unaffected","versionType":"semver"},{"version":"6.1.191","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.160","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.114","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.57","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.2.6","lessThanOrEqual":"7.2.*","status":"unaffected","versionType":"semver"},{"version":"7.3","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":[],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/4e8b69c06bd6583ec11abef4fae50c2c8d5f3679","tags":["web"]},{"url":"https://git.kernel.org/stable/c/d20d3f6ad8b0b6f4e1bb32cdf7eca251962e8f04","tags":["web"]},{"url":"https://git.kernel.org/stable/c/d31db79cfaa9fce6649772ad279779473ba8aef9","tags":["web"]},{"url":"https://git.kernel.org/stable/c/f77d2accafca529e0ea3f979eb6e6cf1dac05c90","tags":["web"]},{"url":"https://git.kernel.org/stable/c/514a0b2bc949963497e66cacd433f65dc768a71d","tags":["web"]},{"url":"https://git.kernel.org/stable/c/215e8816b1ac25176d911abb8704390413ccee4b","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/90xxx/CVE-2026-90155.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-90155","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00215,"epssPercentile":0.11966,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-90155","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-90155","ok":true,"note":"Received"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-90155","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-90155","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}