CVE-2026-139005

md/raid5: validate payload size before calculating payload_len

No CVSS score yet EPSS 0.22%

Published 30 Nov 2026 Updated 30 Nov 2026 CNA: Linux

Check your servers for CVE-2026-139005

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-139005 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

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.

Exploitation

EPSS 0.22%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 13.2% of all scored CVEs. Scores of 1 Dec 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from c96c6f01d84b5c67db1bf1cc8591c0b7146826fc, before 022bee23973a10e19f1cd260825d4bbca63eb3a1
affected from ef4851d8324fd978ca1ff9ec76a275438f887743, before ff790668336ec161eafa51856424df9c8532335c
affected from 28d3ff7109c66e99dc1b7cddacb5c760849620ef, before 62fb156158caacd865a6933fbb602597c3053e6f
affected from 33698bd1b2db9764a29df7751533d33967ff5c98, before f738b316264276c8456c5e7a706bd3f6ff157122
affected from c3a1cf78bd1bbb51b2cc5189b4743056553c1e0e, before 5c9a7eea926fdaed105da882e3bf3c5d11ea26f8
affected from 73ce72edd113374801045924d4417199963f73a3, before 9e2913245294f1b8390b8b5ecee67485f18cb432
affected from b0cc3ae97e893bf54bbce447f4e9fd2e0b88bff9, before 708060d87b092e107504df4390aa83c4687c445f
affected from b0cc3ae97e893bf54bbce447f4e9fd2e0b88bff9, before 38c795105992bbaa3418dd39cbff7348ad17537c
affected 406aa86394ead347c47428fb51b6359bdaa2257d
affected from 5.10.258, before 5.10.275
affected from 5.15.209, before 5.15.226
affected from 6.1.175, before 6.1.193
affected from 6.6.140, before 6.6.163
affected from 6.12.86, before 6.12.117
affected from 6.18.27, before 6.18.63
affected from 7.0.4, before 7.1
Other versions: unaffected
Linux
affected 7.1
unaffected before 7.1
unaffected from 5.10.275 up to and including 5.10.*
unaffected from 5.15.226 up to and including 5.15.*
unaffected from 6.1.193 up to and including 6.1.*
unaffected from 6.6.163 up to and including 6.6.*
unaffected from 6.12.117 up to and including 6.12.*
unaffected from 6.18.63 up to and including 6.18.*
unaffected from 7.3.4 up to and including 7.3.*
unaffected 7.4-rc1 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-139005 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-139005

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2026-139005
trivy image --scanners vuln IMAGE | grep CVE-2026-139005

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2026-139005 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.