---
id: CVE-2024-56600
title: |-
  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
summary: |-
  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() fail…
severity: high
cvss: 7.8
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-416
vendor: linux
product: linux_kernel
affected:
  - linux_kernel < 5.4.287
  - 'linux_kernel >= 5.5, < 5.10.231'
  - 'linux_kernel >= 5.11, < 5.15.174'
  - 'linux_kernel >= 5.16, < 6.1.120'
  - 'linux_kernel >= 6.2, < 6.6.66'
  - 'linux_kernel >= 6.7, < 6.12.5'
patched:
  - linux_kernel 6.12.5
published: '2024-12-27'
updated: '2026-10-15'
sourceUpdated: '2026-10-15T01:19:16.823'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2024-56600'
references:
  - url: 'https://git.kernel.org/stable/c/276a473c956fb55a6f3affa9ff232e10fffa7b43'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/35360255ca30776dee34d9fa764cffa24d0a5f65'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/706b07b7b37f886423846cb38919132090bc40da'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/79e16a0d339532ea832d85798eb036fc4f9e0cea'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/9df99c395d0f55fb444ef39f4d6f194ca437d884'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/f2709d1271cfdf55c670ab5c5982139ab627ddc7'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/f44fceb71d72d29fb00e0ac84cdf9c081b03cd06'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html'
    label: af854a3a-2127-422b-91ae-364da2661108
  - url: 'https://cert-portal.siemens.com/productcert/html/ssa-355557.html'
    label: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
  - url: 'https://cert-portal.siemens.com/productcert/html/ssa-398330.html'
    label: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
tags:
  - nvd
  - cve.org
epss: 0.00248
epssPercentile: 0.1617
ingestedAt: '2026-10-15T03:30:12.773Z'
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: total
  timestamp: '2025-02-11T15:42:30.859070Z'
---

## Overview

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.

## Affected

- `linux_kernel < 5.4.287`
- `linux_kernel >= 5.5, < 5.10.231`
- `linux_kernel >= 5.11, < 5.15.174`
- `linux_kernel >= 5.16, < 6.1.120`
- `linux_kernel >= 6.2, < 6.6.66`
- `linux_kernel >= 6.7, < 6.12.5`

## Remediation

Upgrade past the affected range:

- `linux_kernel 6.12.5`
