CVE-2024-56633: Linux kernel · tcp_bpf: Fix the sk_mem_uncharge logic in tcp_bpf_sendmsg
Source GCVE Database
Not known to be exploited · CVSS 7.8 High.
Data as of 30 Oct 2026, 00:51 UTC
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 27 Dec 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Oct 2026.
What to do
AI-suggested
A fix for this vulnerability is available in the Linux kernel as described in the advisory. Users and administrators should update to the fixed kernel version that includes the corrected sk_mem_uncharge logic in tcp_bpf_sendmsg. No additional mitigation steps are indicated beyond applying the official patch.
Description
CVE-2024-56633 addresses a flaw in the Linux kernel's tcp_bpf_sendmsg function related to incorrect memory accounting (sk_mem_uncharge) during TCP message sending with BPF. The issue involves improper handling of socket memory charges when the number of bytes sent is less than expected, potentially leading to memory accounting inconsistencies and kernel warnings. The vulnerability was identified through kernel self-tests that triggered warnings related to socket destruction. The fix involves delaying the uncharging of memory until the actual sent bytes are finalized, ensuring accurate memory accounting.
References
- nvd.nist.gov/vuln/detail/CVE-2024-56633 (opens in a new tab)
- git.kernel.org/stable/c/0d6cd1151e26fc7c2d5daa85e8984aaa685a1a12 (opens in a new tab)
- git.kernel.org/stable/c/206d56f41a1509cadd06e2178c26cb830e45057d (opens in a new tab)
- git.kernel.org/stable/c/456f08d24afa51b5eb816c42e4ca1c44a247bd42 (opens in a new tab)
- git.kernel.org/stable/c/5c9e3bb43a354a2245caebbbbb4a5b8c034fdd56 (opens in a new tab)
- git.kernel.org/stable/c/905d82e6e77d16ec3e089c92b7b59a14899dfc1a (opens in a new tab)
- git.kernel.org/stable/c/ca70b8baf2bd125b2a4d96e76db79375c07d7ff2 (opens in a new tab)
- git.kernel.org/stable/c/dbedc7e142df5ea238a46fdd7462c1c42cd36a10 (opens in a new tab)
- lists.debian.org/debian-lts-announce/2025/03/msg00001.html (opens in a new tab)
- lists.debian.org/debian-lts-announce/2025/03/msg00002.html (opens in a new tab)