CVE-2026-89877

media: saa7164: fix cleanup on resource allocation failure

8.4 high EPSS 0.20%

Published 16 Sep 2026 Updated 30 Oct 2026 CNA: Linux

Check your servers for CVE-2026-89877

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-89877 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

Description

In the Linux kernel, the following vulnerability has been resolved:

media: saa7164: fix cleanup on resource allocation failure

saa7164_dev_setup() adds the device to the global saa7164_devlist before requesting the PCI BAR memory regions.

If get_resources() fails, saa7164_dev_setup() decrements the device count and returns an error, but leaves the device on saa7164_devlist. The probe error path then frees the device, leaving a dangling entry on the global list.

Reuse the existing MMIO mapping error path to remove the device from saa7164_devlist and decrement the device count before returning.

Also release BAR0 if it was successfully requested but the BAR2 request fails.

Severity (CVSS)

8.4 high CVSS 3.1 from Linux (CNA)
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack vector
local: the attacker needs local access, or a user has to open a prepared file
Attack complexity
low: an attack works without special conditions
Privileges required
none: the attacker does not need an account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 0.20%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 5.29% of all scored CVEs. Scores of 29 Nov 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 443c1228d50518f3c550e1fef490a2c9d9246ce7, before ac9d7ca8199c64c320ba8177e3c0f7b0deb7ff06
affected from 443c1228d50518f3c550e1fef490a2c9d9246ce7, before 99bf01e2563f8bdfe5f25e489596cff455a35d6b
affected from 443c1228d50518f3c550e1fef490a2c9d9246ce7, before daa5b32cdf7db81a07ee2a91ce092a363e7754aa
affected from 443c1228d50518f3c550e1fef490a2c9d9246ce7, before 77f216f8de6221efb6f6c471bc9e598f1879825b
affected from 443c1228d50518f3c550e1fef490a2c9d9246ce7, before 69259c627009bf7621010ae9e997dad2dad3339c
affected from 443c1228d50518f3c550e1fef490a2c9d9246ce7, before 4d2048466af9e2c960c5be6dcd317e3b657d268b
affected from 443c1228d50518f3c550e1fef490a2c9d9246ce7, before fc65623524b5bf23baddc6ae688d954fba0d5de2
affected from 443c1228d50518f3c550e1fef490a2c9d9246ce7, before 28e84c6e2e6753ed238ea097b2842a32a6a6879b
Other versions: unaffected
Linux
affected 2.6.32
unaffected before 2.6.32
unaffected from 5.10.273 up to and including 5.10.*
unaffected from 5.15.224 up to and including 5.15.*
unaffected from 6.1.188 up to and including 6.1.*
unaffected from 6.6.157 up to and including 6.6.*
unaffected from 6.12.110 up to and including 6.12.*
unaffected from 6.18.51 up to and including 6.18.*
unaffected from 7.2.5 up to and including 7.2.*
unaffected 7.3 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-89877 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-89877

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2026-89877
trivy image --scanners vuln IMAGE | grep CVE-2026-89877

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2026-89877 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.