CVE-2026-143454
RDMA/mlx5: Use DEFINE_RAW_FLEX for leftovers flow attributes
AI summary AI generated
A mistake in the Linux kernel mlx5 RDMA driver's leftovers flow attributes causes out-of-bounds reads of static kernel data during flow rule creation, potentially crashing the system.
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= e91fb8b9d0edec86a1ef26490bc80af96210863d, < 2398e9e726cca24b2535ba2bb30ec088487602d7; >= e91fb8b9d0edec86a1ef26490bc80af96210863d, < 4a8216314e864d94cbda0c5212aab3fa2020e64c; >= e91fb8b9d0edec86a1ef26490bc80af96210863d, < e43913aabd35eef837edef29e93f15e15bdeeacd
- Anyone running Linux 6.16
Vulnerability facts
- Affected
- Linux >= e91fb8b9d0edec86a1ef26490bc80af96210863d, < 2398e9e726cca24b2535ba2bb30ec088487602d7; >= e91fb8b9d0edec86a1ef26490bc80af96210863d, < 4a8216314e864d94cbda0c5212aab3fa2020e64c; >= e91fb8b9d0edec86a1ef26490bc80af96210863d, < e43913aabd35eef837edef29e93f15e15bdeeacd; Linux 6.16
- Fixed in
- Linux 2398e9e726cca24b2535ba2bb30ec088487602d7, Linux 4a8216314e864d94cbda0c5212aab3fa2020e64c
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Unknown
- CVSS
- Not scored yet
- Modified
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 and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= e91fb8b9d0edec86a1ef26490bc80af96210863d, < 2398e9e726cca24b2535ba2bb30ec088487602d7; >= e91fb8b9d0edec86a1ef26490bc80af96210863d, < 4a8216314e864d94cbda0c5212aab3fa2020e64c; >= e91fb8b9d0edec86a1ef26490bc80af96210863d, < e43913aabd35eef837edef29e93f15e15bdeeacd | — | cvelist |
| Linux | 6.16 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-143454. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-143454.md Affected: Linux >= e91fb8b9d0edec86a1ef26490bc80af96210863d, < 2398e9e726cca24b2535ba2bb30ec088487602d7; >= e91fb8b9d0edec86a1ef26490bc80af96210863d, < 4a8216314e864d94cbda0c5212aab3fa2020e64c; >= e91fb8b9d0edec86a1ef26490bc80af96210863d, < e43913aabd35eef837edef29e93f15e15bdeeacd; Linux 6.16 Fixed in: Linux 2398e9e726cca24b2535ba2bb30ec088487602d7, Linux 4a8216314e864d94cbda0c5212aab3fa2020e64c Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
Technologies
References
FAQ
Is CVE-2026-143454 being exploited?
There is no confirmed exploitation: CVE-2026-143454 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known.
How serious is CVE-2026-143454?
It has no CVSS score yet. Unknown.
Which versions are affected by CVE-2026-143454?
Linux >= e91fb8b9d0edec86a1ef26490bc80af96210863d, < 2398e9e726cca24b2535ba2bb30ec088487602d7; >= e91fb8b9d0edec86a1ef26490bc80af96210863d, < 4a8216314e864d94cbda0c5212aab3fa2020e64c; >= e91fb8b9d0edec86a1ef26490bc80af96210863d, < e43913aabd35eef837edef29e93f15e15bdeeacd; Linux 6.16.
Is there a fix for CVE-2026-143454?
Yes. Fixed in Linux 2398e9e726cca24b2535ba2bb30ec088487602d7, Linux 4a8216314e864d94cbda0c5212aab3fa2020e64c. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2026-143454?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.
More Linux kernel vulnerabilities
See all| Severity | Identifier / vulnerability | Technology | Signals | Age |
|---|---|---|---|---|
| UNSCORED | CVE-2026-143465 arm64: dts: mediatek: mt8188-geralt: Enlarge SCP core0 memory region | Linux kernel | ||
| UNSCORED | CVE-2026-143464 arm64: dts: ti: k3-am62d2-evm: Fix wkup R5F memory region size | Linux kernel | ||
| UNSCORED | CVE-2026-143463 arm64: dts: ti: k3-am62a7-sk: Fix wkup R5F memory region size | Linux kernel | ||
| UNSCORED | CVE-2026-143462 arm64: dts: ti: k3-am62p5-sk: Fix wkup R5F memory region size | Linux kernel | ||
| UNSCORED | CVE-2026-143461 net: fix frag_list leak in skb_segment_list() error path | Linux kernel |