{"id":"AZL-117070","summary":"CVE-2026-139332 affecting package kernel 6.6.161.1-1","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Claim the per-CPU send_signal irq_work before filling it\n\nirq_work_is_busy() cannot see the per-CPU send_signal_work while\nit is being filled: the check only matches after irq_work_queue()\nhas claimed the work. A concurrent caller therefore passes it, both\ncallers race for the same irq_work, and the loser's signal is\nsilently lost along with its task reference while the queued work\nruns with a mix of both callers' fields.\n\nkprobe, tracepoint and perf_event programs exclude each other on\nthe same CPU through bpf_prog_active, so for two callers to meet,\none of the programs has to be a raw tracepoint or an fentry one.\nAnd since commit 87c544108b61 (\"bpf: Send signals asynchronously\nif !preemptible\") this path runs with IRQs enabled too, so a hard\nIRQ can interrupt the fill as well, not only an NMI. Found by code\ninspection and reproduced with a perf_event NMI program racing an\nfentry one.\n\nClaim the work through work-\u003etask itself: cmpxchg() it from NULL\nto the target task before touching the other fields, and set it\nback to NULL once the callback has consumed them. A context\nfinding the work claimed returns the documented -EBUSY.","modified":"2026-12-01T14:17:41.431227122Z","published":"2026-11-30T14:18:57Z","upstream":["CVE-2026-139332"],"references":[{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139332"}],"affected":[{"package":{"name":"kernel","ecosystem":"Azure Linux:3","purl":"pkg:rpm/azure-linux/kernel"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"6.6.161.1-1"}]}],"database_specific":{"source":"https://github.com/microsoft/AzureLinuxVulnerabilityData/blob/main/osv/AZL-117070.json"}}],"schema_version":"1.9.2"}