CVE-2026-43146

media: iris: Add buffer to list only after successful allocation

Published May 6, 2026 CVSS 3.1 · 5.5 Medium EPSS < 1% KEV · Not listed
Description
In the Linux kernel, the following vulnerability has been resolved:

media: iris: Add buffer to list only after successful allocation

Move `list_add_tail()` to after `dma_alloc_attrs()` succeeds when creating
internal buffers. Previously, the buffer was enqueued in `buffers->list`
before the DMA allocation. If the allocation failed, the function returned
`-ENOMEM` while leaving a partially initialized buffer in the list, which
could lead to inconsistent state and potential leaks.

By adding the buffer to the list only after `dma_alloc_attrs()` succeeds,
we ensure the list contains only valid, fully initialized buffers.

Analysis

AI-generated

Technical impact

A flaw in the Linux kernel media subsystem allows a partially initialized buffer to be added to the internal buffers list even when its DMA allocation fails. The buffer remains in the list in a corrupted state, and any later code that traverses this list may operate on invalid data, potentially leading to data leaks or a kernel crash. This is a classic instance of partial initialization of kernel memory that can be exploited for improper use of pointers (CWE‑908, NVD-CWE-noinfo).

Affected Systems

All Linux kernel distributions that include the media:iris component and have not applied the patch that moves the list addition after a successful DMA allocation are affected. The commit fixing the issue was merged into the kernel source in early 2026, so any kernel releases before that point remain vulnerable.

Risk and Exploitability

The likely attack vector is local or privileged execution that triggers the media subsystem’s DMA allocation routine. Because the defect exists in kernel code, remote exploitation would first require elevated privileges. The EPSS score is < 1% and the CVSS score is 5.5, and the vulnerability is not listed in the CISA KEV catalog, indicating no documented exploitation. The overall risk is moderate: a local condition that forces the dirty list item into use can cause a kernel panic, resulting in a denial of service for the affected system.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a version that includes the fix moving the list addition after successful dma_alloc_attrs.
  • For kernels that are custom‑built or cannot be upgraded, manually apply the source change—move the list_add_tail() call to after dma_alloc_attrs() succeeds in the media:iris implementation—and rebuild the kernel.
  • After applying the patch or recompilation, reboot the system or reload the affected module so that the corrected code is active.

Generated by OpenCVE AI on May 13, 2026 at 21:49 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses NVD-CWE-noinfo
Metrics cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

Type Values Removed Values Added
Weaknesses CWE-457
Type Values Removed Values Added
Weaknesses CWE-457
Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: media: iris: Add buffer to list only after successful allocation Move `list_add_tail()` to after `dma_alloc_attrs()` succeeds when creating internal buffers. Previously, the buffer was enqueued in `buffers->list` before the DMA allocation. If the allocation failed, the function returned `-ENOMEM` while leaving a partially initialized buffer in the list, which could lead to inconsistent state and potential leaks. By adding the buffer to the list only after `dma_alloc_attrs()` succeeds, we ensure the list contains only valid, fully initialized buffers.
Title media: iris: Add buffer to list only after successful allocation
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
May 11, 2026, 10:18 PM
Reserved
May 1, 2026, 2:12 PM
Status
Analyzed
Published
May 6, 2026, 12:16 PM
Modified
Nov 11, 2026, 9:10 PM
Severity
Public date
May 6, 2026, 12:00 AM