In the Linux kernel, the following vulnerability has been resolved: md/raid10: reset read_slot when reusing r10bio for discard put_all_bios() always… (CVE-2026-74376)
A vulnerability in the Linux kernel's md/raid10 subsystem was resolved by ensuring the read_slot field is reset when reusing r10bio structures for discard operations. The issue involved improper cleanup of replacement bios during discard, potentially leading to resource mismanagement.
AI Analysis
Technical Summary
The vulnerability in the Linux kernel md/raid10 code arises because put_all_bios() always drops devs[i].bio but only drops devs[i].repl_bio when r10_bio->read_slot is negative. When a discard operation reuses an r10bio previously used for a read, the read_slot can remain non-negative, causing the discard cleanup to skip bio_put() on repl_bio. The fix resets read_slot to -1 when preparing an r10bio for discard, ensuring the replacement bio is always correctly released.
Potential Impact
The vulnerability could lead to improper release of bio structures during discard operations in RAID10, potentially causing resource leaks or inconsistent state within the kernel's RAID subsystem. No direct exploit or impact on confidentiality, integrity, or availability is documented.
Mitigation Recommendations
A fix has been implemented in the Linux kernel to reset read_slot to -1 when reusing r10bio for discard, ensuring proper cleanup. Users should apply the official kernel updates containing this fix once available. Patch status is not explicitly confirmed in the provided data; check the vendor advisory for current remediation guidance.
In the Linux kernel, the following vulnerability has been resolved: md/raid10: reset read_slot when reusing r10bio for discard put_all_bios() always… (CVE-2026-74376)
Description
A vulnerability in the Linux kernel's md/raid10 subsystem was resolved by ensuring the read_slot field is reset when reusing r10bio structures for discard operations. The issue involved improper cleanup of replacement bios during discard, potentially leading to resource mismanagement.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in the Linux kernel md/raid10 code arises because put_all_bios() always drops devs[i].bio but only drops devs[i].repl_bio when r10_bio->read_slot is negative. When a discard operation reuses an r10bio previously used for a read, the read_slot can remain non-negative, causing the discard cleanup to skip bio_put() on repl_bio. The fix resets read_slot to -1 when preparing an r10bio for discard, ensuring the replacement bio is always correctly released.
Potential Impact
The vulnerability could lead to improper release of bio structures during discard operations in RAID10, potentially causing resource leaks or inconsistent state within the kernel's RAID subsystem. No direct exploit or impact on confidentiality, integrity, or availability is documented.
Mitigation Recommendations
A fix has been implemented in the Linux kernel to reset read_slot to -1 when reusing r10bio for discard, ensuring proper cleanup. Users should apply the official kernel updates containing this fix once available. Patch status is not explicitly confirmed in the provided data; check the vendor advisory for current remediation guidance.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-4w7v-gf5r-fhph
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-74376"]
- Ecosystems
- []
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a808b6abf8831d5394f663a
Added to database: 08/15/2026, 15:53:14 UTC
Last enriched: 08/15/2026, 16:06:08 UTC
Last updated: 08/15/2026, 16:06:08 UTC
Views: 1
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.