CVE-2026-139271: block, bfq: initialize active lists for all actuators
In the Linux kernel, the following vulnerability has been resolved:
block, bfq: initialize active lists for all actuators
Commit 2d31c684a053 ("block, bfq: inject I/O to underutilized actuators") extended bfqd->activelist from a single listhead to an array indexed by actuator, but bfqinitqueue() still only initialized the first two entries:
INITLISTHEAD(&bfqd->activelist[0]); INITLISTHEAD(&bfqd->activelist[1]);
For devices with more than two independent access ranges, the remaining list heads stay zeroed by kzalloc() and are never set up as empty lists. When BFQ later adds a bfqqueue to one of those lists, listadd() writes through head->next, which is NULL, corrupting the list or crashing the kernel.
Initialize every actuator's active list using bfqd->numactuators, which is already set up earlier in bfqinitqueue().
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Compensating control
Initialize every actuator's active list using bfqd->num_actuators instead of initializing only the first two entries.
Event History
Frequently Asked Questions
Which systems are exposed to this issue?
Systems using the BFQ I/O scheduler on devices with more than two independent access ranges are exposed. The uninitialized active-list entries apply to actuators beyond the first two.
What event causes the vulnerable code path to fail?
Failure occurs when BFQ adds a bfq_queue to an active list for an actuator whose list head was not initialized. The resulting list operation can corrupt kernel list state or crash the kernel.