CVE-2024-56602

In the Linux kernel, the following vulnerability has been resolved: net: ieee802154: do not leave a dangling sk pointer in ieee802154_create() sock_init_data() attaches the allocated sk object to the provided sock object. If ieee802154_create() fails later, the allocated sk object is freed, but the dangling pointer remains in the provided sock object, which may allow use-after-free. Clear the sk pointer in the sock object on error.
Configurations

Configuration 1 (hide)

OR cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

History

14 Jan 2025, 15:08

Type Values Removed Values Added
Summary
  • (es) En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: net: ieee802154: no deje un puntero sk colgando en ieee802154_create() sock_init_data() adjunta el objeto sk asignado al objeto sock proporcionado. Si ieee802154_create() falla más tarde, el objeto sk asignado se libera, pero el puntero colgando permanece en el objeto sock proporcionado, lo que puede permitir el use-after-free. Borre el puntero sk en el objeto sock en caso de error.
References () https://git.kernel.org/stable/c/03caa9bfb9fde97fb53d33decd7364514e6825cb - () https://git.kernel.org/stable/c/03caa9bfb9fde97fb53d33decd7364514e6825cb - Patch
References () https://git.kernel.org/stable/c/14959fd7538b3be6d7617d9e60e404d6a8d4fd1f - () https://git.kernel.org/stable/c/14959fd7538b3be6d7617d9e60e404d6a8d4fd1f - Patch
References () https://git.kernel.org/stable/c/1d5fe782c0ff068d80933f9cfd0fd39d5434bbc9 - () https://git.kernel.org/stable/c/1d5fe782c0ff068d80933f9cfd0fd39d5434bbc9 - Patch
References () https://git.kernel.org/stable/c/2b46994a6e76c8cc5556772932b9b60d03a55cd8 - () https://git.kernel.org/stable/c/2b46994a6e76c8cc5556772932b9b60d03a55cd8 - Patch
References () https://git.kernel.org/stable/c/b4982fbf13042e3bb33e04eddfea8b1506b5ea65 - () https://git.kernel.org/stable/c/b4982fbf13042e3bb33e04eddfea8b1506b5ea65 - Patch
References () https://git.kernel.org/stable/c/b4fcd63f6ef79c73cafae8cf4a114def5fc3d80d - () https://git.kernel.org/stable/c/b4fcd63f6ef79c73cafae8cf4a114def5fc3d80d - Patch
References () https://git.kernel.org/stable/c/e8bd6c5f5dc2234b4ea714380aedeea12a781754 - () https://git.kernel.org/stable/c/e8bd6c5f5dc2234b4ea714380aedeea12a781754 - Patch
CWE CWE-416
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.8
First Time Linux linux Kernel
Linux
CPE cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

27 Dec 2024, 15:15

Type Values Removed Values Added
New CVE

Information

Published : 2024-12-27 15:15

Updated : 2025-02-11 16:15


NVD link : CVE-2024-56602

Mitre link : CVE-2024-56602

CVE.ORG link : CVE-2024-56602


JSON object : View

Products Affected

linux

  • linux_kernel
CWE
CWE-416

Use After Free