All reports
Low

kernel: md/raid10: reset read_slot when reusing r10bio for discard

Affected versions

Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2026-74376

Probability of exploitation in the next 30 days: 0.50%

FIRST EPSS · 2026-11-18

Description

In the Linux kernel, the following vulnerability has been resolved: md/raid10: reset read_slot when reusing r10bio for discard put_all_bios() always drops devs[i].bio, but it only drops devs[i].repl_bio when r10_bio->read_slot < 0. If discard reuses an r10bio that was previously used for a read, read_slot can still be non-negative, and discard cleanup can skip bio_put() on repl_bio. Reset read_slot to -1 when preparing an r10bio for discard so the replacement bio is always released correctly.

A flaw was found in the Linux kernel's md/raid10 component. This vulnerability occurs when a specific internal data structure, used for disk operations, is reused for a discard operation without properly resetting a critical flag. This oversight can lead to improper release of system resources, potentially causing system instability or a denial of service (DoS).