CVE-2025-39920 pcmcia: Add error handling for add_interval() in do_validate_mem()

Medium 5.5 Published Updated

A missing error check in the Linux kernel PCMCIA driver can cause a null pointer dereference, leading to a system crash.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2025-39920?

CVE-2025-39920 is a medium-severity vulnerability in Debian Debian Linux, published on 1 Oct 2025. It can only be exploited from the same machine or local network, with no action from the victim.

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

Weakness: CWE-476

Which versions are affected by CVE-2025-39920?

It affects 2 products.

Products include Debian Debian Linux, Linux kernel.

How do I fix CVE-2025-39920?

Apply the vendor's patch.

Is CVE-2025-39920 being exploited?

There is no known exploitation of CVE-2025-39920 in the wild and no public exploit code.

All Debian Debian Linux vulnerabilities

Sources

Also known as AZL-68046, BELL-CVE-2025-39920, DEBIAN-CVE-2025-39920, GHSA-3gqp-rpmv-vmwg, ROOT-OS-DEBIAN-11-CVE-2025-39920, ROOT-OS-UBUNTU-2204-CVE-2025-39920 and 2 more.

Is CVE-2025-39920 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free