7.8Alta

CVE-2024-56600net: inet6: do not leave a dangling sk pointer in inet6_create()

Linux Linux; Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP; Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP; Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP Publicada: (hace 1 año)

Descripción

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

Debilidad (CWE): CWE-416

Datos: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Se publican tal como los indican las fuentes, en inglés.

Productos y versiones afectados

FabricanteProductoVersiones
Linux Linux 2.6.12
linux linux kernel 2.6.12 – < 5.4.287
Siemens RUGGEDCOM RST2428P < V3.2
Siemens SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family < V3.2
Siemens SCALANCE XCM-/XRM-/XCH-/XRH-300 family < V3.2
Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP V3.1.0 – < V3.1.5
Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP V3.1.0 – < V3.1.5
Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP V3.1.0 – < V3.1.5

Referencias y parches