CVE-2025-39846
pcmcia: Fix a NULL pointer dereference in __iodyn_find_io_region()
Check your servers for CVE-2025-39846
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2025-39846 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Exploitation
EPSS 0.17%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 6.56% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 49b1153adfe18a3cce7e70aa26c690f275917cd0, before b990c8c6ff50649ad3352507398e443b1e3527b2 affected from 49b1153adfe18a3cce7e70aa26c690f275917cd0, before 5ff2826c998370bf7f9ae26fe802140d220e3510 affected from 49b1153adfe18a3cce7e70aa26c690f275917cd0, before 4bd570f494124608a0696da070f00236a96fb610 affected from 49b1153adfe18a3cce7e70aa26c690f275917cd0, before ce3b7766276894d2fbb07e2047a171f9deb965de affected from 49b1153adfe18a3cce7e70aa26c690f275917cd0, before 2ee32c4c4f636e474cd8ab7c19a68cf36072ea93 affected from 49b1153adfe18a3cce7e70aa26c690f275917cd0, before fafa7450075f41d232bc785a4ebcbf16374f2076 affected from 49b1153adfe18a3cce7e70aa26c690f275917cd0, before d7286005e8fde0a430dc180a9f46c088c7d74483 affected from 49b1153adfe18a3cce7e70aa26c690f275917cd0, before 44822df89e8f3386871d9cad563ece8e2fd8f0e7
Other versions: unaffected
|
| Linux |
affected 2.6.35 unaffected before 2.6.35 unaffected from 5.4.299 up to and including 5.4.* unaffected from 5.10.243 up to and including 5.10.* unaffected from 5.15.192 up to and including 5.15.* unaffected from 6.1.151 up to and including 6.1.* unaffected from 6.6.105 up to and including 6.6.* unaffected from 6.12.46 up to and including 6.12.* unaffected from 6.16.6 up to and including 6.16.* unaffected 6.17 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2025-39846 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2025-39846
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2025-39846
trivy image --scanners vuln IMAGE | grep CVE-2025-39846
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/b990c8c6ff50649ad3352507398e443b1e3527b2 git.kernel.org
- https://git.kernel.org/stable/c/5ff2826c998370bf7f9ae26fe802140d220e3510 git.kernel.org
- https://git.kernel.org/stable/c/4bd570f494124608a0696da070f00236a96fb610 git.kernel.org
- https://git.kernel.org/stable/c/ce3b7766276894d2fbb07e2047a171f9deb965de git.kernel.org
- https://git.kernel.org/stable/c/2ee32c4c4f636e474cd8ab7c19a68cf36072ea93 git.kernel.org
- https://git.kernel.org/stable/c/fafa7450075f41d232bc785a4ebcbf16374f2076 git.kernel.org
- https://git.kernel.org/stable/c/d7286005e8fde0a430dc180a9f46c088c7d74483 git.kernel.org
- https://git.kernel.org/stable/c/44822df89e8f3386871d9cad563ece8e2fd8f0e7 git.kernel.org
- https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html lists.debian.org
- https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html lists.debian.org
- https://cert-portal.siemens.com/productcert/html/ssa-089022.html cert-portal.siemens.com
- https://cert-portal.siemens.com/productcert/html/ssa-032379.html cert-portal.siemens.com
Source: the record CVE-2025-39846 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse