← CVE Intelligence

CVE-2024-56730

net/9p/usbg: fix handling of the failed kzalloc() memory allocation PUBLISHED

Description (CNA)

In the Linux kernel, the following vulnerability has been resolved: net/9p/usbg: fix handling of the failed kzalloc() memory allocation On the linux-next, next-20241108 vanilla kernel, the coccinelle tool gave the following error report: ./net/9p/trans_usbg.c:912:5-11: ERROR: allocation function on line 911 returns NULL not ERR_PTR on failure kzalloc() failure is fixed to handle the NULL return case on the memory exhaustion.

Affected (CNA)

Vendor / productVersions
Linux / Linuxaffected a3be076dc174d9022a71a12554feb4c97b5c4d5c before 2cdb416de8b5795fd25fadcb69e1198b6df6d8cc; affected a3be076dc174d9022a71a12554feb4c97b5c4d5c before ff1060813d9347e8c45c8b8cff93a4dfdb6726ad
Linux / Linuxaffected 6.12; unaffected 0 before 6.12; unaffected 6.12.2 through 6.12.*; unaffected 6.13 through *

CWE

No CWE identifiers supplied.

References

ADP enrichment

CISA-ADP

No English description supplied.

No references supplied.