{"id":"CVE-2026-90156","aliases":["CVE-2026-90156"],"related":[],"kind":"vulnerability","state":"published","title":"ksmbd: safely discard unregistered deferred locks","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nksmbd: safely discard unregistered deferred locks\n\nWhen vfs_lock_file() defers a lock, smb2_lock() puts its ksmbd_lock on\nrollback_list before allocating and registering the asynchronous work.\nIf either operation fails, rollback assumes that smb_lock->conn is\ninitialized and dereferences NULL. The deferred file_lock also remains\nlinked into the VFS blocked-lock state while it is freed.\n\nKeep the lock off rollback_list until async setup succeeds. On setup\nfailures, explicitly unblock and wake the deferred lock before freeing it\nand its ksmbd wrapper.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nksmbd: safely discard unregistered deferred locks\n\nWhen vfs_lock_file() defers a lock, smb2_lock() puts its ksmbd_lock on\nrollback_list before allocating and registering the asynchronous work.\nIf either operation fails, rollback assumes that smb_lock->conn is\ninitialized and dereferences NULL. The deferred file_lock also remains\nlinked into the VFS blocked-lock state while it is freed.\n\nKeep the lock off rollback_list until async setup succeeds. On setup\nfailures, explicitly unblock and wake the deferred lock before freeing it\nand its ksmbd wrapper.","source":"cvelist"}],"published":"2026-09-17T16:06:48.393Z","modified":"2026-10-30T13:20:44.157Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9","fixed":"aaa51ac0d934cb4e2ab96e150fccc934e822009b","status":"affected"},{"type":"git","introduced":"e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9","fixed":"ecdcfa15b3d799476c685cecd433ebefc93015c8","status":"affected"},{"type":"git","introduced":"e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9","fixed":"77413400f083a959724de6f36348c9677ef9873a","status":"affected"},{"type":"git","introduced":"e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9","fixed":"52b91bc5253bb83665f3ea70565d0b2487dae643","status":"affected"},{"type":"git","introduced":"e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9","fixed":"d09af9a35ff7b77a950b507133d9092aadbfeff4","status":"affected"},{"type":"git","introduced":"e2f34481b24db2fd634b5edb0a5bd0e4d38cc6e9","fixed":"054bcca4cd9f00719b01f7108b51a2168fb94f15","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/aaa51ac0d934cb4e2ab96e150fccc934e822009b","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ecdcfa15b3d799476c685cecd433ebefc93015c8","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/77413400f083a959724de6f36348c9677ef9873a","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/52b91bc5253bb83665f3ea70565d0b2487dae643","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d09af9a35ff7b77a950b507133d9092aadbfeff4","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/054bcca4cd9f00719b01f7108b51a2168fb94f15","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-90156","url":"https://www.cve.org/CVERecord?id=CVE-2026-90156","licence":"CVE Terms of Use","modified":"2026-10-30T12:34:29.152Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-90156","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-90156","licence":"Public domain","modified":"2026-10-30T13:20:44.157Z"}],"updatedAt":"2026-11-25T22:59:39.321Z","epss":{"score":0.00215,"percentile":0.06799,"date":"2026-11-30T12:00:22.000Z"}}