CVE Database›Document archive›CVE-2025-39846

CVE-2025-39846

kernel: pcmcia: Fix a NULL pointer dereference in __iodyn_find_io_region()

Loading…

Severity

Unknown

Red Hat Product Security

—

CVSS

Review impact separately from score.

Published · September 19, 2025

Updated · June 30, 2026

Description

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

pcmcia: Fix a NULL pointer dereference in __iodyn_find_io_region()

In __iodyn_find_io_region(), pcmcia_make_resource() is assigned to res and used in pci_bus_alloc_resource(). There is a dereference of res in pci_bus_alloc_resource(), which could lead to a NULL pointer dereference on failure of pcmcia_make_resource().

Fix this bug by adding a check of res.

Mitigation

No mitigation is specified in collected source.

CVSS / CWE

CWE not specified