Skip to content
CVE PROGRAM SOURCE RECORD8.4 High

CVE-2026-89877

media: saa7164: fix cleanup on resource allocation failure

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 443c1228d50518f3c550e1fef490a2c9d9246ce7 to < ac9d7ca8199c64c320ba8177e3c0f7b0deb7ff06affected
  • 443c1228d50518f3c550e1fef490a2c9d9246ce7 to < 99bf01e2563f8bdfe5f25e489596cff455a35d6baffected
  • 443c1228d50518f3c550e1fef490a2c9d9246ce7 to < daa5b32cdf7db81a07ee2a91ce092a363e7754aaaffected
  • 443c1228d50518f3c550e1fef490a2c9d9246ce7 to < 77f216f8de6221efb6f6c471bc9e598f1879825baffected
  • 443c1228d50518f3c550e1fef490a2c9d9246ce7 to < 69259c627009bf7621010ae9e997dad2dad3339caffected
  • 443c1228d50518f3c550e1fef490a2c9d9246ce7 to < 4d2048466af9e2c960c5be6dcd317e3b657d268baffected
  • 443c1228d50518f3c550e1fef490a2c9d9246ce7 to < fc65623524b5bf23baddc6ae688d954fba0d5de2affected
  • 443c1228d50518f3c550e1fef490a2c9d9246ce7 to < 28e84c6e2e6753ed238ea097b2842a32a6a6879baffected

Linux Linux

Default version status: affected

  • 2.6.32affected
  • 0 to < 2.6.32unaffected
  • 5.10.273 to ≤ 5.10.*unaffected
  • 5.15.224 to ≤ 5.15.*unaffected
  • 6.1.188 to ≤ 6.1.*unaffected
  • 6.6.157 to ≤ 6.6.*unaffected
  • 6.12.110 to ≤ 6.12.*unaffected
  • 6.18.51 to ≤ 6.18.*unaffected
  • 7.2.5 to ≤ 7.2.*unaffected
  • 7.3 to ≤ *unaffected

References