Skip to content
Heist/ feed
Back to feed
UnratedFix available

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

Type: advisorySources: OSV

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.

Products
Kernel
Affected versions
Not specified
Fixed versions
6.18.16, 6.19.6
CVEs
CVE-2026-43146
Confirmed fixed CVEs
Not specified
Updated in this feed
5 Nov 2026, 04:24 UTC · Revision 1

Source evidence

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

core-osv · Original source

Published 6 May 2026, 11:27 UTC

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.

osv:CVE-2026-43146

Kernel

Fixed versions: 6.18.16, 6.19.6

Complete source record
{
  "id": "6d6a61a858cab7d0af18a216f49e06dd6f3e2a8641a94f9bc9af87f4422fa7ee",
  "url": "https://osv.dev/vulnerability/CVE-2026-43146",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "media: iris: Add buffer to list only after successful allocation",
    "summary": "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.",
    "evidence": "osv:CVE-2026-43146",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "6.18.16",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.19.6",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2026-43146",
      "aliases": [
        "CVE-2026-43146"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "73702f45db81b74897b2808aaa13484826156006"
                },
                {
                  "fixed": "45b30f65feeb4d5570d5337793bb0f298be813d2"
                },
                {
                  "fixed": "98b4c4c90f1e11caecbe2093dbe3a901d338bc81"
                },
                {
                  "fixed": "2d0bbd982dfdd67da488a772f7a8a1bdca7642bf"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-43146.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.15.0"
                },
                {
                  "fixed": "6.18.16"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.19.0"
                },
                {
                  "fixed": "6.19.6"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-43146.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:42.465349897Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/2d0bbd982dfdd67da488a772f7a8a1bdca7642bf",
        "https://git.kernel.org/stable/c/45b30f65feeb4d5570d5337793bb0f298be813d2",
        "https://git.kernel.org/stable/c/98b4c4c90f1e11caecbe2093dbe3a901d338bc81",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/43xxx/CVE-2026-43146.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-43146",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/43xxx/CVE-2026-43146.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-43146",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 510266,
  "published_at": "2026-05-06T11:27:29.562+00:00"
}