{"api_version":"1","generated_at":"2026-08-15T08:44:31+00:00","cve":"CVE-2026-74376","urls":{"html":"https://cve.report/CVE-2026-74376","api":"https://cve.report/api/cve/CVE-2026-74376.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-74376","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-74376"},"summary":{"title":"md/raid10: reset read_slot when reusing r10bio for discard","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nmd/raid10: reset read_slot when reusing r10bio for discard\n\nput_all_bios() always drops devs[i].bio, but it only drops\ndevs[i].repl_bio when r10_bio->read_slot < 0. If discard reuses an\nr10bio that was previously used for a read, read_slot can still be\nnon-negative, and discard cleanup can skip bio_put() on repl_bio.\n\nReset read_slot to -1 when preparing an r10bio for discard so the\nreplacement bio is always released correctly.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-08-15 06:22:39","updated_at":"2026-08-15 06:22:39"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/b7313f23ea5a79b199a007bfad64a866cc2c22e7","name":"https://git.kernel.org/stable/c/b7313f23ea5a79b199a007bfad64a866cc2c22e7","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/eb04e3e9c14ed15914f5fd2eae8b6435f54f095f","name":"https://git.kernel.org/stable/c/eb04e3e9c14ed15914f5fd2eae8b6435f54f095f","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/3cb2a606ce4902eceabe68338df0653312f861f8","name":"https://git.kernel.org/stable/c/3cb2a606ce4902eceabe68338df0653312f861f8","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/742e4afd247d9c972695227716b03d432a7e1d26","name":"https://git.kernel.org/stable/c/742e4afd247d9c972695227716b03d432a7e1d26","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/561c9711e4f545d6464a023168bdee03b00fa945","name":"https://git.kernel.org/stable/c/561c9711e4f545d6464a023168bdee03b00fa945","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/ce3030e92f14362880055de5fe3c258971118853","name":"https://git.kernel.org/stable/c/ce3030e92f14362880055de5fe3c258971118853","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/6b8a26af065ddc93de2aa5c9f0df98dce9723442","name":"https://git.kernel.org/stable/c/6b8a26af065ddc93de2aa5c9f0df98dce9723442","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-74376","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-74376","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected d30588b2731fb01e1616cf16c3fe79a1443e29aa 3cb2a606ce4902eceabe68338df0653312f861f8 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected d30588b2731fb01e1616cf16c3fe79a1443e29aa 561c9711e4f545d6464a023168bdee03b00fa945 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected d30588b2731fb01e1616cf16c3fe79a1443e29aa ce3030e92f14362880055de5fe3c258971118853 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected d30588b2731fb01e1616cf16c3fe79a1443e29aa 742e4afd247d9c972695227716b03d432a7e1d26 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected d30588b2731fb01e1616cf16c3fe79a1443e29aa b7313f23ea5a79b199a007bfad64a866cc2c22e7 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected d30588b2731fb01e1616cf16c3fe79a1443e29aa eb04e3e9c14ed15914f5fd2eae8b6435f54f095f git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected d30588b2731fb01e1616cf16c3fe79a1443e29aa 6b8a26af065ddc93de2aa5c9f0df98dce9723442 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5.13","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.13 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.15.212 5.15.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.1.178 6.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6.145 6.6.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.97 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.40 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.1.5 7.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.2-rc1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["drivers/md/raid10.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"3cb2a606ce4902eceabe68338df0653312f861f8","status":"affected","version":"d30588b2731fb01e1616cf16c3fe79a1443e29aa","versionType":"git"},{"lessThan":"561c9711e4f545d6464a023168bdee03b00fa945","status":"affected","version":"d30588b2731fb01e1616cf16c3fe79a1443e29aa","versionType":"git"},{"lessThan":"ce3030e92f14362880055de5fe3c258971118853","status":"affected","version":"d30588b2731fb01e1616cf16c3fe79a1443e29aa","versionType":"git"},{"lessThan":"742e4afd247d9c972695227716b03d432a7e1d26","status":"affected","version":"d30588b2731fb01e1616cf16c3fe79a1443e29aa","versionType":"git"},{"lessThan":"b7313f23ea5a79b199a007bfad64a866cc2c22e7","status":"affected","version":"d30588b2731fb01e1616cf16c3fe79a1443e29aa","versionType":"git"},{"lessThan":"eb04e3e9c14ed15914f5fd2eae8b6435f54f095f","status":"affected","version":"d30588b2731fb01e1616cf16c3fe79a1443e29aa","versionType":"git"},{"lessThan":"6b8a26af065ddc93de2aa5c9f0df98dce9723442","status":"affected","version":"d30588b2731fb01e1616cf16c3fe79a1443e29aa","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/md/raid10.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"5.13"},{"lessThan":"5.13","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"5.15.*","status":"unaffected","version":"5.15.212","versionType":"semver"},{"lessThanOrEqual":"6.1.*","status":"unaffected","version":"6.1.178","versionType":"semver"},{"lessThanOrEqual":"6.6.*","status":"unaffected","version":"6.6.145","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.97","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.40","versionType":"semver"},{"lessThanOrEqual":"7.1.*","status":"unaffected","version":"7.1.5","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.2-rc1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.15.212","versionStartIncluding":"5.13","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.1.178","versionStartIncluding":"5.13","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.145","versionStartIncluding":"5.13","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.97","versionStartIncluding":"5.13","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.40","versionStartIncluding":"5.13","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.1.5","versionStartIncluding":"5.13","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.2-rc1","versionStartIncluding":"5.13","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nmd/raid10: reset read_slot when reusing r10bio for discard\n\nput_all_bios() always drops devs[i].bio, but it only drops\ndevs[i].repl_bio when r10_bio->read_slot < 0. If discard reuses an\nr10bio that was previously used for a read, read_slot can still be\nnon-negative, and discard cleanup can skip bio_put() on repl_bio.\n\nReset read_slot to -1 when preparing an r10bio for discard so the\nreplacement bio is always released correctly."}],"providerMetadata":{"dateUpdated":"2026-08-15T05:58:55.023Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/3cb2a606ce4902eceabe68338df0653312f861f8"},{"url":"https://git.kernel.org/stable/c/561c9711e4f545d6464a023168bdee03b00fa945"},{"url":"https://git.kernel.org/stable/c/ce3030e92f14362880055de5fe3c258971118853"},{"url":"https://git.kernel.org/stable/c/742e4afd247d9c972695227716b03d432a7e1d26"},{"url":"https://git.kernel.org/stable/c/b7313f23ea5a79b199a007bfad64a866cc2c22e7"},{"url":"https://git.kernel.org/stable/c/eb04e3e9c14ed15914f5fd2eae8b6435f54f095f"},{"url":"https://git.kernel.org/stable/c/6b8a26af065ddc93de2aa5c9f0df98dce9723442"}],"title":"md/raid10: reset read_slot when reusing r10bio for discard","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-74376","datePublished":"2026-08-15T05:58:55.023Z","dateReserved":"2026-08-15T05:44:03.889Z","dateUpdated":"2026-08-15T05:58:55.023Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-08-15 06:22:39","lastModifiedDate":"2026-08-15 06:22:39","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"74376","Ordinal":"1","Title":"md/raid10: reset read_slot when reusing r10bio for discard","CVE":"CVE-2026-74376","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"74376","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nmd/raid10: reset read_slot when reusing r10bio for discard\n\nput_all_bios() always drops devs[i].bio, but it only drops\ndevs[i].repl_bio when r10_bio->read_slot < 0. If discard reuses an\nr10bio that was previously used for a read, read_slot can still be\nnon-negative, and discard cleanup can skip bio_put() on repl_bio.\n\nReset read_slot to -1 when preparing an r10bio for discard so the\nreplacement bio is always released correctly.","Type":"Description","Title":"md/raid10: reset read_slot when reusing r10bio for discard"}]}}}