CVE-2024-56603

HIGH

Linux Kernel < 5.4.287, 5.5.0-6.12.5 - Use-After-Free in can_create()

Title source: llm
STIX 2.1

Description

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.

Scores

CVSS v3 7.8
EPSS 0.0023
EPSS Percentile 13.1%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact total

Details

CWE
CWE-416
Status published
Products (23)
linux/Kernel 2.6.25 - 5.4.287linux
linux/Kernel 5.11.0 - 5.15.174linux
linux/Kernel 5.16.0 - 6.1.120linux
linux/Kernel 5.5.0 - 5.10.231linux
linux/Kernel 6.2.0 - 6.6.66linux
linux/Kernel 6.7.0 - 6.12.5linux
Linux/Linux < 2.6.25
Linux/Linux 0d66548a10cbbe0ef256852d63d30603f0f73f9b - 1fe625f12d090d69f3f084990c7e4c1ff94bfe5f
Linux/Linux 0d66548a10cbbe0ef256852d63d30603f0f73f9b - 5947c9ac08f0771ea8ed64186b0d52e9029cb6c0
Linux/Linux 0d66548a10cbbe0ef256852d63d30603f0f73f9b - 811a7ca7320c062e15d0f5b171fe6ad8592d1434
... and 13 more
Published Dec 27, 2024
Tracked Since Feb 18, 2026