In the Linux kernel, the following vulnerability has been resolved: net/mlx5: Properly link new fs rules into the tree Previously, add_rule_fg would only add newly created rules from the handle into the tree when they had a refcount of 1.
Overview
In the Linux kernel, the following vulnerability has been resolved: net/mlx5: Properly link new fs rules into the tree Previously, add_rule_fg would only add newly created rules from the handle into the tree when they had a refcount of 1. On the other hand, create_flow_handle tries hard to find and reference already existing identical rules instead of creating new ones. These two behaviors can result in a situation where create_flow_handle 1) creates a new rule and references it, then 2) in a subsequent step during the same handle creation references it again, resulting in a rule with a refcount of 2 that is not linked into the tree, will have a NULL parent and root and will result in a crash when the flow group is deleted because del_sw_hw_rule, invoked on rule deletion, assumes node->parent is != NULL. This happened in the wild, due to another bug related to incorrect handling of duplicate pkt_reformat ids, which lead to the code in create_flow_handle incorrectly referencing a just-added rule in the same flow handle, resulting in the problem described above. Full details are at [1]. This patch changes add_rule_fg to add new rules without parents into the tree, properly initializing them and avoiding the crash. This makes it more consistent with how rules are added to an FTE in create_flow_handle.
- Published
- 5/20/2024
- Last modified
- 10/15/2026
- CVE assigner
- Not available
- NVD analysis
- Not available
Exploitation
No CISA KEV flag in the saved record
An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.
EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare
Affected products
Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.
| Vendor / product | Affected versions | Platform / conditions | Evidence |
|---|---|---|---|
linux kernel linux | ≥ 4.10, < 4.19.313 | Verify advisory | Source |
linux kernel linux | ≥ 4.20, < 5.4.275 | Verify advisory | Source |
linux kernel linux | ≥ 5.5, < 5.10.216 | Verify advisory | Source |
linux kernel linux | ≥ 5.11, < 5.15.156 | Verify advisory | Source |
linux kernel linux | ≥ 5.16, < 6.1.87 | Verify advisory | Source |
linux kernel linux | ≥ 6.2, < 6.6.28 | Verify advisory | Source |
linux kernel linux | ≥ 6.7, < 6.8.7 | Verify advisory | Source |
linux kernel linux | 6.9 | Verify advisory The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory. | Source |
debian linux debian | 10.0 | Verify advisory | Source |
Linux Linux | ≥ 74491de937125d0c98c9b9c9208b4105717a3caa, < de0139719cdda82806a47580ca0df06fc85e0bd2 | Verify advisory | Source |
Linux Linux | ≥ 74491de937125d0c98c9b9c9208b4105717a3caa, < 1263b0b26077b1183c3c45a0a2479573a351d423 | Verify advisory | Source |
Linux Linux | ≥ 74491de937125d0c98c9b9c9208b4105717a3caa, < 3d90ca9145f6b97b38d0c2b6b30f6ca6af9c1801 | Verify advisory | Source |
Linux Linux | ≥ 74491de937125d0c98c9b9c9208b4105717a3caa, < 7aaee12b804c5e0374e7b132b6ec2158ff33dd64 | Verify advisory | Source |
Linux Linux | ≥ 74491de937125d0c98c9b9c9208b4105717a3caa, < 2e8dc5cffc844dacfa79f056dea88002312f253f | Verify advisory | Source |
Linux Linux | ≥ 74491de937125d0c98c9b9c9208b4105717a3caa, < 5cf5337ef701830f173b4eec00a4f984adeb57a0 | Verify advisory | Source |
Linux Linux | ≥ 74491de937125d0c98c9b9c9208b4105717a3caa, < adf67a03af39095f05d82050f15813d6f700159d | Verify advisory | Source |
Linux Linux | ≥ 74491de937125d0c98c9b9c9208b4105717a3caa, < 7c6782ad4911cbee874e85630226ed389ff2e453 | Verify advisory | Source |
Linux Linux | 4.10 | Verify advisory | Source |
linux_kernel linux | ≥ 74491de93712, < de0139719cdd | Verify advisory Verify the advisory platform, edition, update channel, and any version exceptions. | Source |
linux_kernel linux | ≥ 74491de93712, < 3d90ca9145f6 | Verify advisory Verify the advisory platform, edition, update channel, and any version exceptions. | Source |
linux_kernel linux | ≥ 74491de93712, < 7aaee12b804c | Verify advisory Verify the advisory platform, edition, update channel, and any version exceptions. | Source |
linux_kernel linux | ≥ 74491de93712, < 2e8dc5cffc84 | Verify advisory Verify the advisory platform, edition, update channel, and any version exceptions. | Source |
linux_kernel linux | ≥ 74491de93712, < 5cf5337ef701 | Verify advisory Verify the advisory platform, edition, update channel, and any version exceptions. | Source |
linux_kernel linux | ≥ 74491de93712, < adf67a03af39 | Verify advisory Verify the advisory platform, edition, update channel, and any version exceptions. | Source |
linux_kernel linux | ≥ 74491de93712, < 7c6782ad4911 | Verify advisory Verify the advisory platform, edition, update channel, and any version exceptions. | Source |
linux_kernel linux | 4.10 | Verify advisory Verify the advisory platform, edition, update channel, and any version exceptions. | Source |
RUGGEDCOM RST2428P Siemens | < V3.1 | Verify advisory | Source |
SCALANCE XCM-/XRM-/XCH-/XRH-300 family Siemens | < V3.1 | Verify advisory | Source |
SIMATIC S7-1500 TM MFP - GNU/Linux subsystem Siemens | < V1.1.1 | Verify advisory | Source |
Recommended actions
Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.
Vendor advisory links
Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.
Severity
CVSS describes technical impact. It is separate from exploitation evidence.
Published headline score: 9.1. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.
Sources & references
Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.