FlawAtlas
Search the atlas
CVE-2024-56603 Not scored

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

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.

Exploit probability 0.2%
Published December 27, 2024
Required by Not available
Last source change July 15, 2026

02 / AFFECTED SOFTWARE

Affected packages

Linux Kernel
Unknown Unknown

03 / CONNECTIONS

Connected vulnerabilities

related ALSA-2025:20518
related SUSE-SU-2025:0236-1
related SUSE-SU-2025:0289-1
related SUSE-SU-2025:0428-1
related SUSE-SU-2025:0499-1
related SUSE-SU-2025:0557-1
related SUSE-SU-2025:20165-1
related SUSE-SU-2025:20166-1
related SUSE-SU-2025:20248-1
related SUSE-SU-2025:20249-1
related USN-7379-2
related USN-7380-1

04 / EVIDENCE

Source records

Open Source Vulnerabilities CVE-2024-56603

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.

View original source

05 / REFERENCES

Further evidence