{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-56606","id":"CVE-2024-56606","title":"af_packet: avoid erroring out after sock_init_data() in packet_create()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\naf_packet: avoid erroring out after sock_init_data() in packet_create()\n\nAfter sock_init_data() the allocated sk object is attached to the provided\nsock object. On error, packet_create() frees the sk object leaving the\ndangling pointer in the sock object on return. Some other code may try\nto use this pointer and cause use-after-f","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\naf_packet: avoid erroring out after sock_init_data() in packet_create()\n\nAfter sock_init_data() the allocated sk object is attached to the provided\nsock object. On error, packet_create() frees the sk object leaving the\ndangling pointer in the sock object on return. Some other code may try\nto use this pointer and cause use-after-free.","published":"2024-12-27T14:51:11.327Z","updated":"2026-10-28T02:30:30.378593588Z","reserved":"2024-12-27T14:03:06.013Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},"metrics":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"Linux"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"CISA-ADP"},{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"}],"rating":"high","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"b013840810c221f2b0cf641d01531526052dc1fb","lessThan":"71b22837a5e55ac27d6a14b9cdf2326587405c4f","status":"affected","versionType":"git"},{"version":"b013840810c221f2b0cf641d01531526052dc1fb","lessThan":"1dc1e1db927056cb323296e2294a855cd003dfe7","status":"affected","versionType":"git"},{"version":"b013840810c221f2b0cf641d01531526052dc1fb","lessThan":"132e615bb1d7cdec2d3cfbdec2efa630e923fd21","status":"affected","versionType":"git"},{"version":"b013840810c221f2b0cf641d01531526052dc1fb","lessThan":"a6cf750b737374454a4e03a5ed449a3eb0c96414","status":"affected","versionType":"git"},{"version":"b013840810c221f2b0cf641d01531526052dc1fb","lessThan":"157f08db94123e2ba56877dd0ac88908b13a5dd0","status":"affected","versionType":"git"},{"version":"b013840810c221f2b0cf641d01531526052dc1fb","lessThan":"fd09880b16d33aa5a7420578e01cd79148fa9829","status":"affected","versionType":"git"},{"version":"b013840810c221f2b0cf641d01531526052dc1fb","lessThan":"46f2a11cb82b657fd15bab1c47821b635e03838b","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"3.14","status":"affected"},{"version":"0","lessThan":"3.14","status":"unaffected","versionType":"semver"},{"version":"5.4.287","lessThanOrEqual":"5.4.*","status":"unaffected","versionType":"semver"},{"version":"5.10.231","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.174","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.120","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.66","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.5","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.13","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-416"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/71b22837a5e55ac27d6a14b9cdf2326587405c4f","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/1dc1e1db927056cb323296e2294a855cd003dfe7","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/132e615bb1d7cdec2d3cfbdec2efa630e923fd21","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/a6cf750b737374454a4e03a5ed449a3eb0c96414","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/157f08db94123e2ba56877dd0ac88908b13a5dd0","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/fd09880b16d33aa5a7420578e01cd79148fa9829","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/46f2a11cb82b657fd15bab1c47821b635e03838b","tags":["Patch","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html","tags":["web"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html","tags":["web"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-398330.html","tags":["web"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-355557.html","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/56xxx/CVE-2024-56606.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-56606","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.0025,"epssPercentile":0.16561,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-56606","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-56606","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-56606","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-56606","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}