# CVE-2026-74376: md/raid10: reset read_slot when reusing r10bio for discard

- Severity: Critical 9.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.50%, higher than 44% of CVEs (2026-12-01)
- Published: 2026-08-15T05:58:55.023Z
- Modified: 2026-10-16T19:17:42.533Z
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from d30588b2731fb01e1616cf16c3fe79a1443e29aa before 3cb2a606ce4902eceabe68338df0653312f861f8; from d30588b2731fb01e1616cf16c3fe79a1443e29aa before 561c9711e4f545d6464a023168bdee03b00fa945; from d30588b2731fb01e1616cf16c3fe79a1443e29aa before ce3030e92f14362880055de5fe3c258971118853; from d30588b2731fb01e1616cf16c3fe79a1443e29aa before 742e4afd247d9c972695227716b03d432a7e1d26; from d30588b2731fb01e1616cf16c3fe79a1443e29aa before b7313f23ea5a79b199a007bfad64a866cc2c22e7; from d30588b2731fb01e1616cf16c3fe79a1443e29aa before eb04e3e9c14ed15914f5fd2eae8b6435f54f095f; from d30588b2731fb01e1616cf16c3fe79a1443e29aa before 6b8a26af065ddc93de2aa5c9f0df98dce9723442; 5.13 (not affected: before 5.13; from 5.15.212 up to 5.15.*; from 6.1.178 up to 6.1.*; from 6.6.145 up to 6.6.*; from 6.12.97 up to 6.12.*; from 6.18.40 up to 6.18.*; from 7.1.5 up to 7.1.*; from 7.2 up to *)

## References

- <https://git.kernel.org/stable/c/3cb2a606ce4902eceabe68338df0653312f861f8>
- <https://git.kernel.org/stable/c/561c9711e4f545d6464a023168bdee03b00fa945>
- <https://git.kernel.org/stable/c/ce3030e92f14362880055de5fe3c258971118853>
- <https://git.kernel.org/stable/c/742e4afd247d9c972695227716b03d432a7e1d26>
- <https://git.kernel.org/stable/c/b7313f23ea5a79b199a007bfad64a866cc2c22e7>
- <https://git.kernel.org/stable/c/eb04e3e9c14ed15914f5fd2eae8b6435f54f095f>
- <https://git.kernel.org/stable/c/6b8a26af065ddc93de2aa5c9f0df98dce9723442>

## Sources

- CVE List: [CVE-2026-74376](https://www.cve.org/CVERecord?id=CVE-2026-74376), CVE Terms of Use, modified 2026-10-16
- NVD: [CVE-2026-74376](https://nvd.nist.gov/vuln/detail/CVE-2026-74376), Public domain, modified 2026-10-16

---

Page: https://cve.day/CVE-2026-74376 · Whole record: https://cve.day/CVE-2026-74376.json · Rebuilt by cve.day 2026-11-25T22:59:33.187Z
