What’s Vulnerable › Vulnerabilities

CVE-2025-22054: arcnet: Add NULL check in com20020pci_probe()

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.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 4.20, 5.10.236, 5.15.180, 5.4.292. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-22054 or the next vulnerability affects your stack