CVE-2024-56633
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2024-56633 is a vulnerability discovered in the Linux kernel's TCP BPF implementation, specifically in the sk_mem_uncharge logic within tcp_bpf_sendmsg. The issue was identified and disclosed on December 27, 2024, affecting the memory accounting mechanism in the __SK_REDIRECT functionality (NVD).

Technical details

The vulnerability stems from the sk memory accounting logic in __SK_REDIRECT pre-uncharging tosend bytes, which can be either msg->sg.size or a smaller value apply_bytes. Two specific issues were identified: 1) When actual sent bytes are smaller than tosend, some bytes need to be charged back, and 2) When tosend is set to apply_bytes and (ret < 0), the system may miss uncharging (msg->sg.size - apply_bytes) bytes. The issue manifests when running the selftest test_txmsg_redir_wait_sndmem with txmsg_apply, triggering a warning in the inet_sock_destruct function (Kernel Commit).

Impact

The vulnerability affects the memory management system of the Linux kernel's TCP BPF implementation, potentially leading to memory accounting inconsistencies. This could result in memory leaks or incorrect memory allocation tracking in the kernel (Debian Tracker).

Exploitability

The vulnerability was discovered during testing with the test_txmsg_redir_wait_sndmem selftest with txmsg_apply. It primarily affects systems using TCP BPF functionality and can be triggered through specific memory operations in the tcp_bpf_sendmsg function (Kernel Commit).

Mitigation and workarounds

The issue has been fixed in multiple Linux kernel versions, including 5.10.234-1 for Debian 11 bullseye and 6.1.128-1~deb11u1 for the linux-6.1 package. The fix involves modifying the memory uncharging logic to delay the uncharging until after sent bytes are finalized, and using sk_msg_free instead of sk_msg_free_partial in certain cases (DLA-4075-1, DLA-4076-1).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-68454HIGH8.8
  • Linux Kernel logoLinux Kernel
  • linux-xilinx-zynqmp
NoYesAug 13, 2026
CVE-2026-68452HIGH7.8
  • Linux Kernel logoLinux Kernel
  • kernel-zfcpdump-modules-core
NoYesAug 13, 2026
CVE-2026-68451HIGH7.8
  • Linux Kernel logoLinux Kernel
  • linux-aws
NoYesAug 13, 2026
CVE-2026-68453HIGH7.1
  • Linux Kernel logoLinux Kernel
  • kernel-64k-debug-modules-partner
NoYesAug 13, 2026
CVE-2026-68450NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-aws-fips
NoYesAug 12, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management