CVE-2024-14040

HIGHPre-NVD 7.87.8
EchelonGraph scoreMEDIUM confidence

Score 7.8 from GitHub Security Advisory (severity: HIGH) published 2026-07-26. the CNA's CVSS baseline 7.8; sources differ by 0.0.

Triggered by: GitHub Security Advisory CVSS
Sources: cna:linux, epss, ghsa
Trending — 4 sources updated this week
7.8EG
EchelonGraph verdictPlan a fixSerious severity, but no confirmed exploitation yet.
  • High severity, but no confirmed exploitation yet
CISA-KEV: Not listedEPSS PROB: 0%CVSS: 7.8Exploit: None knownExposed: 0

A fix is available — apply it.

In the Linux kernel, the following vulnerability has been resolved:

net: nexthop: Increase weight to u16

In CLOS networks, as link failures occur at various points in the network, ECMP weights of the involved nodes are adjusted to compensate. With high fan-out of the involved nodes, and overall high number of nodes, a (non-)ECMP weight ratio that we would like to configure does not fit into 8 bits. Instead of, say, 255:254, we might like to configure something like 1000:999. For these deployments, the 8-bit weight may not be enough.

To that end, in this patch increase the next hop weight from u8 to u16.

Increasing the width of an integral type can be tricky, because while the code still compiles, the types may not check out anymore, and numerical errors come up. To prevent this, the conversion was done in two steps. First the type was changed from u8 to a single-member structure, which invalidated all uses of the field. This allowed going through them one by one and audit for type correctness. Then the structure was replaced with a vanilla u16 again. This should ensure that no place was missed.

The UAPI for configuring nexthop group members is that an attribute NHA_GROUP carries an array of struct nexthop_grp entries:

struct nexthop_grp { __u32 id; /* nexthop id - must exist */ __u8 weight; /* weight of this nexthop */ __u8 resvd1; __u16 resvd2; };

The field resvd1 is currently validated and required to be zero. We can lift this requirement and carry high-order bits of the weight in the reserved field:

struct nexthop_grp { __u32 id; /* nexthop id - must exist */ __u8 weight; /* weight of this nexthop */ __u8 weight_high; __u16 resvd2; };

Keeping the fields split this way was chosen in case an existing userspace makes assumptions about the width of the weight field, and to sidestep any endianness issues.

The weight field is currently encoded as the weight value minus one, because weight of 0 is invalid. This same trick is impossible for the new weight_high field, because zero must mean actual zero. With this in place:

  • Old userspace is guaranteed to carry weight_high of 0, therefore
configuring 8-bit weights as appropriate. When dumping nexthops with 16-bit weight, it would only show the lower 8 bits. But configuring such nexthops implies existence of userspace aware of the extension in the first place.
  • New userspace talking to an old kernel will work as long as it only
attempts to configure 8-bit weights, where the high-order bits are zero. Old kernel will bounce attempts at configuring >8-bit weights.

Renaming reserved fields as they are allocated for some purpose is commonly done in Linux. Whoever touches a reserved field is doing so at their own risk. nexthop_grp::resvd1 in particular is currently used by at least strace, however they carry an own copy of UAPI headers, and the conversion should be trivial. A helper is provided for decoding the weight out of the two fields. Forcing a conversion seems preferable to bending backwards and introducing anonymous unions or whatever.

CVSS v3
7.8
EG Score
7.8(medium)
EG Risk
40(Track)
EG Risk 40/100SSVC: Track

EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).

How it’s computed
Severity78% × 45%
Exploitation0% × 40%
Automatability30% × 15%
Action: Routine — remediate on your standard cadence.
EPSS PROB
0%
EPSS %ILE
2%
KEV
Not listed

Published

July 26, 2026

Last Modified

August 5, 2026

Advisory Details (1)

Auto-updated Jul 27, 2026
No patch confirmed yet.
generic

net: nexthop: Increase weight to u16 - kernel/git/stable/linux.git - Linux kernel stable tree

https://git.kernel.org/stable/c/b72a6a7ab9573e06d5c2fcb92eaa28614a735bfd

Vendor Advisories for CVE-2024-14040(2)

These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.

Patch Availability(1)

Vendor / EcosystemFixed in / PatchReleasedSource
ubuntulinux-tools-nvidia-tegra-rt-6.8 (6.8.0-1035.38) @ noble2026-09-18ubuntu

Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.

Affected Packages

(3 across 3 ecosystems)
Debian:12(1)
PackageVulnerable rangeFixed inDependents
linux6.1.106-1 ... 7.2~rc7-1~exp1 (350 versions)
Debian:13(1)
PackageVulnerable rangeFixed inDependents
linux6.12.3-1
Debian:14(1)
PackageVulnerable rangeFixed inDependents
linux6.12.3-1

All Vendor Advisories

(1)

Every vendor that published an advisory referencing this CVE — pulled from our cve_vendor_advisories aggregation. Click any row for the vendor's original advisory page.

Data Freshness Timeline

(refreshed 23× in last 7d / 86× in last 30d)

Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.

Showing the most recent 100 of 198 total refreshes for this CVE.

  1. 2026-09-18 19:36 UTCEG score recompute
  2. 2026-09-18 19:36 UTCVendor advisory
  3. 2026-09-18 19:36 UTCGHSA enrichment
  4. 2026-09-18 19:26 UTCEPSS rescore
  5. 2026-09-18 02:40 UTCEG score recompute
  6. 2026-09-18 02:40 UTCGHSA enrichment
  7. 2026-09-17 01:49 UTCEG score recompute
  8. 2026-09-17 01:49 UTCGHSA enrichment
  9. 2026-09-16 14:06 UTCEPSS rescore
  10. 2026-09-16 06:23 UTCEG score recompute
  11. 2026-09-16 06:23 UTCGHSA enrichment
  12. 2026-09-16 05:11 UTCEPSS rescore
  13. 2026-09-15 09:18 UTCEG score recompute
  14. 2026-09-15 09:18 UTCGHSA enrichment
  15. 2026-09-15 03:08 UTCEPSS rescore
  16. 2026-09-14 15:48 UTCGHSA enrichment
  17. 2026-09-14 03:16 UTCEG score recompute
  18. 2026-09-14 03:16 UTCGHSA enrichment
  19. 2026-09-13 16:45 UTCEPSS rescore
  20. 2026-09-13 16:11 UTCGHSA enrichment
  21. 2026-09-13 05:06 UTCGHSA enrichment
  22. 2026-09-12 17:57 UTCGHSA enrichment
  23. 2026-09-12 06:52 UTCGHSA enrichment
  24. 2026-09-11 19:43 UTCEG score recompute
  25. 2026-09-11 19:43 UTCGHSA enrichment
Show 75 more
  1. 2026-09-11 14:51 UTCEPSS rescore
  2. 2026-09-11 08:37 UTCGHSA enrichment
  3. 2026-09-10 21:32 UTCGHSA enrichment
  4. 2026-09-10 10:23 UTCEG score recompute
  5. 2026-09-10 10:23 UTCGHSA enrichment
  6. 2026-09-09 08:28 UTCEG score recompute
  7. 2026-09-09 08:28 UTCGHSA enrichment
  8. 2026-09-08 21:58 UTCEPSS rescore
  9. 2026-09-07 21:07 UTCGHSA enrichment
  10. 2026-09-06 18:59 UTCEG score recompute
  11. 2026-09-06 18:59 UTCGHSA enrichment
  12. 2026-09-06 13:46 UTCEPSS rescore
  13. 2026-09-06 07:53 UTCGHSA enrichment
  14. 2026-09-05 19:17 UTCEG score recompute
  15. 2026-09-05 19:17 UTCGHSA enrichment
  16. 2026-09-05 15:26 UTCEPSS rescore
  17. 2026-09-05 05:53 UTCEG score recompute
  18. 2026-09-05 05:53 UTCGHSA enrichment
  19. 2026-09-04 13:58 UTCEPSS rescore
  20. 2026-09-04 12:37 UTCEG score recompute
  21. 2026-09-04 12:37 UTCGHSA enrichment
  22. 2026-09-04 05:04 UTCEPSS rescore
  23. 2026-09-01 23:05 UTCEG score recompute
  24. 2026-09-01 23:05 UTCGHSA enrichment
  25. 2026-09-01 13:52 UTCEPSS rescore
  26. 2026-08-30 22:13 UTCEG score recompute
  27. 2026-08-30 22:13 UTCGHSA enrichment
  28. 2026-08-30 19:15 UTCEPSS rescore
  29. 2026-08-30 11:07 UTCGHSA enrichment
  30. 2026-08-29 23:59 UTCEG score recompute
  31. 2026-08-29 23:59 UTCGHSA enrichment
  32. 2026-08-28 21:39 UTCEPSS rescore
  33. 2026-08-27 21:03 UTCEG score recompute
  34. 2026-08-27 21:03 UTCGHSA enrichment
  35. 2026-08-27 14:23 UTCEPSS rescore
  36. 2026-08-27 09:50 UTCGHSA enrichment
  37. 2026-08-26 19:48 UTCEG score recompute
  38. 2026-08-26 19:47 UTCGHSA enrichment
  39. 2026-08-26 14:44 UTCEPSS rescore
  40. 2026-08-26 07:27 UTCGHSA enrichment
  41. 2026-08-25 20:21 UTCEG score recompute
  42. 2026-08-25 20:21 UTCGHSA enrichment
  43. 2026-08-25 13:47 UTCEPSS rescore
  44. 2026-08-25 09:16 UTCGHSA enrichment
  45. 2026-08-24 22:11 UTCEG score recompute
  46. 2026-08-24 22:11 UTCGHSA enrichment
  47. 2026-08-24 11:06 UTCEG score recompute
  48. 2026-08-24 11:06 UTCGHSA enrichment
  49. 2026-08-24 00:00 UTCGHSA enrichment
  50. 2026-08-23 12:54 UTCGHSA enrichment
  51. 2026-08-23 01:48 UTCEG score recompute
  52. 2026-08-23 01:48 UTCGHSA enrichment
  53. 2026-08-23 00:17 UTCEPSS rescore
  54. 2026-08-22 14:43 UTCGHSA enrichment
  55. 2026-08-22 03:38 UTCGHSA enrichment
  56. 2026-08-21 16:33 UTCGHSA enrichment
  57. 2026-08-21 05:20 UTCEG score recompute
  58. 2026-08-21 05:20 UTCGHSA enrichment
  59. 2026-08-20 22:53 UTCEPSS rescore
  60. 2026-08-20 18:14 UTCGHSA enrichment
  61. 2026-08-20 07:09 UTCGHSA enrichment
  62. 2026-08-19 20:04 UTCEG score recompute
  63. 2026-08-19 20:04 UTCGHSA enrichment
  64. 2026-08-19 17:02 UTCEPSS rescore
  65. 2026-08-19 08:58 UTCGHSA enrichment
  66. 2026-08-18 21:46 UTCEG score recompute
  67. 2026-08-18 21:46 UTCGHSA enrichment
  68. 2026-08-18 13:46 UTCEPSS rescore
  69. 2026-08-18 10:28 UTCGHSA enrichment
  70. 2026-08-17 23:23 UTCEG score recompute
  71. 2026-08-17 23:23 UTCGHSA enrichment
  72. 2026-08-17 13:45 UTCEPSS rescore
  73. 2026-08-17 12:17 UTCGHSA enrichment
  74. 2026-08-17 01:12 UTCEG score recompute
  75. 2026-08-17 01:12 UTCGHSA enrichment

Frequently asked(5)

What is CVE-2024-14040?
CVE-2024-14040 is a high vulnerability published on July 26, 2026. In the Linux kernel, the following vulnerability has been resolved: net: nexthop: Increase weight to u16 In CLOS networks, as link failures occur at various points in the network, ECMP weights of the involved nodes are adjusted to compensate. With high fan-out of the involved nodes, and overall…
When was CVE-2024-14040 disclosed?
CVE-2024-14040 was first published in the National Vulnerability Database on July 26, 2026, with the most recent update on August 5, 2026. EchelonGraph re-ingests CVE updates from NVD on a 2-hour cycle, so this page reflects the latest published state.
Is CVE-2024-14040 actively exploited?
CVE-2024-14040 is not currently on CISA's Known Exploited Vulnerabilities catalog. FIRST EPSS estimates a 0% probability of exploitation in the next 30 days, which ranks it in the top 98.3% of all scored CVEs.
What is the CVSS score of CVE-2024-14040?
CVE-2024-14040 has a CVSS v4.0 base score of 7.8 (CNA self-assessment; NVD's own analysis pending).
How do I remediate CVE-2024-14040?
Patch to the fixed version published by the affected vendor. Where vendor advisories exist for CVE-2024-14040, EchelonGraph cross-links them in the Vendor Advisories panel below — those typically contain the canonical remediation steps, fixed version numbers, and any vendor-specific mitigations.

Dependency Blast Radius

See which npm, PyPI, Go, and Maven packages are affected by CVE-2024-14040

Explore →

Is Your Infrastructure Affected by CVE-2024-14040?

EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.