---
id: CVE-2026-74376
title: |-
  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
summary: |-
  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 …
severity: critical
cvss: 9.8
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-772
vendor: Red Hat
product: Red Hat Enterprise Linux 9
affected:
  - enterprise_linux 10
  - enterprise_linux 6
  - enterprise_linux 8
  - enterprise_linux 9
published: '2026-08-15'
updated: '2026-10-16'
sourceUpdated: '2026-10-16T19:17:42.533'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-74376'
references:
  - url: 'https://git.kernel.org/stable/c/3cb2a606ce4902eceabe68338df0653312f861f8'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/561c9711e4f545d6464a023168bdee03b00fa945'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/6b8a26af065ddc93de2aa5c9f0df98dce9723442'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/742e4afd247d9c972695227716b03d432a7e1d26'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/b7313f23ea5a79b199a007bfad64a866cc2c22e7'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/ce3030e92f14362880055de5fe3c258971118853'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/eb04e3e9c14ed15914f5fd2eae8b6435f54f095f'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-74376.json
  - url: 'https://access.redhat.com/security/cve/CVE-2026-74376'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2516853'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-74376'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-74376'
  - url: >-
      https://lore.kernel.org/linux-cve-announce/2026081504-CVE-2026-74376-e253@gregkh/T
tags:
  - nvd
  - csaf
  - vex
  - red-hat
  - cve.org
  - score-dispute
epss: 0.00502
epssPercentile: 0.42785
ssvc:
  exploitation: none
  automatable: 'yes'
  technicalImpact: total
  timestamp: '2026-10-16T18:54:45.646885Z'
scores:
  nvd: 9.8
  vendor: 5.5
  cna: 9.8
ingestedAt: '2026-10-16T19:46:24.372Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Vendor advisories

- **Red Hat VEX** · Low · affected: Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 6, Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 9 · no fix planned: Red Hat Enterprise Linux 6, Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 9 · updated 2026-10-16 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-74376.json)
