{"identifier":"CVE-2026-143454","cve":{"id":"CVE-2026-143454","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/mlx5: Use DEFINE_RAW_FLEX for leftovers flow attributes\n\nCommit e91fb8b9d0ed (\"RDMA/mlx5: Avoid flexible array warning\") split\nthe leftovers_specs[] array into two separate structs to silence the\nsparse \"array of flexible structures\" warning, but in doing so reversed\nthe member order: eth_flow was placed before flow_attr.\n\n_create_flow_rule() locates the flow specs with:\n\n    ib_flow = (void *)flow_attr + sizeof(*flow_attr);\n\nwhich expects the spec data to immediately follow the ib_flow_attr.\nWith the reversed order, flow_attr is the last member, so ib_flow\npoints past the end of the struct and the num_of_specs = 1 loop reads\nout-of-bounds memory (whatever static data follows in the .data\nsection), producing incorrect flow rules or a crash.\n\nRebuild the leftovers attributes with DEFINE_RAW_FLEX(), which declares\nan on-stack struct ib_flow_attr with a properly sized trailing flows[]\narray.  The ETH spec lives in flows[0].eth at exactly the offset\n_create_flow_rule() expects, so no layout-dependent composite struct is\nneeded.  This also avoids embedding a structure that contains a flexible\narray member as a non-last member, which would trigger\n-Wflex-array-member-not-at-end once the warning is enabled.","published":"2026-12-05T03:19:57.813000+00:00","modified":"2026-12-05T03:19:57.813000+00:00","status":"Received","score":null,"severity":"UNSCORED","vector":"","cvss_version":"","affected":[],"weaknesses":[],"references":[{"url":"https://git.kernel.org/stable/c/2398e9e726cca24b2535ba2bb30ec088487602d7","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/4a8216314e864d94cbda0c5212aab3fa2020e64c","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/e43913aabd35eef837edef29e93f15e15bdeeacd","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"}],"kev":null,"kev_checked":true,"metrics":{},"configurations":[],"source":"nvd","retrieved_at":"2026-12-05T07:11:45.945780+00:00","exploited":false,"kev_stale":false,"products":[],"priority":{"label":"Assess exposure and vendor guidance","reasons":["No higher-priority signal is available in the current stored evidence.","Fresh EPSS data is unavailable; missing values are not zero."]},"epss":null,"version_assessment":null},"news":[],"campaigns":[],"domains":[{"domain":"git.kernel.org","source_url":"https://git.kernel.org/stable/c/2398e9e726cca24b2535ba2bb30ec088487602d7","investigate_url":"https://investigate.aeglixmind.com/#git.kernel.org"}],"arsenal_url":"https://arsenal.aeglixmind.com/?cve=CVE-2026-143454","catalog_url":"https://cves.aeglixmind.com/cve/CVE-2026-143454","research_url":"https://investigate.aeglixmind.com/research/cve/CVE-2026-143454","coverage":{"news_candidates_checked":0,"campaign_candidates_checked":0,"bounded":false,"notice":"Exact CVE mentions in stored public excerpts and reviewed campaign content only. A mention is not proof of exploitation, attribution or tool suitability. Missing matches do not establish absence."}}