CVE-2024-14040
Linux Debian vulnerability analysis and mitigation

Overview

CVE-2024-14040 is a Linux kernel vulnerability in the nexthop subsystem related to the expansion of the ECMP weight field from an 8-bit (u8) to a 16-bit (u16) type. The change was introduced to support CLOS network deployments where high fan-out and large node counts require weight ratios (e.g., 1000:999) that exceed the 8-bit range. The vulnerability was published on July 26, 2026, and affects Linux kernel versions prior to commit b72a6a7ab9573e06d5c2fcb92eaa28614a735bfd, with kernel 6.12 and later considered unaffected. The CVSS severity is estimated as Medium by Feedly; no official CVSS score has been assigned at this time (GitHub Advisory).

Technical details

The root cause is a type-safety concern introduced when expanding the nexthop_grp structure's weight field from u8 to u16 in the Linux kernel's nexthop group UAPI (NHA_GROUP attribute). The resvd1 field in struct nexthop_grp is repurposed as weight_high to carry the high-order bits of the weight, while the original weight field retains the low-order bits. This split-field approach was chosen to maintain backward compatibility and avoid endianness issues, but improper handling of the type conversion could introduce numerical errors or memory corruption in affected kernel versions. No CWE classification has been formally assigned (GitHub Advisory).

Impact

Exploitation of this vulnerability could result in kernel instability or memory corruption in Linux systems deployed in CLOS network environments where ECMP weight adjustments are performed. The potential impact is limited to systems actively configuring nexthop group weights beyond 8-bit values, and the risk is primarily to availability and integrity of the networking subsystem rather than confidentiality. Lateral movement or data exfiltration are not directly associated with this vulnerability (GitHub Advisory).

Mitigation and workarounds

The fix is available in the upstream Linux kernel at commit b72a6a7ab9573e06d5c2fcb92eaa28614a735bfd. Kernel version 6.12 and later are unaffected. Administrators should update to a patched kernel version that includes this commit. No configuration-based workarounds have been documented; upgrading the kernel is the recommended remediation (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related Linux Debian vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-64530NONEN/A
  • Linux Debian logoLinux Debian
  • linux
NoYesJul 26, 2026
CVE-2024-14040NONEN/A
  • Linux Debian logoLinux Debian
  • linux
NoYesJul 26, 2026
CVE-2026-64529NONEN/A
  • Linux Debian logoLinux Debian
  • linux
NoYesJul 25, 2026
CVE-2026-64528NONEN/A
  • Linux Debian logoLinux Debian
  • linux
NoYesJul 25, 2026
CVE-2026-64527NONEN/A
  • Linux Debian logoLinux Debian
  • linux
NoYesJul 25, 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