CVE-2025-39920

MediumCVSS 5.5/10Last modified Oct 19, 2026

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.

Metrics

CVSS 3.1 5.5/10CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Weakness enumeration

Affected software

VendorProductVersions
LinuxLinux>= 7b4884ca8853a638df0eb5d251d80d67777b8b1a, < 5b60ed401b47897352c520bc724c85aa908dedcc; >= 7b4884ca8853a638df0eb5d251d80d67777b8b1a, < ae184024ef31423e5beb44cf4f52999bbcf2fe5b; >= 7b4884ca8853a638df0eb5d251d80d67777b8b1a, < 85be7ef8c8e792a414940a38d94565dd48d2f236; >= 7b4884ca8853a638df0eb5d251d80d67777b8b1a, < 06b26e3099207c94b3d1be8565aedc6edc4f0a60; >= 7b4884ca8853a638df0eb5d251d80d67777b8b1a, < 8699358b6ac99b8ccc97ed9e6e3669ef8958ef7b; >= 7b4884ca8853a638df0eb5d251d80d67777b8b1a, < 289b58f8ff3198d091074a751d6b8f6827726f3e; >= 7b4884ca8853a638df0eb5d251d80d67777b8b1a, < 369bf6e241506583f4ee7593c53b92e5a9f271b4; >= 7b4884ca8853a638df0eb5d251d80d67777b8b1a, < 4a81f78caa53e0633cf311ca1526377d9bff7479
LinuxLinux2.6.34

References

Timeline

Published
Oct 1, 2025
Last modified
Oct 19, 2026
NVD status
Analyzed

Related CVEs from 2025

CVE-2025-399215.5In the Linux kernel, the following vulnerability has been resolved: spi: microchip-core-qspi: stop checking viability of op->max_freq in suCVE-2025-399227.1In the Linux kernel, the following vulnerability has been resolved: ixgbe: fix incorrect map used in eee linkmode incorrectly used ixgbe_lCVE-2025-399235.5In the Linux kernel, the following vulnerability has been resolved: dmaengine: qcom: bam_dma: Fix DT error handling for num-channels/ees WCVE-2025-399245.5In the Linux kernel, the following vulnerability has been resolved: erofs: fix invalid algorithm for encoded extents The current algorithmCVE-2025-399255.5In the Linux kernel, the following vulnerability has been resolved: can: j1939: implement NETDEV_UNREGISTER notification handler syzbot isCVE-2025-399265.5In the Linux kernel, the following vulnerability has been resolved: genetlink: fix genl_bind() invoking bind() after -EPERM Per family binCVE-2025-399274.7In the Linux kernel, the following vulnerability has been resolved: ceph: fix race condition validating r_parent before applying state AddCVE-2025-399285.5In the Linux kernel, the following vulnerability has been resolved: i2c: rtl9300: ensure data length is within supported range Add an explCVE-2025-399295.5In the Linux kernel, the following vulnerability has been resolved: smb: client: fix smbdirect_recv_io leak in smbd_negotiate() error path CVE-2025-39938.8A vulnerability was found in TOTOLINK N150RT 3.4.0-B20190525 and classified as critical. This issue affects some unknown processing of the fCVE-2025-399305.5In the Linux kernel, the following vulnerability has been resolved: ASoC: simple-card-utils: Don't use __free(device_node) at graph_util_paCVE-2025-399315.5In the Linux kernel, the following vulnerability has been resolved: crypto: af_alg - Set merge to zero early in af_alg_sendmsg If an error
CVE-2025-39920: Medium severity, CVSS 5.5 | Vulnix