# CVE-2025-39846: pcmcia: Fix a NULL pointer dereference in __iodyn_find_io_region()

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 6% of CVEs (2026-12-01)
- Published: 2025-09-19T15:26:19.932Z
- Modified: 2026-10-19T21:10:00.160Z
- Weaknesses: CWE-476
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 49b1153adfe18a3cce7e70aa26c690f275917cd0 before b990c8c6ff50649ad3352507398e443b1e3527b2; from 49b1153adfe18a3cce7e70aa26c690f275917cd0 before 5ff2826c998370bf7f9ae26fe802140d220e3510; from 49b1153adfe18a3cce7e70aa26c690f275917cd0 before 4bd570f494124608a0696da070f00236a96fb610; from 49b1153adfe18a3cce7e70aa26c690f275917cd0 before ce3b7766276894d2fbb07e2047a171f9deb965de; from 49b1153adfe18a3cce7e70aa26c690f275917cd0 before 2ee32c4c4f636e474cd8ab7c19a68cf36072ea93; from 49b1153adfe18a3cce7e70aa26c690f275917cd0 before fafa7450075f41d232bc785a4ebcbf16374f2076; from 49b1153adfe18a3cce7e70aa26c690f275917cd0 before d7286005e8fde0a430dc180a9f46c088c7d74483; from 49b1153adfe18a3cce7e70aa26c690f275917cd0 before 44822df89e8f3386871d9cad563ece8e2fd8f0e7; 2.6.35 (not affected: before 2.6.35; from 5.4.299 up to 5.4.*; from 5.10.243 up to 5.10.*; from 5.15.192 up to 5.15.*; from 6.1.151 up to 6.1.*; from 6.6.105 up to 6.6.*; from 6.12.46 up to 6.12.*; from 6.16.6 up to 6.16.*; from 6.17 up to *)
- linux linux_kernel: from 2.6.35 before 5.4.299; from 5.5 before 5.10.243; from 5.11 before 5.15.192; from 5.16 before 6.1.151; from 6.2 before 6.6.105; from 6.7 before 6.12.46; from 6.13 before 6.16.6; 6.17
- debian debian_linux: 11.0

## References

- <https://git.kernel.org/stable/c/b990c8c6ff50649ad3352507398e443b1e3527b2> (patch)
- <https://git.kernel.org/stable/c/5ff2826c998370bf7f9ae26fe802140d220e3510> (patch)
- <https://git.kernel.org/stable/c/4bd570f494124608a0696da070f00236a96fb610> (patch)
- <https://git.kernel.org/stable/c/ce3b7766276894d2fbb07e2047a171f9deb965de> (patch)
- <https://git.kernel.org/stable/c/2ee32c4c4f636e474cd8ab7c19a68cf36072ea93> (patch)
- <https://git.kernel.org/stable/c/fafa7450075f41d232bc785a4ebcbf16374f2076> (patch)
- <https://git.kernel.org/stable/c/d7286005e8fde0a430dc180a9f46c088c7d74483> (patch)
- <https://git.kernel.org/stable/c/44822df89e8f3386871d9cad563ece8e2fd8f0e7> (patch)
- <https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html> (mailing-list, third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html> (mailing-list, third-party-advisory)
- <https://cert-portal.siemens.com/productcert/html/ssa-089022.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-032379.html>

## Sources

- CVE List: [CVE-2025-39846](https://www.cve.org/CVERecord?id=CVE-2025-39846), CVE Terms of Use, modified 2026-05-12
- NVD: [CVE-2025-39846](https://nvd.nist.gov/vuln/detail/CVE-2025-39846), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2025-39846 · Whole record: https://cve.day/CVE-2025-39846.json · Rebuilt by cve.day 2026-11-25T22:59:04.863Z
