CVE-2024-56730

Source
https://cve.org/CVERecord?id=CVE-2024-56730
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-56730.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-56730
Downstream
Published
2024-12-29T11:30:07.876Z
Modified
2026-03-12T16:10:02.066230Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
net/9p/usbg: fix handling of the failed kzalloc() memory allocation
Details

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/transusbg.c:912:5-11: ERROR: allocation function on line 911 returns NULL not ERRPTR on failure

kzalloc() failure is fixed to handle the NULL return case on the memory exhaustion.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/56xxx/CVE-2024-56730.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
a3be076dc174d9022a71a12554feb4c97b5c4d5c
Fixed
2cdb416de8b5795fd25fadcb69e1198b6df6d8cc
Fixed
ff1060813d9347e8c45c8b8cff93a4dfdb6726ad

Affected versions

v6.*
v6.11
v6.11-rc7
v6.12
v6.12-rc1
v6.12-rc2
v6.12-rc3
v6.12-rc4
v6.12-rc5
v6.12-rc6
v6.12-rc7
v6.12.1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-56730.json"