Bug 2334822 (CVE-2024-56730) - CVE-2024-56730 kernel: net/9p/usbg: fix handling of the failed kzalloc() memory allocation
Summary: CVE-2024-56730 kernel: net/9p/usbg: fix handling of the failed kzalloc() memo...
Keywords:
Status: NEW
Alias: CVE-2024-56730
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-12-29 12:02 UTC by OSIDB Bzimport
Modified: 2025-01-21 12:39 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2024-12-29 12:02:17 UTC
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.

Comment 1 Avinash Hanwate 2024-12-30 04:09:17 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2024122924-CVE-2024-56730-3e54@gregkh/T


Note You need to log in before you can comment on or make changes to this bug.