CVE-2026-143454
Received Received - Intake

Memory Corruption in Linux Kernel RDMA/mlx5 Driver

Vulnerability report for CVE-2026-143454, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-12-05

Last updated on: 2026-12-05

Assigner: kernel.org

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-12-05
Last Modified
2026-12-05
Generated
2026-12-05
AI Q&A
2026-12-05
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
linux linux_kernel *

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability in the Linux kernel involves incorrect struct member ordering in RDMA/mlx5 flow attributes. A commit split an array into two structs to fix a sparse warning but reversed the order of eth_flow and flow_attr. This caused _create_flow_rule() to read out-of-bounds memory, leading to incorrect flow rules or crashes.

Detection Guidance

This vulnerability is specific to the Linux kernel's RDMA/mlx5 driver and requires kernel code inspection or runtime detection via kernel logs. No standard network or system commands directly detect this issue. Check kernel logs for crashes or flow rule errors related to mlx5.

Impact Analysis

This vulnerability could cause system instability, crashes, or incorrect network flow rule processing in systems using RDMA/mlx5. Attackers might exploit it to disrupt services or gain unauthorized access if they can trigger specific network flows.

Mitigation Strategies

Apply the kernel patch that resolves this issue. Update to a patched Linux kernel version where the RDMA/mlx5 driver uses DEFINE_RAW_FLEX for leftovers flow attributes. Monitor kernel logs for mlx5-related errors post-update.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-143454. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...