← Database

CVE-2025-22054

MEDIUM CVSS: 5.5 Published: 2025-04-16 Modified: 2026-06-17

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 Platforms

Linux Linux Kernel

Weakness Type

CWE-476, CWE-476

References