Bug 2334442 (CVE-2024-56606) - CVE-2024-56606 kernel: af_packet: avoid erroring out after sock_init_data() in packet_create()
Summary: CVE-2024-56606 kernel: af_packet: avoid erroring out after sock_init_data() i...
Keywords:
Status: NEW
Alias: CVE-2024-56606
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-27 15:02 UTC by OSIDB Bzimport
Modified: 2024-12-28 08:39 UTC (History)
4 users (show)

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


Attachments (Terms of Use)

Description OSIDB Bzimport 2024-12-27 15:02:19 UTC
In the Linux kernel, the following vulnerability has been resolved:

af_packet: avoid erroring out after sock_init_data() in packet_create()

After sock_init_data() the allocated sk object is attached to the provided
sock object. On error, packet_create() frees the sk object leaving the
dangling pointer in the sock object on return. Some other code may try
to use this pointer and cause use-after-free.

Comment 1 Avinash Hanwate 2024-12-28 08:36:20 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2024122704-CVE-2024-56606-bf3b@gregkh/T


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