Medium severity · published Oct 1, 2025
CVE-2025-39920
pcmcia: Add error handling for add_interval() in do_validate_mem()
5.5
CVSS
0.2%
EPSS
No
On KEV
Description
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.
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Attack vector
Local
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
None
Integrity
None
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.2% · higher than 6% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
KE
Kernel · Linux
2.6.34 before 5.4.299; 5.5 before 5.10.243; 5.11 before 5.15.192; 5.16 before 6.1.151; 6.2 before 6.6.105; 6.7 before 6.12.46; +5 more · source: NVD
LI
Linux · Linux
7b4884ca8853a638df0eb5d251d80d67777b8b1a before 5b60ed401b47897352c520bc724c85aa908dedcc; 7b4884ca8853a638df0eb5d251d80d67777b8b1a before ae184024ef31423e5beb44cf4f52999bbcf2fe5b; 7b4884ca8853a638df0eb5d251d80d67777b8b1a before 85be7ef8c8e792a414940a38d94565dd48d2f236; 7b4884ca8853a638df0eb5d251d80d67777b8b1a before 06b26e3099207c94b3d1be8565aedc6edc4f0a60; 7b4884ca8853a638df0eb5d251d80d67777b8b1a before 8699358b6ac99b8ccc97ed9e6e3669ef8958ef7b; 7b4884ca8853a638df0eb5d251d80d67777b8b1a before 289b58f8ff3198d091074a751d6b8f6827726f3e; +3 more · source: vendor
DL
Debian Linux · Debian
11.0 · source: NVD