CVE Catalog

CVE-2026-89877

HighCVSS 8.4
Published: Updated: Translated: NVD NIST

Summary

In the Linux kernel, the media saa7164 driver's saa7164_dev_setup() adds the device to the global saa7164_devlist before requesting the PCI BAR memory regions. When get_resources() fails, the device remains on the list while the probe error path frees it, leaving a dangling entry.

Risk Assessment

A dangling entry on the global list can lead to a use-after-free and kernel crash. It occurs on PCI resource allocation failures.

Recommendation

Update the Linux kernel to a version that removes the device from saa7164_devlist and releases BAR0 if the BAR2 request fails.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS