CVE-2026-143454
Last modified
CVE-2026-143454 is a vulnerability of currently unknown severity. 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.
Description
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 Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= e91fb8b9d0edec86a1ef26490bc80af96210863d, < 2398e9e726cca24b2535ba2bb30ec088487602d7; >= e91fb8b9d0edec86a1ef26490bc80af96210863d, < 4a8216314e864d94cbda0c5212aab3fa2020e64c; >= e91fb8b9d0edec86a1ef26490bc80af96210863d, < e43913aabd35eef837edef29e93f15e15bdeeacd |
| Linux | Linux | 6.16 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-143454?
How severe is CVE-2026-143454?
How do I fix CVE-2026-143454?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-143449In the Linux kernel, the following vulnerability has been re…
- CVE-2026-14345The WPFunnels – Funnel Builder for WooCommerce with Checkout…9.8
- CVE-2026-143450In the Linux kernel, the following vulnerability has been re…
- CVE-2026-143451In the Linux kernel, the following vulnerability has been re…
- CVE-2026-143452In the Linux kernel, the following vulnerability has been re…
- CVE-2026-143453In the Linux kernel, the following vulnerability has been re…
- CVE-2026-143455In the Linux kernel, the following vulnerability has been re…
- CVE-2026-143456In the Linux kernel, the following vulnerability has been re…
- CVE-2026-143457In the Linux kernel, the following vulnerability has been re…
- CVE-2026-143458In the Linux kernel, the following vulnerability has been re…
- CVE-2026-143459In the Linux kernel, the following vulnerability has been re…
- CVE-2026-143460In the Linux kernel, the following vulnerability has been re…
Are you affected by CVE-2026-143454?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
