CVE-2024-56664

Kernel memory corruption via sockmap replacement race

Published Dec 27, 2024 · Updated Aug 5, 2026

Use-after-free in Linux kernel BPF sockmaps allows local users to corrupt kernel memory through concurrent socket replacement and closure. The __sock_map_delete() path decrements the replacement socket's reference after the original socket's close path races with a map update, leaving the map entry dangling. Triggering the flaw requires access to the bpf() system call and concurrent control of the narrow race; observed results include reference-count warnings and a KASAN-detected write in sock_map_free().

CVSS severity7.8
High
EPSS probability0.18%
Next 30 days · Sep 16, 2026
Known exploitationUnconfirmed
Based on sourced intelligence
Hinoki checkNot available
Coverage for this vulnerability

See if you're affected

Explore vulnerability checks for your environment with Hinoki.

Book a demo

Summary

What happened

Use-after-free in Linux kernel BPF sockmaps allows local users to corrupt kernel memory through concurrent socket replacement and closure. The __sock_map_delete() path decrements the replacement socket's reference after the original socket's close path races with a map update, leaving the map entry dangling. Triggering the flaw requires access to the bpf() system call and concurrent control of the narrow race; observed results include reference-count warnings and a KASAN-detected write in sock_map_free().

The record

CVE
CVE-2024-56664
Published
Dec 27, 2024
Updated
Aug 5, 2026
Vendor
The Linux Kernel Organization
Product
Linux
Classifications
CWE-362, CWE-416, T1068
Attack vector
local
Privileges
authenticated

Timeline

How it unfolded

  1. Dec 27, 2024CVE publishedPublication date reported by the CVE source.
  2. Aug 5, 2026Record updatedLatest update available in the CVE record.

Exploitability

Present is not the same as exploitable

Compare your product and version with the public record. A matching version still requires validation against your environment.

Is a vulnerable build present?

Compare these published version ranges with your installed build and any vendor patches.

  1. Affected versionversion=4.20
  2. Affected versionversion=604326b41a6fb9b4a78b6179335decee0365cd8c <6deb9e85dc9a2ba4414b91c1b5b00b8415910890
  3. Affected versionversion=604326b41a6fb9b4a78b6179335decee0365cd8c <b015f19fedd2e12283a8450dd0aefce49ec57015
  4. Affected versionversion=604326b41a6fb9b4a78b6179335decee0365cd8c <b79a0d1e9a374d1b376933a354c4fcd01fce0365
  5. Affected versionversion=604326b41a6fb9b4a78b6179335decee0365cd8c <bf2318e288f636a882eea39f7e1015623629f168
  6. Affected versionversion=604326b41a6fb9b4a78b6179335decee0365cd8c <ed1fc5d76b81a4d681211333c026202cad4d5649
  7. Affected versionversion=604326b41a6fb9b4a78b6179335decee0365cd8c <fdb2cd8957ac51f84c9e742ba866087944bb834b

What conditions does exploitation require?

Attack vectorlocal
Required privilegesauthenticated

What is affected?

The Linux Kernel Organization · Linuxversion=4.20; version=604326b41a6fb9b4a78b6179335decee0365cd8c <6deb9e85dc9a2ba4414b91c1b5b00b8415910890; version=604326b41a6fb9b4a78b6179335decee0365cd8c <b015f19fedd2e12283a8450dd0aefce49ec57015; version=604326b41a6fb9b4a78b6179335decee0365cd8c <b79a0d1e9a374d1b376933a354c4fcd01fce0365; version=604326b41a6fb9b4a78b6179335decee0365cd8c <bf2318e288f636a882eea39f7e1015623629f168; version=604326b41a6fb9b4a78b6179335decee0365cd8c <ed1fc5d76b81a4d681211333c026202cad4d5649; version=604326b41a6fb9b4a78b6179335decee0365cd8c <fdb2cd8957ac51f84c9e742ba866087944bb834b

Published CVSS scores

6.4Red HatCVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
7.0NVDCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
7.8cve.orgCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

CVSS describes severity. EPSS estimates exploitation probability.

Attacks

What attackers are doing with it

Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.

Daily unique IPsNo honeypot observations are available for this CVE in the selected window.

No observations available

Sep 10, 2026Sep 16, 2026
Latest reporting daySep 16, 2026
Latest daily unique IPsUnavailable
Prior 30-day averageUnavailable
SourceShadowserver honeypots (KEV)
Vectorlocal
Privilegesauthenticated
Known exploitationUnconfirmed
Public exploitUnconfirmed

Weakness, pattern, technique

CWE-362Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')
CWE-416Use After Free
T1068Exploitation for Privilege Escalation

Public exploit references

No public exploit references are available in this record.

Labels summarize the accepted research assessment. They do not indicate a test against your environment.

Technologies

Your stack

See the directory against your own environment.

Your stack

Check the software in your environment

Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.

Book a demo