CVE-2024-56730
JSON

5.5medium

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

Severity
5.5medium CVSS:3.1 by CISA-ADP
Exploit likelihood
0.18% (higher than 7% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

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

Product or packageVersionsReported by
Linux Linuxfrom a3be076dc174d9022a71a12554feb4c97b5c4d5c before 2cdb416de8b5795fd25fadcb69e1198b6df6d8cc, from a3be076dc174d9022a71a12554feb4c97b5c4d5c before ff1060813d9347e8c45c8b8cff93a4dfdb6726ad, 6.12
Not affected: before 6.12, from 6.12.2 up to 6.12.*, from 6.13 up to *
CVE List
linux linux_kernelfrom 6.12 before 6.12.2NVD

All scores

CISA-ADP5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
NVD5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-476

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

En el kernel Linux, se ha resuelto la siguiente vulnerabilidad: net/9p/usbg: se corrige la gestión de la asignación de memoria fallida de kzalloc() En el kernel vanilla linux-next, next-20241108, la herramienta coccinelle proporcionó el siguiente informe de error: ./net/9p/trans_usbg.c:912:5-11: ERROR: la función de asignación en la línea 911 devuelve NULL, no ERR_PTR en caso de error Se corrigió el error de kzalloc() para gestionar el caso de retorno NULL en el agotamiento de la memoria.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-56730 changed 2026-05-11CVE Terms of Use
NVDCVE-2024-56730 changed 2026-06-17Public domain