CVE-2026-74376
md/raid10: reset read_slot when reusing r10bio for discard
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.
INFO
Published Date :
Aug. 15, 2026, 6:22 a.m.
Last Modified :
Aug. 15, 2026, 6:22 a.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Products
The following products are affected by CVE-2026-74376
vulnerability.
Even if cvefeed.io is aware of the exact versions of the
products
that
are
affected, the information is not represented in the table below.
No affected product recoded yet
Solution
- Update the Linux kernel to the latest version.
- Apply the patch for the raid10 discard issue.
- Ensure bios are properly released after discard operations.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-74376.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-74376 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-74376
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-74376 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-74376 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Aug. 15, 2026
Action Type Old Value New Value Added Affected [{'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': 'd30588b2731fb01e1616cf16c3fe79a1443e29aa', 'lessThan': '3cb2a606ce4902eceabe68338df0653312f861f8', 'versionType': 'git'}, {'status': 'affected', 'version': 'd30588b2731fb01e1616cf16c3fe79a1443e29aa', 'lessThan': '561c9711e4f545d6464a023168bdee03b00fa945', 'versionType': 'git'}, {'status': 'affected', 'version': 'd30588b2731fb01e1616cf16c3fe79a1443e29aa', 'lessThan': 'ce3030e92f14362880055de5fe3c258971118853', 'versionType': 'git'}, {'status': 'affected', 'version': 'd30588b2731fb01e1616cf16c3fe79a1443e29aa', 'lessThan': '742e4afd247d9c972695227716b03d432a7e1d26', 'versionType': 'git'}, {'status': 'affected', 'version': 'd30588b2731fb01e1616cf16c3fe79a1443e29aa', 'lessThan': 'b7313f23ea5a79b199a007bfad64a866cc2c22e7', 'versionType': 'git'}, {'status': 'affected', 'version': 'd30588b2731fb01e1616cf16c3fe79a1443e29aa', 'lessThan': 'eb04e3e9c14ed15914f5fd2eae8b6435f54f095f', 'versionType': 'git'}, {'status': 'affected', 'version': 'd30588b2731fb01e1616cf16c3fe79a1443e29aa', 'lessThan': '6b8a26af065ddc93de2aa5c9f0df98dce9723442', 'versionType': 'git'}], 'programFiles': ['drivers/md/raid10.c'], 'defaultStatus': 'unaffected'}, {'repo': 'https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git', 'vendor': 'Linux', 'product': 'Linux', 'versions': [{'status': 'affected', 'version': '5.13'}, {'status': 'unaffected', 'version': '0', 'lessThan': '5.13', 'versionType': 'semver'}, {'status': 'unaffected', 'version': '5.15.212', 'versionType': 'semver', 'lessThanOrEqual': '5.15.*'}, {'status': 'unaffected', 'version': '6.1.178', 'versionType': 'semver', 'lessThanOrEqual': '6.1.*'}, {'status': 'unaffected', 'version': '6.6.145', 'versionType': 'semver', 'lessThanOrEqual': '6.6.*'}, {'status': 'unaffected', 'version': '6.12.97', 'versionType': 'semver', 'lessThanOrEqual': '6.12.*'}, {'status': 'unaffected', 'version': '6.18.40', 'versionType': 'semver', 'lessThanOrEqual': '6.18.*'}, {'status': 'unaffected', 'version': '7.1.5', 'versionType': 'semver', 'lessThanOrEqual': '7.1.*'}, {'status': 'unaffected', 'version': '7.2-rc1', 'versionType': 'original_commit_for_fix', 'lessThanOrEqual': '*'}], 'programFiles': ['drivers/md/raid10.c'], 'defaultStatus': 'affected'}] Added 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. Added Reference https://git.kernel.org/stable/c/3cb2a606ce4902eceabe68338df0653312f861f8 Added Reference https://git.kernel.org/stable/c/561c9711e4f545d6464a023168bdee03b00fa945 Added Reference https://git.kernel.org/stable/c/6b8a26af065ddc93de2aa5c9f0df98dce9723442 Added Reference https://git.kernel.org/stable/c/742e4afd247d9c972695227716b03d432a7e1d26 Added Reference https://git.kernel.org/stable/c/b7313f23ea5a79b199a007bfad64a866cc2c22e7 Added Reference https://git.kernel.org/stable/c/ce3030e92f14362880055de5fe3c258971118853 Added Reference https://git.kernel.org/stable/c/eb04e3e9c14ed15914f5fd2eae8b6435f54f095f