CVE-2025-39920 json
pcmcia: Add error handling for add_interval() in do_validate_mem()
published 2025-10-01 13 mo ago modified 2026-10-19 20 d ago also EUVD-2025-32888
- cvss
- 5.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 6%
- public exploits
- 0
- none known
Summary
In the Linux kernel, the following vulnerability has been resolved:
pcmcia: Add error handling for add_interval() in do_validate_mem()
In the do_validate_mem(), the call to add_interval() does not handle errors. If kmalloc() fails in add_interval(), it could result in a null pointer being inserted into the linked list, leading to illegal memory access when sub_interval() is called next.
This patch adds an error handling for the add_interval(). If add_interval() returns an error, the function will return early with the error code.
Patch / fix
- Linux Linux 5.4.299, 5.10.243, 5.15.192, 6.1.151, 6.6.105, 6.12.46, 6.16.6, 6.17
- linux Debian 12 6.1.153-1
- linux Debian 13 6.12.48-1
- linux Debian 14 6.16.6-1
debian advisories DEBIAN-CVE-2025-39920
- linux Ubuntu 22.04 LTS 5.15.0-163.173
- linux Ubuntu 24.04 LTS 6.8.0-106.106
- linux-aws Ubuntu 22.04 LTS 5.15.0-1097.104
- linux-aws Ubuntu 24.04 LTS 6.8.0-1050.53
- linux-gcp Ubuntu 22.04 LTS 5.15.0-1097.106
- linux-gcp Ubuntu 24.04 LTS 6.8.0-1052.55
- linux-gke Ubuntu 22.04 LTS 5.15.0-1093.99
- linux-gke Ubuntu 24.04 LTS 6.8.0-1048.53
ubuntu advisories UBUNTU-CVE-2025-39920
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- kernel-rt Real Time Module 15 SP7 6.4.0-150700.7.22.1
- kernel-syms-rt Real Time Module 15 SP7 6.4.0-150700.7.22.1
- kernel-source-rt Real Time Module 15 SP7 6.4.0-150700.7.22.1
- kernel-azure SLE Module for Public Cloud 15 SP7 6.4.0-150700.20.18.1
- kernel-syms-azure SLE Module for Public Cloud 15 SP7 6.4.0-150700.20.18.1
- kernel-source-azure SLE Module for Public Cloud 15 SP7 6.4.0-150700.20.18.1
- kernel-64kb SLE Module for Basesystem 15 SP7 6.4.0-150700.53.22.1
- kernel-syms SLE Module for Development Tools 15 SP7 6.4.0-150700.53.22.1
suse advisories SUSE-SU-2025:4141-1SUSE-SU-2025:4132-1SUSE-SU-2025:4057-1SUSE-SU-2025:20870-1SUSE-SU-2025:20898-1SUSE-SU-2025:3751-1
- git.kernel.org/stable/c/5b60ed401b47897352c520bc724c85aa908dedcc commit
- git.kernel.org/stable/c/ae184024ef31423e5beb44cf4f52999bbcf2fe5b commit
- git.kernel.org/stable/c/85be7ef8c8e792a414940a38d94565dd48d2f236 commit
- git.kernel.org/stable/c/06b26e3099207c94b3d1be8565aedc6edc4f0a60 commit
- git.kernel.org/stable/c/8699358b6ac99b8ccc97ed9e6e3669ef8958ef7b commit
- git.kernel.org/stable/c/289b58f8ff3198d091074a751d6b8f6827726f3e commit
- git.kernel.org/stable/c/369bf6e241506583f4ee7593c53b92e5a9f271b4 commit
- git.kernel.org/stable/c/4a81f78caa53e0633cf311ca1526377d9bff7479 commit
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2025-39920 updated
kernel: pcmcia: Add error handling for add_interval() in do_validate_mem()
-
Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 more Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-rt, kernel-core, kernel-tools, +29 more Red Hat Enterprise Linux 9 rv, perf, rtla, kernel, bpftool, libperf, +83 more Red Hat Enterprise Linux 10 kernelnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
0.17% chance of exploitation in the next 30 days, higher than 6% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected products
- Linux Linux
Classification
- Weakness
-
- CWE-476 NULL Pointer Dereference
- Technology feeds
References
-
git.kernel.org
/stable/c/5b60ed401b47897352c520bc724c85aa908dedcc
patch
-
git.kernel.org
/stable/c/ae184024ef31423e5beb44cf4f52999bbcf2fe5b
patch
-
git.kernel.org
/stable/c/85be7ef8c8e792a414940a38d94565dd48d2f236
patch
-
git.kernel.org
/stable/c/06b26e3099207c94b3d1be8565aedc6edc4f0a60
patch
-
git.kernel.org
/stable/c/8699358b6ac99b8ccc97ed9e6e3669ef8958ef7b
patch
-
git.kernel.org
/stable/c/289b58f8ff3198d091074a751d6b8f6827726f3e
patch
-
git.kernel.org
/stable/c/369bf6e241506583f4ee7593c53b92e5a9f271b4
patch
-
git.kernel.org
/stable/c/4a81f78caa53e0633cf311ca1526377d9bff7479
patch
-
lists.debian.org
/debian-lts-announce/2025/10/msg00008.html
mailing-list, third-party-advisory
-
lists.debian.org
/debian-lts-announce/2025/10/msg00007.html
mailing-list, third-party-advisory
Sources
- CVE List CVE-2025-39920
- NVD CVE-2025-39920
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.