CVE-2025-22054
NoneCVSS
—
EPSS
0.2%
Published
Apr 16, 2025
CISA due date
—
Cloudanix analysis
A bug in the Linux kernel could cause computers with certain old networking hardware to crash when memory runs low, and updating the kernel fixes it.
- Exploitation
- Local Privilege
- Attacker needs
- Local User
- Complexity
- Moderate
- Impact
- Denial Of Service
- Component
- OS kernel
- Class
- Memory Corruption
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Missing NULL check after devm_kasprintf() in com20020pci_probe() allows NULL pointer dereference on memory allocation failure, leading to kernel panic or crash.
Why it matters to the business
Systems using affected ARCnet PCI hardware may experience unexpected kernel crashes during device initialization under memory pressure, causing downtime and potential data loss until patched kernels are deployed.
How an attack unfolds
An attacker with local access or the ability to induce memory exhaustion during PCI device probing can trigger the unhandled NULL return from devm_kasprintf(), dereferencing it and crashing the kernel; no remote unauthenticated path exists and no public exploits or threat actor campaigns are known.
How to fix it
Update Linux kernel to version 5.4.292 or later, or apply the commit 661cf5d102949898c931e81fd4e1c773afcdeafa; rebuild and reboot with the fixed kernel. For Red Hat rhel_eus 9.2 systems, update libsoup packages to 0:2.72.0-8.el9_2.1.
How to confirm the fix worked
Verify the running kernel version or commit hash matches a fixed release; inspect dmesg or kernel logs for absence of the NULL dereference panic signature in com20020pci_probe after memory-allocation stress tests.
Typical attack path
- Gain local execution or trigger memory pressure on target system
- Ensure com20020pci hardware is present so the probe path executes
- Force devm_kasprintf() to return NULL during probe
- Kernel dereferences the NULL pointer and panics
How to detect it
Review kernel crash dumps and dmesg for NULL pointer dereference originating in com20020pci_probe(); correlate with low-memory conditions or ARCnet PCI device initialization events; no specific post-exploitation artifacts are known.
What your security team should do
- Prioritize kernel upgrades on systems exposing ARCnet PCI devices
- Monitor EPSS and KEV status for any future increase in exploit activity
- Include the fixed commit in automated kernel build and deployment pipelines
- Test device probe paths under memory pressure before production rollout
The record
In the Linux kernel, the following vulnerability has been resolved: arcnet: Add NULL check in com20020pci_probe() devm_kasprintf() returns NULL when memory allocation fails. Currently, com20020pci_probe() does not check for this case, which results in a NULL pointer dereference. Add NULL check after devm_kasprintf() to prevent this issue and ensure no resources are left allocated.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:11 | linux | 0 | No fix |
| Debian:11 | linux-6.1 | 0 | 6.1.137-1~deb11u1 |
| Debian:12 | linux | 0 | No fix |
| Debian:13 | linux | 0 | No fix |
| Debian:13 | linux | 0 | 6.12.25-1 |
| Linux | Kernel | 0 | 5.4.292 |
| Mageia:9 | kernel | 0 | 6.6.88-3.mga9 |
| Mageia:9 | kernel-linus | 0 | 6.6.88-1.mga9 |
| Mageia:9 | kmod-virtualbox | 0 | 7.0.24-70.mga9 |
| Mageia:9 | kmod-xtables-addons | 0 | 3.24-78.mga9 |
Related vulnerabilities
- CVE-2025-39885 In the Linux kernel, the following vulnerability has been resolved: ocfs2: fix recursive… Also affects linux
- CVE-2025-39883 In the Linux kernel, the following vulnerability has been resolved: mm/memory-failure… Also affects linux
- CVE-2025-39876 In the Linux kernel, the following vulnerability has been resolved: net: fec: Fix… Also affects linux
- CVE-2025-39869 In the Linux kernel, the following vulnerability has been resolved: dmaengine: ti: edma… Also affects linux
- CVE-2025-39873 In the Linux kernel, the following vulnerability has been resolved: can: xilinx_can… Also affects linux
- CVE-2025-39863 In the Linux kernel, the following vulnerability has been resolved: wifi: brcmfmac: fix… Also affects linux
- CVE-2025-39865 In the Linux kernel, the following vulnerability has been resolved: tee: fix NULL pointer… Also affects linux
- CVE-2025-39866 In the Linux kernel, the following vulnerability has been resolved: fs: writeback: fix… Also affects linux