CVE-2024-14040: Linux
- Severity
- 0 (N/A)
- Vendor
- LINUX
- Affected versions
- 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 through before b72a6a7ab9573e06d5c2fcb92eaa28614a735bfd
- Fixed version
- 6.12
- Patch status
- Patched
- Published
- 2026-07-26T07:16:39.583
- Modified
- 2026-07-26T07:16:39.583
Why it matters
Vulnerability requiring standard triage and vendor validation.
Recommended admin actions
- Review during normal vulnerability triage unless the affected system is internet-facing or business-critical.
- Compare installed versions against the affected version range in the advisory.
- Treat internet-facing systems as higher priority.
Technical summary
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.
View the official NVD record for CVE-2024-14040
CVE data is sourced from NVD/CNA records and optional enrichment. Validate against the vendor advisory before taking production action.
VULNERABILITY PULSE
| AFFECTED PRODUCT | ACTION | ||
|---|---|---|---|
| CVE-2026-15962 |
Fluent Forms Pro Add On Pack
Reporter: SECURITY
|
8.8
HIGH
|
VIEW RECORD |
| CVE-2026-17497 |
NoteGen PATCH
Reporter: REEFS
|
8.3
HIGH
|
VIEW RECORD |
| CVE-2026-17496 |
NoteGen PATCH
Reporter: REEFS
|
8.1
HIGH
|
VIEW RECORD |
| CVE-2026-63720 |
datamodel-code-generator PATCH
Reporter: DISCLOSURE
|
7.5
HIGH
|
VIEW RECORD |
| CVE-2026-57989 |
Microsoft Edge (Chromium-based)
Reporter: SECURE
|
7.4
HIGH
|
VIEW RECORD |
| CVE-2026-57990 |
Microsoft Edge (Chromium-based)
Reporter: SECURE
|
7.4
HIGH
|
VIEW RECORD |
| CVE-2026-57978 |
Microsoft Edge (Chromium-based)
Reporter: SECURE
|
5.4
MEDIUM
|
VIEW RECORD |
| CVE-2026-17434 |
NanoClaw
Reporter: CNA
|
2.1
LOW
|
VIEW RECORD |
| CVE-2026-17457 |
openclaw-cn
Reporter: CNA
|
2.1
LOW
|
VIEW RECORD |
| CVE-2026-17458 |
openclaw-cn
Reporter: CNA
|
2.1
LOW
|
VIEW RECORD |
| CVE-2026-17459 |
spark
Reporter: CNA
|
2.1
LOW
|
VIEW RECORD |
| CVE-2026-17433 |
NanoClaw
Reporter: CNA
|
1.9
LOW
|
VIEW RECORD |
| CVE-2026-17432 |
hermes-agent
Reporter: CNA
|
1.3
LOW
|
VIEW RECORD |
| CVE-2024-14040 |
Linux PATCH
Reporter: 416BAAA9-DC9F-4396-8D5F-8C081FB06D67
|
0
N/A
|
VIEW RECORD |
| CVE-2026-64530 |
Linux PATCH
Reporter: 416BAAA9-DC9F-4396-8D5F-8C081FB06D67
|
0
N/A
|
VIEW RECORD |
About the Vulnerability Pulse CVE Feed
The Vulnerability Pulse feed tracks live CVE advisories sourced from the National Vulnerability Database and vendor security disclosures. It is designed for SOC analysts, IT administrators, and security teams who need a fast, filterable view of current vulnerabilities without digging through raw NVD data.
How to Use the CVE Advisory Tracker
Use the severity filters to narrow results to Critical or High priority vulnerabilities. Filter by vendor to focus on software and hardware relevant to your environment. Export to CSV for reporting, ticketing, or patch prioritization workflows.
What Is a CVE Advisory?
A CVE (Common Vulnerabilities and Exposures) advisory is a public disclosure of a security vulnerability assigned a unique identifier by MITRE. Advisories include severity scores (CVSS), affected versions, and remediation guidance. Monitoring CVE advisories is a core function of vulnerability management programs and SOC operations.
CVE Analysis & Writeups
For in-depth analysis of specific vulnerabilities, visit the IT Knowledge Bases blog for CVE breakdowns, exploitation analysis, and remediation guidance written for security practitioners.