CVE-2024-35960
No exploitation reported by the sources we read.
- Published2024-05-20
- Fixed inde0139719cdd · adf67a03af39 · 7aaee12b804c · 7c6782ad4911 · 6.8.7 · 6.6.28
- WeaknessCWE-476
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
Description
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.
Timeline
dates in UTC- 2024-05-2010:15CVE publishedNVD
Observed activity
isMalicious corpus · updated 2026-10-23 21:37 UTCBlock these indicators
- Firewall list (EDL, text): https://api.ismalicious.com/edl/cve/CVE-2024-35960?format=txt
- CSV export: https://api.ismalicious.com/edl/cve/CVE-2024-35960?format=csv
- TAXII collection of exploited CVEs
- The EDL and CSV take an API key on the Pro plan.
Versions per branch
CISA-ADP · NVD| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 74491+ | ≥ 74491de93712, < de0139719cdd | de0139719cdd | CISA-ADP |
| 74491+ | ≥ 74491de93712, < adf67a03af39 | adf67a03af39 | CISA-ADP |
| 7.x | ≥ 74491de93712, < 7aaee12b804c | 7aaee12b804c | CISA-ADP |
| 7.x | ≥ 74491de93712, < 7c6782ad4911 | 7c6782ad4911 | CISA-ADP |
| 6.x | ≥ 6.7, < 6.8.7 | 6.8.7 | NVD |
| 6.x | ≥ 6.2, < 6.6.28 | 6.6.28 | NVD |
| 6.1 | ≥ 5.16, < 6.1.87 | 6.1.87 | NVD |
| 5.x | ≥ 5.11, < 5.15.156 | 5.15.156 | NVD |
| 5.x | ≥ 5.5, < 5.10.216 | 5.10.216 | NVD |
| 5.4 | ≥ 4.20, < 5.4.275 | 5.4.275 | NVD |
| 5.x | ≥ 74491de93712, < 5cf5337ef701 | 5cf5337ef701 | CISA-ADP |
| 4.x | ≥ 4.10, < 4.19.313 | 4.19.313 | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 10.0 | = 10.0 | no fix published | NVD |
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- bpftoolAlmaLinux:9all versions · fixed in 7.3.0-427.24.1.el9_4
- kernelAlmaLinux:9all versions · fixed in 5.14.0-427.24.1.el9_4and 60 other packages
- kernelAlmaLinux:8all versions · fixed in 4.18.0-553.8.1.el8_10and 24 other packages
- kernel-rtAlmaLinux:8all versions · fixed in 4.18.0-553.8.1.rt7.349.el8_10and 11 other packages
Fix
- Update Linux linux kernel to de0139719cdd · adf67a03af39 · 7aaee12b804c · 7c6782ad4911 · 6.8.7 · 6.6.28 · 6.1.87 · 5.15.156
Advisories and patches
- git.kernel.orgPatch
- git.kernel.orgPatch
- git.kernel.orgPatch
- git.kernel.orgPatch
- git.kernel.orgPatch
- git.kernel.orgPatch
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof-of-concept repositories
- none listed PoC-in-GitHub
Sources
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
- Published
- 2024-05-20
- Last Modified
- 2026-10-15
- NVD status
- Modified
Frequently asked questions
What is CVE-2024-35960?
Is CVE-2024-35960 actively exploited?
What is the CVSS score for CVE-2024-35960?
Running Linux kernel? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.