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

media: saa7164: add ioremap return checks and cleanups

Add checks for ioremap return values in saa7164_dev_setup(). If
ioremap for BAR0 or BAR2 fails, release the already allocated PCI
memory regions, remove the device from the global list, decrement
the device count, and return -ENODEV.

This prevents potential null pointer dereferences and ensures proper
cleanup on memory mapping failures.
Published: 2026-05-28
Score: 5.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The saa7164 device setup routine in the Linux kernel media subsystem does not verify the return value of ioremap when mapping PCI device BAR0 or BAR2. If either mapping fails, the code continues to use the resulting null pointer, which can cause a kernel crash due to a null pointer dereference, a weakness identified as CWE-252.

Affected Systems

Any Linux system that loads the saa7164 media driver and is running a kernel version that lacks the recent patch adding NULL-check logic is vulnerable. Distributions shipping kernels before the commit identified in the references are at risk; updating to a kernel version that includes the fix removes the vulnerability.

Risk and Exploitability

The flaw is not listed in CISA KEV and the EPSS score is less than 1%, indicating that large‑scale exploitation has not been recorded and the probability of exploitation is low. However the CVSS score of 5.5 classifies it as a moderate‑severity local vulnerability. Based on the description, it is inferred that an attacker must have local or privileged access to trigger the saa7164 driver initialization, after which the unchecked return value could be exploited to bring the kernel down, resulting in a denial of service. The vulnerability exhibits characteristics of CWE-252 and CWE-476 and keeping the kernel patched is the recommended mitigations.

Generated by OpenCVE AI on June 10, 2026 at 23:09 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the operating system kernel to a version that includes the commit adding null-check logic for saa7164 ioremap mappings.
  • If an immediate kernel update is not possible, consider disabling or unloading the saa7164 driver when it is not required to mitigate the risk.
  • Regularly check distribution security updates and apply patches promptly to ensure the saa7164 driver fix is installed.

Generated by OpenCVE AI on June 10, 2026 at 23:09 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 10 Jun 2026 21:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-476

Mon, 01 Jun 2026 17:00:00 +0000


Fri, 29 May 2026 04:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-476

Fri, 29 May 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-252
References
Metrics threat_severity

None

cvssV3_1

{'score': 5.5, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'}

threat_severity

Low


Thu, 28 May 2026 13:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-476

Thu, 28 May 2026 10:15:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: media: saa7164: add ioremap return checks and cleanups Add checks for ioremap return values in saa7164_dev_setup(). If ioremap for BAR0 or BAR2 fails, release the already allocated PCI memory regions, remove the device from the global list, decrement the device count, and return -ENODEV. This prevents potential null pointer dereferences and ensures proper cleanup on memory mapping failures.
Title media: saa7164: add ioremap return checks and cleanups
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-06-14T18:04:45.615Z

Reserved: 2026-05-13T15:03:33.106Z

Link: CVE-2026-46235

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Analyzed

Published: 2026-05-28T10:16:39.143

Modified: 2026-06-10T21:10:40.253

Link: CVE-2026-46235

cve-icon Redhat

Severity : Low

Publid Date: 2026-05-28T00:00:00Z

Links: CVE-2026-46235 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-06-10T23:15:28Z

Weaknesses