Skip to content
Heist/ feed
Back to feed
UnratedFix available

media: v4l2-async: avoid deleting unlinked ASC entry on link error

Type: advisorySources: OSV

In the Linux kernel, the following vulnerability has been resolved: media: v4l2-async: avoid deleting unlinked ASC entry on link error v4l2_async_match_notify() creates ancillary media links before adding asc->asc_subdev_entry to sd->asc_list. If ancillary link creation fails, the function jumps to err_call_unbind while asc_subdev_entry has not been linked yet. Async connections are zero-allocated, so the list entry still has NULL next and prev pointers on this path. Calling list_del() on it can therefore dereference NULL instead of returning the original link creation error. Do not delete asc_subdev_entry from err_call_unbind. There is no list insertion to undo on this path; the bound callback and sub-device registration are the operations that need to be rolled back.

Products
Kernel
Affected versions
Not specified
Fixed versions
6.12.110, 6.18.51, 6.6.157, 7.2.5
CVEs
CVE-2026-89874
Confirmed fixed CVEs
Not specified
Updated in this feed
5 Nov 2026, 04:03 UTC · Revision 1

Source evidence

media: v4l2-async: avoid deleting unlinked ASC entry on link error

core-osv · Original source

Published 16 Sept 2026, 10:31 UTC

In the Linux kernel, the following vulnerability has been resolved: media: v4l2-async: avoid deleting unlinked ASC entry on link error v4l2_async_match_notify() creates ancillary media links before adding asc->asc_subdev_entry to sd->asc_list. If ancillary link creation fails, the function jumps to err_call_unbind while asc_subdev_entry has not been linked yet. Async connections are zero-allocated, so the list entry still has NULL next and prev pointers on this path. Calling list_del() on it can therefore dereference NULL instead of returning the original link creation error. Do not delete asc_subdev_entry from err_call_unbind. There is no list insertion to undo on this path; the bound callback and sub-device registration are the operations that need to be rolled back.

osv:CVE-2026-89874

Kernel

Fixed versions: 6.6.157, 6.12.110, 6.18.51, 7.2.5

Complete source record
{
  "id": "9a3a1fad9ff5f7c49589dda499bd0d5795d1c5384d9ce3e415a46521a7bb6afb",
  "url": "https://osv.dev/vulnerability/CVE-2026-89874",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "media: v4l2-async: avoid deleting unlinked ASC entry on link error",
    "summary": "In the Linux kernel, the following vulnerability has been resolved: media: v4l2-async: avoid deleting unlinked ASC entry on link error v4l2_async_match_notify() creates ancillary media links before adding asc->asc_subdev_entry to sd->asc_list. If ancillary link creation fails, the function jumps to err_call_unbind while asc_subdev_entry has not been linked yet. Async connections are zero-allocated, so the list entry still has NULL next and prev pointers on this path. Calling list_del() on it can therefore dereference NULL instead of returning the original link creation error. Do not delete asc_subdev_entry from err_call_unbind. There is no list insertion to undo on this path; the bound callback and sub-device registration are the operations that need to be rolled back.",
    "evidence": "osv:CVE-2026-89874",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "6.6.157",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.12.110",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.18.51",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "7.2.5",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2026-89874",
      "aliases": [
        "CVE-2026-89874"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "28a1295795d85a25f2e7dd391c43969e95fcb341"
                },
                {
                  "fixed": "d273571e531405426983c6a45ec635c7d0415eed"
                },
                {
                  "fixed": "caac13f518d83974e9884d1eeda3d4cc3bb92978"
                },
                {
                  "fixed": "3345746e0957bce6c53644838e4955710a82a962"
                },
                {
                  "fixed": "a57d94026cb4fd7b3d258f0db2ad391cbccfaba5"
                },
                {
                  "fixed": "47d82b605351c0e04f6365e42c8ffe2fcfdba615"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-89874.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.6.0"
                },
                {
                  "fixed": "6.6.157"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.7.0"
                },
                {
                  "fixed": "6.12.110"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.13.0"
                },
                {
                  "fixed": "6.18.51"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.19.0"
                },
                {
                  "fixed": "7.2.5"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-89874.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:42.230539402Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/3345746e0957bce6c53644838e4955710a82a962",
        "https://git.kernel.org/stable/c/47d82b605351c0e04f6365e42c8ffe2fcfdba615",
        "https://git.kernel.org/stable/c/a57d94026cb4fd7b3d258f0db2ad391cbccfaba5",
        "https://git.kernel.org/stable/c/caac13f518d83974e9884d1eeda3d4cc3bb92978",
        "https://git.kernel.org/stable/c/d273571e531405426983c6a45ec635c7d0415eed",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/89xxx/CVE-2026-89874.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-89874",
        "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/89xxx/CVE-2026-89874.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-89874",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 510109,
  "published_at": "2026-09-16T10:31:42.054+00:00"
}