CVE-2026-143454 — Linux
One of 64 Linux vulnerabilities published together by NVD: our article covers all of them.
LinuxOperating systemsVulnerabilitiesSummary
In the Linux kernel, the following vulnerability has been resolved: RDMA/mlx5: Use DEFINE_RAW_FLEX for leftovers flow attributes Commit e91fb8b9d0ed ("RDMA/mlx5: Avoid flexible array warning") split the leftovers_specs[] array into two separate structs to silence the sparse "array of flexible structures" warning, but in doing so reversed the member order: eth_flow was placed before flow_attr. _create_flow_rule() locates the flow specs with: ib_flow = (void *)flow_attr + sizeof(*flow_attr); which expects the spec data to immediately follow the ib_flow_attr. With the reversed order, flow_attr is the last member, so ib_flow points past the end of the struct and the num_of_specs = 1 loop reads out-of-bounds memory (whatever static data follows in the .data section), producing incorrect flow rules or a crash. Rebuild the leftovers attributes with DEFINE_RAW_FLEX(), which declares an on-stack struct ib_flow_attr with a properly sized trailing flows[] array. The ETH spec lives in flows[0].eth at exactly the offset _create_flow_rule() expects, so no layout-dependent composite struct is needed. This also avoids embedding a structure that contains a flexible array member as a non-last member, which would trigger -Wflex-array-member-not-at-end once the warning is enabled.
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| Linux | 6.16 and later | 6.18.65, 7.3.6, 7.4-rc1 |
References by type
Patches and fixed releases
Affected
- Linux
What to do
- Follow the vendor advisory and the references below for fixed versions and workarounds.
Frequently asked questions
What is CVE-2026-143454?
In the Linux kernel, the following vulnerability has been resolved: RDMA/mlx5: Use DEFINERAWFLEX for leftovers flow attributes Commit e91fb8b9d0ed ("RDMA/mlx5: Avoid flexible array warning") split the leftoversspecs[] array into two separate structs to silence the sparse "array of flexible structures" warning, but in doing so reversed the member order: ethflow was placed before flowattr.
How severe is CVE-2026-143454?
CVE-2026-143454 has not been given a CVSS score yet.
Is CVE-2026-143454 being exploited?
Not as far as is known: CVE-2026-143454 is not in CISA's Known Exploited Vulnerabilities catalog as of December 6, 2026.
Which versions are affected by CVE-2026-143454?
Linux 6.16 and later (fixed in 6.18.65, 7.3.6, 7.4-rc1).
How do I fix CVE-2026-143454?
Update to a fixed release: Linux 6.18.65, 7.3.6, 7.4-rc1.