Skip to content
CVE PROGRAM SOURCE RECORD5.5 Medium

CVE-2024-56730

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

Description

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 products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • a3be076dc174d9022a71a12554feb4c97b5c4d5c to < 2cdb416de8b5795fd25fadcb69e1198b6df6d8ccaffected
  • a3be076dc174d9022a71a12554feb4c97b5c4d5c to < ff1060813d9347e8c45c8b8cff93a4dfdb6726adaffected

Linux Linux

Default version status: affected

  • 6.12affected
  • 0 to < 6.12unaffected
  • 6.12.2 to ≤ 6.12.*unaffected
  • 6.13 to ≤ *unaffected

References