{"api_version":"1","generated_at":"2026-12-01T21:54:24+00:00","cve":"CVE-2026-139005","urls":{"html":"https://cve.report/CVE-2026-139005","api":"https://cve.report/api/cve/CVE-2026-139005.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-139005","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-139005"},"summary":{"title":"md/raid5: validate payload size before calculating payload_len","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nmd/raid5: validate payload size before calculating payload_len\n\nCommit b0cc3ae97e89 (\"md/raid5: validate payload size before accessing\njournal metadata\") introduced a bounds check to verify that a given payload\nfits into the current metadata block. In order to calculate the payload\nsize, it has to access the members payload->header.type and payload->size,\nthe offset of which may already be past the end of the metadata block,\nbecause the loop condition only checks that the first byte of the payload\nis inside, and the payload entries have variable sizes. Later on,\npayload->checksum[0] and payload->checksum[1] are accessed without\nverifying that payload->size is large enough.\n\nAdd another check to make sure that payload->size can be safely\naccessed, and make sure that the checksum fields are accessible.\n\nThis issue has been found by AI (gemma4, Gemini) during a backport\nreview.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-11-30 14:18:03","updated_at":"2026-11-30 14:18:03"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/708060d87b092e107504df4390aa83c4687c445f","name":"https://git.kernel.org/stable/c/708060d87b092e107504df4390aa83c4687c445f","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/38c795105992bbaa3418dd39cbff7348ad17537c","name":"https://git.kernel.org/stable/c/38c795105992bbaa3418dd39cbff7348ad17537c","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/ff790668336ec161eafa51856424df9c8532335c","name":"https://git.kernel.org/stable/c/ff790668336ec161eafa51856424df9c8532335c","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/62fb156158caacd865a6933fbb602597c3053e6f","name":"https://git.kernel.org/stable/c/62fb156158caacd865a6933fbb602597c3053e6f","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/f738b316264276c8456c5e7a706bd3f6ff157122","name":"https://git.kernel.org/stable/c/f738b316264276c8456c5e7a706bd3f6ff157122","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/5c9a7eea926fdaed105da882e3bf3c5d11ea26f8","name":"https://git.kernel.org/stable/c/5c9a7eea926fdaed105da882e3bf3c5d11ea26f8","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/9e2913245294f1b8390b8b5ecee67485f18cb432","name":"https://git.kernel.org/stable/c/9e2913245294f1b8390b8b5ecee67485f18cb432","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/022bee23973a10e19f1cd260825d4bbca63eb3a1","name":"https://git.kernel.org/stable/c/022bee23973a10e19f1cd260825d4bbca63eb3a1","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-139005","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139005","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected c96c6f01d84b5c67db1bf1cc8591c0b7146826fc 022bee23973a10e19f1cd260825d4bbca63eb3a1 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected ef4851d8324fd978ca1ff9ec76a275438f887743 ff790668336ec161eafa51856424df9c8532335c git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 28d3ff7109c66e99dc1b7cddacb5c760849620ef 62fb156158caacd865a6933fbb602597c3053e6f git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 33698bd1b2db9764a29df7751533d33967ff5c98 f738b316264276c8456c5e7a706bd3f6ff157122 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected c3a1cf78bd1bbb51b2cc5189b4743056553c1e0e 5c9a7eea926fdaed105da882e3bf3c5d11ea26f8 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 73ce72edd113374801045924d4417199963f73a3 9e2913245294f1b8390b8b5ecee67485f18cb432 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected b0cc3ae97e893bf54bbce447f4e9fd2e0b88bff9 708060d87b092e107504df4390aa83c4687c445f git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected b0cc3ae97e893bf54bbce447f4e9fd2e0b88bff9 38c795105992bbaa3418dd39cbff7348ad17537c git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 406aa86394ead347c47428fb51b6359bdaa2257d git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5.10.258 5.10.275 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5.15.209 5.15.226 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.1.175 6.1.193 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.6.140 6.6.163 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.12.86 6.12.117 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.18.27 6.18.63 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 7.0.4 7.1 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 7.1","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.1 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.10.275 5.10.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.15.226 5.15.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.1.193 6.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6.163 6.6.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.117 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.63 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.4 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-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/raid5-cache.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"022bee23973a10e19f1cd260825d4bbca63eb3a1","status":"affected","version":"c96c6f01d84b5c67db1bf1cc8591c0b7146826fc","versionType":"git"},{"lessThan":"ff790668336ec161eafa51856424df9c8532335c","status":"affected","version":"ef4851d8324fd978ca1ff9ec76a275438f887743","versionType":"git"},{"lessThan":"62fb156158caacd865a6933fbb602597c3053e6f","status":"affected","version":"28d3ff7109c66e99dc1b7cddacb5c760849620ef","versionType":"git"},{"lessThan":"f738b316264276c8456c5e7a706bd3f6ff157122","status":"affected","version":"33698bd1b2db9764a29df7751533d33967ff5c98","versionType":"git"},{"lessThan":"5c9a7eea926fdaed105da882e3bf3c5d11ea26f8","status":"affected","version":"c3a1cf78bd1bbb51b2cc5189b4743056553c1e0e","versionType":"git"},{"lessThan":"9e2913245294f1b8390b8b5ecee67485f18cb432","status":"affected","version":"73ce72edd113374801045924d4417199963f73a3","versionType":"git"},{"lessThan":"708060d87b092e107504df4390aa83c4687c445f","status":"affected","version":"b0cc3ae97e893bf54bbce447f4e9fd2e0b88bff9","versionType":"git"},{"lessThan":"38c795105992bbaa3418dd39cbff7348ad17537c","status":"affected","version":"b0cc3ae97e893bf54bbce447f4e9fd2e0b88bff9","versionType":"git"},{"status":"affected","version":"406aa86394ead347c47428fb51b6359bdaa2257d","versionType":"git"},{"lessThan":"5.10.275","status":"affected","version":"5.10.258","versionType":"semver"},{"lessThan":"5.15.226","status":"affected","version":"5.15.209","versionType":"semver"},{"lessThan":"6.1.193","status":"affected","version":"6.1.175","versionType":"semver"},{"lessThan":"6.6.163","status":"affected","version":"6.6.140","versionType":"semver"},{"lessThan":"6.12.117","status":"affected","version":"6.12.86","versionType":"semver"},{"lessThan":"6.18.63","status":"affected","version":"6.18.27","versionType":"semver"},{"lessThan":"7.1","status":"affected","version":"7.0.4","versionType":"semver"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/md/raid5-cache.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"7.1"},{"lessThan":"7.1","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"5.10.*","status":"unaffected","version":"5.10.275","versionType":"semver"},{"lessThanOrEqual":"5.15.*","status":"unaffected","version":"5.15.226","versionType":"semver"},{"lessThanOrEqual":"6.1.*","status":"unaffected","version":"6.1.193","versionType":"semver"},{"lessThanOrEqual":"6.6.*","status":"unaffected","version":"6.6.163","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.117","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.63","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.4","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.4-rc1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.10.275","versionStartIncluding":"5.10.258","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.15.226","versionStartIncluding":"5.15.209","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.1.193","versionStartIncluding":"6.1.175","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.163","versionStartIncluding":"6.6.140","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.117","versionStartIncluding":"6.12.86","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.63","versionStartIncluding":"6.18.27","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.4","versionStartIncluding":"7.1","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc1","versionStartIncluding":"7.1","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"7.0.4","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nmd/raid5: validate payload size before calculating payload_len\n\nCommit b0cc3ae97e89 (\"md/raid5: validate payload size before accessing\njournal metadata\") introduced a bounds check to verify that a given payload\nfits into the current metadata block. In order to calculate the payload\nsize, it has to access the members payload->header.type and payload->size,\nthe offset of which may already be past the end of the metadata block,\nbecause the loop condition only checks that the first byte of the payload\nis inside, and the payload entries have variable sizes. Later on,\npayload->checksum[0] and payload->checksum[1] are accessed without\nverifying that payload->size is large enough.\n\nAdd another check to make sure that payload->size can be safely\naccessed, and make sure that the checksum fields are accessible.\n\nThis issue has been found by AI (gemma4, Gemini) during a backport\nreview."}],"providerMetadata":{"dateUpdated":"2026-11-30T13:26:59.512Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/022bee23973a10e19f1cd260825d4bbca63eb3a1"},{"url":"https://git.kernel.org/stable/c/ff790668336ec161eafa51856424df9c8532335c"},{"url":"https://git.kernel.org/stable/c/62fb156158caacd865a6933fbb602597c3053e6f"},{"url":"https://git.kernel.org/stable/c/f738b316264276c8456c5e7a706bd3f6ff157122"},{"url":"https://git.kernel.org/stable/c/5c9a7eea926fdaed105da882e3bf3c5d11ea26f8"},{"url":"https://git.kernel.org/stable/c/9e2913245294f1b8390b8b5ecee67485f18cb432"},{"url":"https://git.kernel.org/stable/c/708060d87b092e107504df4390aa83c4687c445f"},{"url":"https://git.kernel.org/stable/c/38c795105992bbaa3418dd39cbff7348ad17537c"}],"title":"md/raid5: validate payload size before calculating payload_len","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-139005","datePublished":"2026-11-30T13:26:59.512Z","dateReserved":"2026-11-30T13:22:15.908Z","dateUpdated":"2026-11-30T13:26:59.512Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-30 14:18:03","lastModifiedDate":"2026-11-30 14:18:03","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"139005","Ordinal":"1","Title":"md/raid5: validate payload size before calculating payload_len","CVE":"CVE-2026-139005","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"139005","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nmd/raid5: validate payload size before calculating payload_len\n\nCommit b0cc3ae97e89 (\"md/raid5: validate payload size before accessing\njournal metadata\") introduced a bounds check to verify that a given payload\nfits into the current metadata block. In order to calculate the payload\nsize, it has to access the members payload->header.type and payload->size,\nthe offset of which may already be past the end of the metadata block,\nbecause the loop condition only checks that the first byte of the payload\nis inside, and the payload entries have variable sizes. Later on,\npayload->checksum[0] and payload->checksum[1] are accessed without\nverifying that payload->size is large enough.\n\nAdd another check to make sure that payload->size can be safely\naccessed, and make sure that the checksum fields are accessible.\n\nThis issue has been found by AI (gemma4, Gemini) during a backport\nreview.","Type":"Description","Title":"md/raid5: validate payload size before calculating payload_len"}]}}}