You are using an out of date browser. It may not display this or other websites correctly. You should upgrade or use an alternative browser.
cve 2025 40259
About this tag
CVE-2025-40259 is a Linux kernel vulnerability in the SCSI generic driver (sg) that could cause a kernel oops or illegal sleep in atomic context. The bug occurs in sg_finish_rem_req, which calls blk_rq_unmap_user while interrupts are disabled, violating kernel sleep rules. A patch fixes this by ensuring the call happens with interrupts enabled. This issue is relevant for Linux system administrators and security professionals managing kernel updates, particularly those using SCSI devices. The vulnerability has been assigned CVE-2025-40259 and is addressed in stable kernel trees.
A short, targeted kernel fix landed this week that closes a subtle but real correctness bug in the SCSI generic driver (sg): the function responsible for finishing a removed request, sg_finish_rem_req, was calling blk_rq_unmap_user while interrupts were disabled — and blk_rq_unmap_user can...