Bug 2334439 (CVE-2024-56603) - CVE-2024-56603 kernel: net: af_can: do not leave a dangling sk pointer in can_create()
Summary: CVE-2024-56603 kernel: net: af_can: do not leave a dangling sk pointer in can...
Keywords:
Status: NEW
Alias: CVE-2024-56603
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:50 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:07 UTC
In the Linux kernel, the following vulnerability has been resolved:

net: af_can: do not leave a dangling sk pointer in can_create()

On error can_create() frees the allocated sk object, but sock_init_data()
has already attached it to the provided sock object. This will leave a
dangling sk pointer in the sock object and may cause use-after-free later.

Comment 1 Avinash Hanwate 2024-12-28 08:47:40 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2024122703-CVE-2024-56603-3db8@gregkh/T


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