CVE-2024-56730

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

Medium · published December 29, 2024

CVSS v3.1
5.5
EPSS
0%
Percentile
7.0
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
5.5 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00178 · 7.0th percentile
Published
2024-12-29T11:30Z
EPSS history
Timeline
  • 29 DEC 11:30Z
    net/9p/usbg: fix handling of the failed kzalloc() memory allocation
    cvelistv5