CVE-2025-39846

pcmcia: Fix a NULL pointer dereference in __iodyn_find_io_region()

State
Published
Severity
Not scored
Published
Sep 19, 2025
Updated
May 12, 2026
Reserved
Apr 16, 2025

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 49b1153adfe18a3cce7e70aa26c690f275917cd0 to before b990c8c6ff50649ad3352507398e443b1e3527b2Affected
  • 49b1153adfe18a3cce7e70aa26c690f275917cd0 to before 5ff2826c998370bf7f9ae26fe802140d220e3510Affected
  • 49b1153adfe18a3cce7e70aa26c690f275917cd0 to before 4bd570f494124608a0696da070f00236a96fb610Affected
  • 49b1153adfe18a3cce7e70aa26c690f275917cd0 to before ce3b7766276894d2fbb07e2047a171f9deb965deAffected
  • 49b1153adfe18a3cce7e70aa26c690f275917cd0 to before 2ee32c4c4f636e474cd8ab7c19a68cf36072ea93Affected
  • 49b1153adfe18a3cce7e70aa26c690f275917cd0 to before fafa7450075f41d232bc785a4ebcbf16374f2076Affected
  • 49b1153adfe18a3cce7e70aa26c690f275917cd0 to before d7286005e8fde0a430dc180a9f46c088c7d74483Affected
  • 49b1153adfe18a3cce7e70aa26c690f275917cd0 to before 44822df89e8f3386871d9cad563ece8e2fd8f0e7Affected
LinuxLinux
  • 2.6.35Affected
  • before 2.6.35Not affected
  • 5.4.299 through 5.4.*Not affected
  • 5.10.243 through 5.10.*Not affected
  • 5.15.192 through 5.15.*Not affected
  • 6.1.151 through 6.1.*Not affected
  • 6.6.105 through 6.6.*Not affected
  • 6.12.46 through 6.12.*Not affected
  • 6.16.6 through 6.16.*Not affected
  • 6.17 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.