Bug 2586847 (CVE-2026-139005) - CVE-2026-139005 kernel: kernel: Denial of Service via out-of-bounds read in raid5 journal recovery
Summary: CVE-2026-139005 kernel: kernel: Denial of Service via out-of-bounds read in r...
Keywords:
Status: NEW
Alias: CVE-2026-139005
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-11-30 14:44 UTC by OSIDB Bzimport
Modified: 2026-12-01 03:12 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-11-30 14:44:00 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.