media: saa7164: fix cleanup on resource allocation failure (Linux Linux)

CVE-2026-89877
HIGH 8.4

At a glance

Source
NVD
EPSS
EPSS 0.18 % · percentile 8 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Received

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.

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 8.4CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1HIGH 8.4CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)

European references

CERT-FR advisories

Affected products

ProductVersions
Linux · Linuxaffected 443c1228d50518f3c550e1fef490a2c9d9246ce7 < ac9d7ca8199c64c320ba8177e3c0f7b0deb7ff06 ; affected 443c1228d50518f3c550e1fef490a2c9d9246ce7 < 99bf01e2563f8bdfe5f25e489596cff455a35d6b ; affected 443c1228d50518f3c550e1fef490a2c9d9246ce7 < daa5b32cdf7db81a07ee2a91ce092a363e7754aa ; affected 443c1228d50518f3c550e1fef490a2c9d9246ce7 < 77f216f8de6221efb6f6c471bc9e598f1879825b ; affected 443c1228d50518f3c550e1fef490a2c9d9246ce7 < 69259c627009bf7621010ae9e997dad2dad3339c ; affected 443c1228d50518f3c550e1fef490a2c9d9246ce7 < 4d2048466af9e2c960c5be6dcd317e3b657d268b
Linux · Linuxaffected 2.6.32 ; unaffected 0 < 2.6.32 ; unaffected 5.10.273 ≤ 5.10.* ; unaffected 5.15.224 ≤ 5.15.* ; unaffected 6.1.188 ≤ 6.1.* ; unaffected 6.6.157 ≤ 6.6.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD