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

media: cx23885: add ioremap return check and cleanup

Add a check for the return value of pci_ioremap_bar()
in cx23885_dev_setup().
If ioremap for BAR0 fails, release the already allocated
PCI memory region,
decrement the device count, and return -ENODEV.

This prevents a potential null pointer dereference and
ensures proper cleanup
on memory mapping failure.
Published: 2026-08-10
Score: n/a
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

In the Linux kernel, the cx23885 media driver lacked a check on the return value of pci_ioremap_bar(), which could cause a null pointer dereference during device initialization. If the kernel module attempted to map a PCI region that failed, the driver would dereference a null pointer, potentially causing a kernel panic or crash, exposing the system to a denial‑of‑service condition and offering an escape for privilege escalation.

Affected Systems

The vulnerability impacts the Linux kernel’s media driver for the cx23885 device. All Linux kernel releases before the patch that added the ioremap return check are affected. The specific version range is not detailed in the advisory, so any kernel containing the unpatched cx23885 driver may be vulnerable.

Risk and Exploitability

The EPSS score is not available and the vulnerability is not listed in the CISA KEV catalog, which limits precise exploitation probability assessment. Nevertheless, the flaw requires a PCI device that uses the cx23885 driver and a local or remote ability to probe the device, making the attack vector local. An attacker can trigger the flaw by inserting or probing the device, leading to a kernel fault. After the patch, the driver cleanly releases resources and returns an error code, removing the vulnerability.

Generated by OpenCVE AI on August 10, 2026 at 14:58 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the kernel to a release that includes the commit adding the ioremap return check (e.g., any kernel following the patch referenced by 83540d86d717735b52a43e4ba1b784da5c)
  • If a kernel update is not possible, prevent the cx23885 driver from loading by blacklisting it (add "blacklist cx23885" to /etc/modprobe.d/blacklist.conf or use modprobe -r cx23885)
  • Restrict PCI device and driver access so that only privileged users can load the driver, and monitor system logs for abnormal dmesg entries related to PCI mapping failures

Generated by OpenCVE AI on August 10, 2026 at 14:58 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 10 Aug 2026 15:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-476

Mon, 10 Aug 2026 12:30:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: media: cx23885: add ioremap return check and cleanup Add a check for the return value of pci_ioremap_bar() in cx23885_dev_setup(). If ioremap for BAR0 fails, release the already allocated PCI memory region, decrement the device count, and return -ENODEV. This prevents a potential null pointer dereference and ensures proper cleanup on memory mapping failure.
Title media: cx23885: add ioremap return check and cleanup
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-08-10T12:00:48.349Z

Reserved: 2026-07-30T09:28:09.376Z

Link: CVE-2026-68226

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-10T18:30:04Z

Weaknesses