cve/2024/CVE-2024-56601.md
2025-09-29 16:08:36 +00:00

940 B

CVE-2024-56601

Description

In the Linux kernel, the following vulnerability has been resolved:net: inet: do not leave a dangling sk pointer in inet_create()sock_init_data() attaches the allocated sk object to the provided sockobject. If inet_create() fails later, the sk object is freed, but thesock object retains the dangling pointer, which may create use-after-freelater.Clear the sk pointer in the sock object on error.

POC

Reference

No PoCs from references.

Github