0.0
NA
CVE-2026-139005
md/raid5: validate payload size before calculating payload_len
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.

INFO

Published Date :

Nov. 30, 2026, 2:18 p.m.

Last Modified :

Nov. 30, 2026, 2:18 p.m.

Remotely Exploit :

No

Source :

416baaa9-dc9f-4396-8d5f-8c081fb06d67
Affected Products

The following products are affected by CVE-2026-139005 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Linux linux_kernel
Solution
Apply kernel updates to fix memory corruption vulnerabilities in RAID5.
  • Update the Linux kernel.
  • Apply the patch b0cc3ae97e89.
  • Ensure payload size checks are validated.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2026-139005 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2026-139005 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2026-139005 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2026-139005 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67

    Nov. 30, 2026

    Action Type Old Value New Value
    Added 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.
    Added Affected New affected value received. <a href="https://github.com/CVEProject/cvelistV5/blob/main/cves/2026/139xxx/CVE-2026-139005.json">CVE-2026-139005</a>
    Added Reference https://git.kernel.org/stable/c/022bee23973a10e19f1cd260825d4bbca63eb3a1
    Added Reference https://git.kernel.org/stable/c/38c795105992bbaa3418dd39cbff7348ad17537c
    Added Reference https://git.kernel.org/stable/c/5c9a7eea926fdaed105da882e3bf3c5d11ea26f8
    Added Reference https://git.kernel.org/stable/c/62fb156158caacd865a6933fbb602597c3053e6f
    Added Reference https://git.kernel.org/stable/c/708060d87b092e107504df4390aa83c4687c445f
    Added Reference https://git.kernel.org/stable/c/9e2913245294f1b8390b8b5ecee67485f18cb432
    Added Reference https://git.kernel.org/stable/c/f738b316264276c8456c5e7a706bd3f6ff157122
    Added Reference https://git.kernel.org/stable/c/ff790668336ec161eafa51856424df9c8532335c
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.