CVE-2025-22054 arcnet: Add NULL check in com20020pci_probe()
A missing NULL check in the Linux kernel's arcnet driver can cause a system crash if memory allocation fails during device probing.
- 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-22054?
CVE-2025-22054 is a medium-severity vulnerability in Linux kernel, published on 16 Apr 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:
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.
Weakness: CWE-476
Which versions are affected by CVE-2025-22054?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2025-22054?
Apply the vendor's patch.
Is CVE-2025-22054 being exploited?
There is no known exploitation of CVE-2025-22054 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as BELL-CVE-2025-22054, DEBIAN-CVE-2025-22054, GHSA-6pg5-wf6r-xvh8, ROOT-OS-UBUNTU-2404-CVE-2025-22054, UBUNTU-CVE-2025-22054.