# CVE-2024-56606: af\_packet: avoid erroring out after sock\_init\_data() in packet\_create()

- Priority: **Routine**
- Reason: Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2024-12-27 · Modified: 2026-10-15
- Aliases: UBUNTU-CVE-2024-56606, DEBIAN-CVE-2024-56606
- Record: https://cvemate.com/vulnerability/CVE-2024-56606 · JSON: https://cvemate.com/vulnerability/CVE-2024-56606/json

## Description

```text
In the Linux kernel, the following vulnerability has been resolved:

af_packet: avoid erroring out after sock_init_data() in packet_create()

After sock_init_data() the allocated sk object is attached to the provided
sock object. On error, packet_create() frees the sk object leaving the
dangling pointer in the sock object on return. Some other code may try
to use this pointer and cause use-after-free.
```

## Signals

- CVSS: 7.8 high (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.25%, percentile 17.479%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 139)

- debian linux (Debian): \< 6.1.123-1 \| \< 6.12.5-1
- ubuntu linux (Ubuntu): \< 4.4.0-277.311 \| \< 4.15.0-246.258 \| \< 5.4.0-211.231 \| \< 5.15.0-135.146 \| \< 6.8.0-58.60
- ubuntu linux-allwinner-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws (Ubuntu): \< 4.4.0-1151.157 \| \< 4.4.0-1189.204 \| \< 4.15.0-1188.201 \| \< 5.4.0-1142.152 \| \< 5.15.0-1080.87 \| \< 6.8.0-1027.29
- ubuntu linux-aws-5.0 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.11 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.13 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.15 (Ubuntu): \< 5.15.0-1080.87~20.04.1
- ubuntu linux-aws-5.19 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.3 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-5.4 (Ubuntu): \< 5.4.0-1142.152~18.04.1
- ubuntu linux-aws-5.8 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.2 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.5 (Ubuntu): All versions (No fix recorded)
- ubuntu linux-aws-6.8 (Ubuntu): \< 6.8.0-1027.29~22.04.1
- ubuntu linux-aws-fips (Ubuntu): \< 4.15.0-2126.132 \| All versions (No fix recorded) \| \< 5.4.0-1142.153+fips1 \| \< 5.15.0-1080.87+fips1
- ubuntu linux-aws-hwe (Ubuntu): \< 4.15.0-1188.201~16.04.1
- ubuntu linux-azure (Ubuntu): \< 4.15.0-1196.211~14.04.1 \| \< 4.15.0-1196.211~16.04.1 \| All versions (No fix recorded) \| \< 5.4.0-1147.154 \| \< 5.15.0-1084.93 \| \< 6.8.0-1027.32
- ubuntu linux-azure-4.15 (Ubuntu): \< 4.15.0-1196.211
- ubuntu linux-azure-5.11 (Ubuntu): All versions (No fix recorded)

## References (first 20 of 59)

- <https://git.kernel.org/stable/c/71b22837a5e55ac27d6a14b9cdf2326587405c4f>
- <https://git.kernel.org/stable/c/1dc1e1db927056cb323296e2294a855cd003dfe7>
- <https://git.kernel.org/stable/c/132e615bb1d7cdec2d3cfbdec2efa630e923fd21>
- <https://git.kernel.org/stable/c/a6cf750b737374454a4e03a5ed449a3eb0c96414>
- <https://git.kernel.org/stable/c/157f08db94123e2ba56877dd0ac88908b13a5dd0>
- <https://git.kernel.org/stable/c/fd09880b16d33aa5a7420578e01cd79148fa9829>
- <https://git.kernel.org/stable/c/46f2a11cb82b657fd15bab1c47821b635e03838b>
- <https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html>
- <https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html>
- <https://ubuntu.com/security/CVE-2024-56606>
- <https://www.cve.org/CVERecord?id=CVE-2024-56606>
- <https://git.kernel.org/linus/46f2a11cb82b657fd15bab1c47821b635e03838b>
- <https://ubuntu.com/security/notices/USN-7379-1>
- <https://ubuntu.com/security/notices/USN-7380-1>
- <https://ubuntu.com/security/notices/USN-7381-1>
- <https://ubuntu.com/security/notices/USN-7382-1>
- <https://ubuntu.com/security/notices/USN-7387-1>
- <https://ubuntu.com/security/notices/USN-7388-1>
- <https://ubuntu.com/security/notices/USN-7389-1>
- <https://ubuntu.com/security/notices/USN-7390-1>

---

Data as of 2026-12-05T05:18:20.641Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
