CVE-2024-26864
Linux Kernel vulnerability analysis and mitigation

Overview

A vulnerability in the Linux kernel's TCP implementation was discovered and fixed in March 2024, identified as CVE-2024-26864. The issue involves incorrect reference count handling in the __inet_hash_connect() function, which could lead to reference count underflow and socket leakage. This vulnerability affects the networking stack in the Linux kernel (Kernel Git).

Technical details

The vulnerability stems from improper reference count handling when unhashing a socket from ehash during connection establishment. The issue was introduced by commit 66b60b0c8c4a which attempted to fix an unconnected socket occupying an ehash entry when bhash2 allocation fails. The fix requires using __sk_nulls_del_node_init_rcu() instead of sk_nulls_del_node_init_rcu() to properly revert changes done by check_established(), as the latter does not hold refcnt when inserting socket into ehash (Kernel Git).

Impact

The vulnerability can cause a reference count underflow and socket leakage in the Linux kernel's networking stack. This could potentially lead to resource exhaustion and system instability (CISA ADP).

Exploitability

The vulnerability was discovered through automated testing by syzbot, which reported a warning in sk_nulls_del_node_init_rcu(). The issue requires specific conditions during socket connection establishment to trigger the reference count handling problem (Kernel Git).

Mitigation and workarounds

The vulnerability has been patched in the Linux kernel by modifying the __inet_hash_connect() function to use __sk_nulls_del_node_init_rcu() instead of sk_nulls_del_node_init_rcu(). System administrators should update their Linux kernel to a version containing this fix (Kernel Git).

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-aws-6.17
NoYesAug 13, 2026
CVE-2026-68452HIGH7.8
  • Linux Kernel logoLinux Kernel
  • kernel-modules-core
NoYesAug 13, 2026
CVE-2026-68451HIGH7.8
  • Linux Kernel logoLinux Kernel
  • kernel-rt-64k-modules-partner
NoYesAug 13, 2026
CVE-2026-68453HIGH7.1
  • Linux Kernel logoLinux Kernel
  • kernel-64k-modules-extra
NoYesAug 13, 2026
CVE-2026-68450NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel-64k-debug-core
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