CVE-2024-35960: net/mlx5: Properly link new fs rules into the tree
Noroxi assessment
Priority: Monitor (action score 36/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 1.4% (FIRST EPSS); higher than 72.7% of all records.
- Anyone who can reach it over the internet can trigger it. No account or password is required. No user action is required. No special conditions are required; it is repeatable.
- According to CISA the attack is automatable: targets can be found by mass scanning.
- Fixed version: Linux Linux 1263b0b26077b1183c3c45a0a2479573a351d423, 2e8dc5cffc844dacfa79f056dea88002312f253f, 3d90ca9145f6b97b38d0c2b6b30f6ca6af9c1801.
Low priority for now. Upgrade to Linux Linux 1263b0b26077b1183c3c45a0a2479573a351d423, 2e8dc5cffc844dacfa79f056dea88002312f253f, 3d90ca9145f6b97b38d0c2b6b30f6ca6af9c1801 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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
- May 20, 2024
- Updated
- Oct 15, 2026
- EPSS
- 1.4% · 72th percentile
- CWE
- CWE-476
Report tools
Action score
36
Monitor
Low priority for now.
- CVSS
- 36 / 40 · 9.1 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 1.4%
CISA SSVC decision
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
Vulnrichment: CISA's decision-tree inputs.
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Running WordPress? Scan your site free with WP Lens
Noroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| linux | linux kernel | cpe:2.3:o:linux:linux_kernel |
| debian | debian linux | cpe:2.3:o:debian:debian_linux |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- debian debian linux10.0
- linux linux kernel4.20 and later · before 5.4.275
- linux linux kernel5.5 and later · before 5.10.216
- linux linux kernel5.11 and later · before 5.15.156
- linux linux kernel4.10 and later · before 4.19.313
- linux linux kernel6.2 and later · before 6.6.28
- linux linux kernel6.7 and later · before 6.8.7
- linux linux kernel5.16 and later · before 6.1.87
- linux linux kernel6.9
Versions reported by the vendor
Affected version ranges reported by the assigning authority (Linux). Independent of NVD's CPE analysis and usually ahead of it.
Linux Linux
- 4.10affected
- 74491de937125d0c98c9b9c9208b4105717a3caa and later · before de0139719cdda82806a47580ca0df06fc85e0bd2affected · git
- 74491de937125d0c98c9b9c9208b4105717a3caa and later · before 1263b0b26077b1183c3c45a0a2479573a351d423affected · git
- 74491de937125d0c98c9b9c9208b4105717a3caa and later · before 3d90ca9145f6b97b38d0c2b6b30f6ca6af9c1801affected · git
- 74491de937125d0c98c9b9c9208b4105717a3caa and later · before 7aaee12b804c5e0374e7b132b6ec2158ff33dd64affected · git
- 74491de937125d0c98c9b9c9208b4105717a3caa and later · before 2e8dc5cffc844dacfa79f056dea88002312f253faffected · git
- 74491de937125d0c98c9b9c9208b4105717a3caa and later · before 5cf5337ef701830f173b4eec00a4f984adeb57a0affected · git
- 74491de937125d0c98c9b9c9208b4105717a3caa and later · before adf67a03af39095f05d82050f15813d6f700159daffected · git
- 74491de937125d0c98c9b9c9208b4105717a3caa and later · before 7c6782ad4911cbee874e85630226ed389ff2e453affected · git
- before 4.10not affected · semver
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| AlmaLinux:9 | bpftool | before 7.3.0-427.24.1.el9_4 | 7.3.0-427.24.1.el9_4 |
| AlmaLinux:9 | kernel | before 5.14.0-427.24.1.el9_4 | 5.14.0-427.24.1.el9_4 |
| AlmaLinux:9 | kernel-64k | before 5.14.0-427.24.1.el9_4 | 5.14.0-427.24.1.el9_4 |
| AlmaLinux:9 | kernel-64k-core | before 5.14.0-427.24.1.el9_4 | 5.14.0-427.24.1.el9_4 |
| AlmaLinux:9 | kernel-64k-debug | before 5.14.0-427.24.1.el9_4 | 5.14.0-427.24.1.el9_4 |
| AlmaLinux:9 | kernel-64k-debug-core | before 5.14.0-427.24.1.el9_4 | 5.14.0-427.24.1.el9_4 |
| AlmaLinux:9 | kernel-64k-debug-devel | before 5.14.0-427.24.1.el9_4 | 5.14.0-427.24.1.el9_4 |
| AlmaLinux:9 | kernel-64k-debug-devel-matched | before 5.14.0-427.24.1.el9_4 | 5.14.0-427.24.1.el9_4 |
| AlmaLinux:9 | kernel-64k-debug-modules | before 5.14.0-427.24.1.el9_4 | 5.14.0-427.24.1.el9_4 |
| AlmaLinux:9 | kernel-64k-debug-modules-core | before 5.14.0-427.24.1.el9_4 | 5.14.0-427.24.1.el9_4 |
| AlmaLinux:9 | kernel-64k-debug-modules-extra | before 5.14.0-427.24.1.el9_4 | 5.14.0-427.24.1.el9_4 |
| AlmaLinux:9 | kernel-64k-devel | before 5.14.0-427.24.1.el9_4 | 5.14.0-427.24.1.el9_4 |
| AlmaLinux:9 | kernel-64k-devel-matched | before 5.14.0-427.24.1.el9_4 | 5.14.0-427.24.1.el9_4 |
| AlmaLinux:9 | kernel-64k-modules | before 5.14.0-427.24.1.el9_4 | 5.14.0-427.24.1.el9_4 |
| AlmaLinux:9 | kernel-64k-modules-core | before 5.14.0-427.24.1.el9_4 | 5.14.0-427.24.1.el9_4 |
| AlmaLinux:9 | kernel-64k-modules-extra | before 5.14.0-427.24.1.el9_4 | 5.14.0-427.24.1.el9_4 |
| AlmaLinux:9 | kernel-abi-stablelists | before 5.14.0-427.24.1.el9_4 | 5.14.0-427.24.1.el9_4 |
| AlmaLinux:9 | kernel-core | before 5.14.0-427.24.1.el9_4 | 5.14.0-427.24.1.el9_4 |
| AlmaLinux:9 | kernel-cross-headers | before 5.14.0-427.24.1.el9_4 | 5.14.0-427.24.1.el9_4 |
| AlmaLinux:9 | kernel-debug | before 5.14.0-427.24.1.el9_4 | 5.14.0-427.24.1.el9_4 |
| AlmaLinux:9 | kernel-debug-core | before 5.14.0-427.24.1.el9_4 | 5.14.0-427.24.1.el9_4 |
| AlmaLinux:9 | kernel-debug-devel | before 5.14.0-427.24.1.el9_4 | 5.14.0-427.24.1.el9_4 |
| AlmaLinux:9 | kernel-debug-devel-matched | before 5.14.0-427.24.1.el9_4 | 5.14.0-427.24.1.el9_4 |
| AlmaLinux:9 | kernel-debug-modules | before 5.14.0-427.24.1.el9_4 | 5.14.0-427.24.1.el9_4 |
+96
Same product
linux: all recordsOther highest-scoring records for the same primary product.
- CVE-2026-31431crypto: algif_aead - Revert to operating out-of-placeKEV90Now
- CVE-2022-0847A flaw was found in the way the "flags" member of the new pipe buffer structure was lacking proper initialization in copy_page_to_iter_pipe KEV89Now
- CVE-2021-22555Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACEKEV85Now
Published before and after this one in the same product
- ← EarlierCVE-2024-35955May 20, 2024 · kprobes: Fix possible use-after-free issue on kprobe registration35Monitor
- ← EarlierCVE-2024-35958May 20, 2024 · net: ena: Fix incorrect descriptor free behavior22Monitor
- Later →CVE-2024-35962May 20, 2024 · netfilter: complete validation of user input22Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| Linux Linux | 1263b0b26077b1183c3c45a0a2479573a351d423 | Vendor (CNA) |
| Linux Linux | 2e8dc5cffc844dacfa79f056dea88002312f253f | Vendor (CNA) |
| Linux Linux | 3d90ca9145f6b97b38d0c2b6b30f6ca6af9c1801 | Vendor (CNA) |
| Linux Linux | 5cf5337ef701830f173b4eec00a4f984adeb57a0 | Vendor (CNA) |
| Linux Linux | 7aaee12b804c5e0374e7b132b6ec2158ff33dd64 | Vendor (CNA) |
| Linux Linux | 7c6782ad4911cbee874e85630226ed389ff2e453 | Vendor (CNA) |
| Linux Linux | adf67a03af39095f05d82050f15813d6f700159d | Vendor (CNA) |
| Linux Linux | de0139719cdda82806a47580ca0df06fc85e0bd2 | Vendor (CNA) |
| almalinux:bpftool | 7.3.0-427.24.1.el9_4 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:kernel | 5.14.0-427.24.1.el9_4 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:kernel-64k | 5.14.0-427.24.1.el9_4 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:kernel-64k-core | 5.14.0-427.24.1.el9_4 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:kernel-64k-debug | 5.14.0-427.24.1.el9_4 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:kernel-64k-debug-core | 5.14.0-427.24.1.el9_4 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:kernel-64k-debug-devel | 5.14.0-427.24.1.el9_4 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:kernel-64k-debug-devel-matched | 5.14.0-427.24.1.el9_4 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:kernel-64k-debug-modules | 5.14.0-427.24.1.el9_4 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:kernel-64k-debug-modules-core | 5.14.0-427.24.1.el9_4 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:kernel-64k-debug-modules-extra | 5.14.0-427.24.1.el9_4 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:kernel-64k-devel | 5.14.0-427.24.1.el9_4 · AlmaLinux:9 | Package registry (OSV) |
| debian:linux | 6.1.90-1 · Debian:12 | Package registry (OSV) |
| red hat:kernel-rt | 0:5.14.0-284.71.1.rt14.356.el9_2 · Red Hat:rhel_eus:9.2::nfv | Package registry (OSV) |
| red hat:kernel-rt-core | 0:5.14.0-284.71.1.rt14.356.el9_2 · Red Hat:rhel_eus:9.2::nfv | Package registry (OSV) |
| red hat:kernel-rt-debug | 0:5.14.0-284.71.1.rt14.356.el9_2 · Red Hat:rhel_eus:9.2::nfv | Package registry (OSV) |
| red hat:kernel-rt-debug-core | 0:5.14.0-284.71.1.rt14.356.el9_2 · Red Hat:rhel_eus:9.2::nfv | Package registry (OSV) |
| red hat:kernel-rt-debug-debuginfo | 0:5.14.0-284.71.1.rt14.356.el9_2 · Red Hat:rhel_eus:9.2::nfv | Package registry (OSV) |
| red hat:kernel-rt-debug-devel | 0:5.14.0-284.71.1.rt14.356.el9_2 · Red Hat:rhel_eus:9.2::nfv | Package registry (OSV) |
| red hat:kernel-rt-debug-kvm | 0:5.14.0-284.71.1.rt14.356.el9_2 · Red Hat:rhel_eus:9.2::nfv | Package registry (OSV) |
| red hat:kernel-rt-debug-modules | 0:5.14.0-284.71.1.rt14.356.el9_2 · Red Hat:rhel_eus:9.2::nfv | Package registry (OSV) |
| red hat:kernel-rt-debug-modules-core | 0:5.14.0-284.71.1.rt14.356.el9_2 · Red Hat:rhel_eus:9.2::nfv | Package registry (OSV) |
+4
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
No history yet (it accumulates with the daily EPSS job).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- none
- Integrity
- high · data or configuration can be modified
- Availability
- high · the service can be disrupted
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- None
- Integrity impact
- High
- Availability impact
- High
Weakness class (CWE)
CWE-476 · NULL Pointer DereferenceCVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
nvd-secondary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Change log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (11 more)Show less
- git.kernel.org/stable/c/2e8dc5cffc844dacfa79f056dea88002312f253f
- git.kernel.org/stable/c/3d90ca9145f6b97b38d0c2b6b30f6ca6af9c1801
- git.kernel.org/stable/c/5cf5337ef701830f173b4eec00a4f984adeb57a0
- git.kernel.org/stable/c/7aaee12b804c5e0374e7b132b6ec2158ff33dd64
- git.kernel.org/stable/c/7c6782ad4911cbee874e85630226ed389ff2e453
- git.kernel.org/stable/c/adf67a03af39095f05d82050f15813d6f700159d
- git.kernel.org/stable/c/de0139719cdda82806a47580ca0df06fc85e0bd2
- lists.debian.org/debian-lts-announce/2024/06/msg00017.html
- lists.debian.org/debian-lts-announce/2024/06/msg00020.html
- cert-portal.siemens.com/productcert/html/ssa-265688.html
- cert-portal.siemens.com/productcert/html/ssa-613116.html
Vendor advisories and official records. Exploit/PoC links are deliberately left out.