CVE-2026-139005 md/raid5: validate payload size before calculating payload_len

Published Updated

CVSS score

Not scored

No CVSS score published yet
Exploited in the wild
Not known
Not in CISA's KEV catalogue
Exploit code
None known
No public exploit found
Fix
Available
See affected versions
Attack path
Not stated

What is CVE-2026-139005?

CVE-2026-139005 is a vulnerability in Linux, published on 30 Nov 2026.

Official description

In the Linux kernel, the following vulnerability has been resolved:

md/raid5: validate payload size before calculating payload_len

Commit b0cc3ae97e89 ("md/raid5: validate payload size before accessing journal metadata") introduced a bounds check to verify that a given payload fits into the current metadata block. In order to calculate the payload size, it has to access the members payload->header.type and payload->size, the offset of which may already be past the end of the metadata block, because the loop condition only checks that the first byte of the payload is inside, and the payload entries have variable sizes. Later on, payload->checksum[0] and payload->checksum[1] are accessed without verifying that payload->size is large enough.

Add another check to make sure that payload->size can be safely accessed, and make sure that the checksum fields are accessible.

This issue has been found by AI (gemma4, Gemini) during a backport review.

Which versions are affected by CVE-2026-139005?

How do I fix CVE-2026-139005?

Upgrade to a fixed version.

Is CVE-2026-139005 being exploited?

There is no known exploitation of CVE-2026-139005 in the wild and no public exploit code.

Sources

Also known as BELL-CVE-2026-139005, DEBIAN-CVE-2026-139005, GHSA-c62x-xg88-2qh7, UBUNTU-CVE-2026-139005.

Is CVE-2026-139005 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free