{"api_version":"1","generated_at":"2026-09-21T15:23:21+00:00","cve":"CVE-2026-90155","urls":{"html":"https://cve.report/CVE-2026-90155","api":"https://cve.report/api/cve/CVE-2026-90155.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-90155","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-90155"},"summary":{"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.\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.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-09-17 17:17:08","updated_at":"2026-09-17 17:17:08"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/215e8816b1ac25176d911abb8704390413ccee4b","name":"https://git.kernel.org/stable/c/215e8816b1ac25176d911abb8704390413ccee4b","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/514a0b2bc949963497e66cacd433f65dc768a71d","name":"https://git.kernel.org/stable/c/514a0b2bc949963497e66cacd433f65dc768a71d","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-90155","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-90155","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected d63528eb0d43c4796c42aad56889dec12cf4e122 514a0b2bc949963497e66cacd433f65dc768a71d git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected d63528eb0d43c4796c42aad56889dec12cf4e122 215e8816b1ac25176d911abb8704390413ccee4b git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5.15","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.15 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.2.6 7.2.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3-rc1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["fs/smb/server/smb2pdu.c","fs/smb/server/vfs_cache.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"514a0b2bc949963497e66cacd433f65dc768a71d","status":"affected","version":"d63528eb0d43c4796c42aad56889dec12cf4e122","versionType":"git"},{"lessThan":"215e8816b1ac25176d911abb8704390413ccee4b","status":"affected","version":"d63528eb0d43c4796c42aad56889dec12cf4e122","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["fs/smb/server/smb2pdu.c","fs/smb/server/vfs_cache.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"5.15"},{"lessThan":"5.15","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"7.2.*","status":"unaffected","version":"7.2.6","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.3-rc1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.2.6","versionStartIncluding":"5.15","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3-rc1","versionStartIncluding":"5.15","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"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."}],"providerMetadata":{"dateUpdated":"2026-09-17T16:06:47.716Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/514a0b2bc949963497e66cacd433f65dc768a71d"},{"url":"https://git.kernel.org/stable/c/215e8816b1ac25176d911abb8704390413ccee4b"}],"title":"ksmbd: detach blocked lock requests before freeing","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-90155","datePublished":"2026-09-17T16:06:47.716Z","dateReserved":"2026-09-11T19:38:34.790Z","dateUpdated":"2026-09-17T16:06:47.716Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-09-17 17:17:08","lastModifiedDate":"2026-09-17 17:17:08","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"90155","Ordinal":"1","Title":"ksmbd: detach blocked lock requests before freeing","CVE":"CVE-2026-90155","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"90155","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"ksmbd: detach blocked lock requests before freeing"}]}}}