media: v4l2-async: avoid deleting unlinked ASC entry on link error
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.
CVE-2026-89874
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: cve:CVE-2026-89874
Linux
Source reference: /containers/cna/affected/0/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Linux
Source reference: /containers/cna/affected/1/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "28a1295795d85a25f2e7dd391c43969e95fcb341",
"lessThan": "d273571e531405426983c6a45ec635c7d0415eed",
"versionType": "git"
},
{
"status": "affected",
"version": "28a1295795d85a25f2e7dd391c43969e95fcb341",
"lessThan": "caac13f518d83974e9884d1eeda3d4cc3bb92978",
"versionType": "git"
},
{
"status": "affected",
"version": "28a1295795d85a25f2e7dd391c43969e95fcb341",
"lessThan": "3345746e0957bce6c53644838e4955710a82a962",
"versionType": "git"
},
{
"status": "affected",
"version": "28a1295795d85a25f2e7dd391c43969e95fcb341",
"lessThan": "a57d94026cb4fd7b3d258f0db2ad391cbccfaba5",
"versionType": "git"
},
{
"status": "affected",
"version": "28a1295795d85a25f2e7dd391c43969e95fcb341",
"lessThan": "47d82b605351c0e04f6365e42c8ffe2fcfdba615",
"versionType": "git"
}
],
"programFiles": [
"drivers/media/v4l2-core/v4l2-async.c"
],
"defaultStatus": "unaffected"
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "6.6"
},
{
"status": "unaffected",
"version": "0",
"lessThan": "6.6",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "6.6.157",
"versionType": "semver",
"lessThanOrEqual": "6.6.*"
},
{
"status": "unaffected",
"version": "6.12.110",
"versionType": "semver",
"lessThanOrEqual": "6.12.*"
},
{
"status": "unaffected",
"version": "6.18.51",
"versionType": "semver",
"lessThanOrEqual": "6.18.*"
},
{
"status": "unaffected",
"version": "7.2.5",
"versionType": "semver",
"lessThanOrEqual": "7.2.*"
},
{
"status": "unaffected",
"version": "7.3",
"versionType": "original_commit_for_fix",
"lessThanOrEqual": "*"
}
],
"programFiles": [
"drivers/media/v4l2-core/v4l2-async.c"
],
"defaultStatus": "affected"
}
]- Related CVEs
- CVE-2026-89874
Source reference:
/cveMetadata/cveId
Publisher severity
No explicit severity was provided.
- Event
- #36324 · Revision 1
- Added to Heist Feed
- Publisher date