{"id":"CVE-2026-93173","aliases":["CVE-2026-93173"],"related":[],"kind":"vulnerability","state":"published","title":"bpf,lsm: Drop bpf_prog_free from sleepable_lsm_hooks","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf,lsm: Drop bpf_prog_free from sleepable_lsm_hooks\n\n__bpf_prog_put_rcu() is the call_rcu() callback for non-sleepable programs.\nsecurity_bpf_prog_free() called from there fires bpf_prog_free in softirq;\nif a sleepable LSM prog is attached to that hook, might_fault() BUGs:\n\n  BUG: sleeping function called from invalid context\n  in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 5038\n  preempt_count: 101, expected: 0\n  Call Trace:\n   <IRQ>\n   __bpf_prog_enter_sleepable+0x1cd/0x320 kernel/bpf/trampoline.c:1255\n   bpf_trampoline_6442549705+0x53/0xd7\n   security_bpf_prog_free+0xde/0x130 security/security.c:5465\n   __bpf_prog_put_rcu+0xab/0xd0 kernel/bpf/syscall.c:2365\n   rcu_do_batch kernel/rcu/tree.c:2617 [inline]\n   handle_softirqs+0x236/0x800 kernel/softirq.c:622\n   </IRQ>\n\nThe call_rcu/call_rcu_tasks_trace split reflects the freed program's\nsleepability, not that of any attached observer.\n\nsecurity_bpf_prog_free() also frees prog->aux->security, which has to stay\nafter the grace period, so drop bpf_prog_free from sleepable_lsm_hooks\nrather than move the call. Non-sleepable observers still run there.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf,lsm: Drop bpf_prog_free from sleepable_lsm_hooks\n\n__bpf_prog_put_rcu() is the call_rcu() callback for non-sleepable programs.\nsecurity_bpf_prog_free() called from there fires bpf_prog_free in softirq;\nif a sleepable LSM prog is attached to that hook, might_fault() BUGs:\n\n  BUG: sleeping function called from invalid context\n  in_atomic(): 1, irqs_disabled(): 0, non_block: 0, pid: 5038\n  preempt_count: 101, expected: 0\n  Call Trace:\n   <IRQ>\n   __bpf_prog_enter_sleepable+0x1cd/0x320 kernel/bpf/trampoline.c:1255\n   bpf_trampoline_6442549705+0x53/0xd7\n   security_bpf_prog_free+0xde/0x130 security/security.c:5465\n   __bpf_prog_put_rcu+0xab/0xd0 kernel/bpf/syscall.c:2365\n   rcu_do_batch kernel/rcu/tree.c:2617 [inline]\n   handle_softirqs+0x236/0x800 kernel/softirq.c:622\n   </IRQ>\n\nThe call_rcu/call_rcu_tasks_trace split reflects the freed program's\nsleepability, not that of any attached observer.\n\nsecurity_bpf_prog_free() also frees prog->aux->security, which has to stay\nafter the grace period, so drop bpf_prog_free from sleepable_lsm_hooks\nrather than move the call. Non-sleepable observers still run there.","source":"cvelist"}],"published":"2026-09-17T16:12:03.229Z","modified":"2026-10-19T10:17:07.673Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"1b67772e4e3f16cd647b229cae95fc06d120be08","fixed":"2135f661fae7160a7fc603cab43cbc7999e8bfce","status":"affected"},{"type":"git","introduced":"1b67772e4e3f16cd647b229cae95fc06d120be08","fixed":"d5f2f741a900123fbcb7c7c0a002b81306fbe242","status":"affected"},{"type":"git","introduced":"1b67772e4e3f16cd647b229cae95fc06d120be08","fixed":"915c2d9d69fc6c5f9f41d12bf4a9c51293aaee62","status":"affected"},{"type":"git","introduced":"1b67772e4e3f16cd647b229cae95fc06d120be08","fixed":"2ce3f548cfc6a1fe4c53479cf8a21931cdfd51d8","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.9","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.9","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/2135f661fae7160a7fc603cab43cbc7999e8bfce","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d5f2f741a900123fbcb7c7c0a002b81306fbe242","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/915c2d9d69fc6c5f9f41d12bf4a9c51293aaee62","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2ce3f548cfc6a1fe4c53479cf8a21931cdfd51d8","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-93173","url":"https://www.cve.org/CVERecord?id=CVE-2026-93173","licence":"CVE Terms of Use","modified":"2026-10-19T09:06:44.824Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-93173","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-93173","licence":"Public domain","modified":"2026-10-19T10:17:07.673Z"}],"updatedAt":"2026-11-25T22:59:39.478Z","epss":{"score":0.00168,"percentile":0.06349,"date":"2026-12-01T12:00:22.000Z"}}