Missing payload size check in Linux kernel md/raid5 journal
Key facts
- Attack vector
- —
- Privileges required
- —
- User interaction
- —
- Attack complexity
- —
- Impact type
- —
- Confidentiality · integrity · availability
- —
- Fix status
- Partial Red Hat: 1 without a fix
No CVSS vector from any source. Fix status from CNA and Red Hat.
Summary
The md/raid5 driver in the Linux kernel reads RAID 5 journal payload fields before checking that they lie inside the metadata block. Payload entries have variable sizes, so the size and checksum fields can lie past the end of the block and are read unchecked. Affected are Linux kernel 5.10.258 before 5.10.275, 5.15.209 before 5.15.226, 6.1.175 before 6.1.193, 6.6.140 before 6.6.163, 6.12.86 before 6.12.117, 6.18.27 before 6.18.63 and 7.0.4 before 7.1.
Written with Claude Haiku 5.5 from the sources below · 2026-12-01
Description from the CNA
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Linux | Linux | 5.10.258 to before 5.10.275; 5.15.209 to before 5.15.226; 6.1.175 to before 6.1.193; 6.6.140 to before 6.6.163; 6.12.86 to before 6.12.117; 6.18.27 to before 6.18.63; 7.0.4 to before 7.1 | 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.117, 6.18.63, 7.1 | Patch available | CNA |
| Linux | Linux | 7.1 and later | 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.117, 6.18.63, 7.3.4, 7.4-rc1 | Patch available | CNA |
- Linux VendorLinux Affected 5.10.258 to before 5.10.275; 5.15.209 to before 5.15.226; 6.1.175 to before 6.1.193; 6.6.140 to before 6.6.163; 6.12.86 to before 6.12.117; 6.18.27 to before 6.18.63; 7.0.4 to before 7.1 Fixed in 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.117, 6.18.63, 7.1 Patch available CNA
- Linux VendorLinux Affected 7.1 and later Fixed in 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.117, 6.18.63, 7.3.4, 7.4-rc1 Patch available CNA
Remediation
Upgrade the Linux kernel to 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.117, 6.18.63, 7.1, 7.3.4 or 7.4-rc1, depending on the branch in use. Red Hat lists Red Hat Enterprise Linux 10 as affected, with the plan none available.
Written with Claude Haiku 5.5 from the sources below · 2026-12-01
- Fix · CNA Linux (Linux) Fixed in 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.117, 6.18.63, 7.1
- Fix · CNA Linux (Linux) Fixed in 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.117, 6.18.63, 7.3.4, 7.4-rc1
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 10 | Affected | No fix yet: Fix deferred |
Not affected: 6 products
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
- Red Hat OpenShift Container Platform 4
- Red Hat OpenShift Container Platform 5
Timeline
- 2026-11-30 Threatist record created from CVE-2026-139005
- 2026-11-30 Alias added: GHSA-c62x-xg88-2qh7
- 2026-12-01 Affected versions changed · Red Hat
- 2026-12-01 CVSS score added · Red Hat
References
Other 8
- https://git.kernel.org/stable/c/022bee23973a10e19f1cd260825d4bbca63eb3a1
- https://git.kernel.org/stable/c/ff790668336ec161eafa51856424df9c8532335c
- https://git.kernel.org/stable/c/62fb156158caacd865a6933fbb602597c3053e6f
- https://git.kernel.org/stable/c/f738b316264276c8456c5e7a706bd3f6ff157122
- https://git.kernel.org/stable/c/5c9a7eea926fdaed105da882e3bf3c5d11ea26f8
- https://git.kernel.org/stable/c/9e2913245294f1b8390b8b5ecee67485f18cb432
- https://git.kernel.org/stable/c/708060d87b092e107504df4390aa83c4687c445f
- https://git.kernel.org/stable/c/38c795105992bbaa3418dd39cbff7348ad17537c
More Linux vulnerabilities
- TI-2025-26358 Zero-length TLS records mishandled on rx_list in Linux kernel KEVCVSS 3.1CRITICAL 9.8
- TI-2026-38352 Out-of-bounds write in Linux kernel ebtables SNAT ARP rewrite KEVCVSS 3.1HIGH 8.8
- TI-2021-02452 Overlayfs flaw in Linux kernel lets attackers gain elevated privileges KEVCVSS 3.1HIGH 8.8
- TI-2013-05264 Missing address checks in Linux kernel get_user and put_user on ARM KEVCVSS 3.1HIGH 8.8
- TI-2022-00125 Heap overflow in Linux kernel lets local users escalate privileges KEVCVSS 3.1HIGH 8.4
- TI-2013-01864 Wrong integer type in Linux kernel perf_swevent_init KEVCVSS 3.1HIGH 8.4
Sources
- CVE-2026-139005 · CVE Program
- CVE-2026-139005 · NVD
- GHSA-c62x-xg88-2qh7 · GitHub Advisory Database · CC BY 4.0
- CVE-2026-139005 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences