net/mlx5: E-Switch: fix use-after-free in mlx5_eswitch_termtbl_put
In the Linux kernel, the following vulnerability has been resolved: net/mlx5: E-Switch: fix use-after-free in mlx5_eswitch_termtbl_put In mlx5_eswitch_termtbl_put(), the zero-ref cleanup check reads tt->ref_count after termtbl_mutex has been released. Two concurrent callers on the same mlx5_termtbl_handle race: one decrements ref_count to zero, removes the hash entry, and calls kfree(tt) while the other has already dropped the mutex and is about to evaluate if (!tt->ref_count), producing a use-after-free. Fix this by capturing the result of the decrement into a stack-local last variable before dropping the mutex. The cleanup decision is now made entirely under termtbl_mutex, and tt is not touched after kfree.
- Published
- Sep 25, 2026
- Updated
- Oct 3, 2026
- EPSS
- 0.2% · 7th percentile
- CWE
- —
Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.
Report tools
Action score
0
Monitor
Low priority for now.
- CVSS
- 0 / 40 · —
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.2%
Noroxi analysis
No Noroxi analysis for this record yet
We don't hand-write analysis for the hundreds of thousands of vulnerabilities in the database; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.
We use this product, ask for helpAffected systems
—
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
- 5.3affected
- 10caabdaad5ace85577a453da97d1f8d3b944427 and later · before e3ee194a790896fa92fea20b5385a354be2f2c12affected · git
- 10caabdaad5ace85577a453da97d1f8d3b944427 and later · before b1398c9dfb5d3d4faaf6905ff7d98110a5d2c797affected · git
- 10caabdaad5ace85577a453da97d1f8d3b944427 and later · before 92f581cac93a71723456ac79ef54d9f60a251b42affected · git
- 10caabdaad5ace85577a453da97d1f8d3b944427 and later · before a5833fdf53350b8b95a558fcf0056ddb1c0fe154affected · git
- 10caabdaad5ace85577a453da97d1f8d3b944427 and later · before 304ea40ef4561671503c36e47da44a0a31b71e36affected · git
- 10caabdaad5ace85577a453da97d1f8d3b944427 and later · before e393789e92310d7c66f57c876101779c90816a12affected · git
- 10caabdaad5ace85577a453da97d1f8d3b944427 and later · before 18b2969073879b9cce24e1a78b118bdad54518d1affected · git
- 10caabdaad5ace85577a453da97d1f8d3b944427 and later · before 7ee07f601f8f507c9faf25c68a49396ab8950596affected · git
- before 5.3not affected · semver
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | linux | all versions | — |
| Debian:12 | linux-6.12 | before 6.12.111-1~deb12u1 | 6.12.111-1~deb12u1 |
| Debian:13 | linux | before 6.12.111-1 | 6.12.111-1 |
| Debian:14 | linux | before 7.2.7-1 | 7.2.7-1 |
Same product
linux: all recordsOther highest-scoring records for the same primary product.
- CVE-2026-74705udp: fix potential use-after-free in tunnel segmentation40Plan
- CVE-2026-74612veth: fix skb length accounting after XDP frag adjustment40Plan
- CVE-2026-74475vxlan: use neigh_ha_snapshot() in route_shortcircuit()40Plan
- CVE-2026-74309vdpa/octeon_ep: fix IRQ-to-ring mapping in interrupt handler40Plan
- CVE-2026-74280crypto: marvell/octeontx - fix DMA cleanup using wrong loop index40Plan
- CVE-2026-74279crypto: cavium/cpt - fix DMA cleanup using wrong loop index40Plan
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 | 18b2969073879b9cce24e1a78b118bdad54518d1 | Vendor (CNA) |
| Linux Linux | 304ea40ef4561671503c36e47da44a0a31b71e36 | Vendor (CNA) |
| Linux Linux | 7ee07f601f8f507c9faf25c68a49396ab8950596 | Vendor (CNA) |
| Linux Linux | 92f581cac93a71723456ac79ef54d9f60a251b42 | Vendor (CNA) |
| Linux Linux | a5833fdf53350b8b95a558fcf0056ddb1c0fe154 | Vendor (CNA) |
| Linux Linux | b1398c9dfb5d3d4faaf6905ff7d98110a5d2c797 | Vendor (CNA) |
| Linux Linux | e393789e92310d7c66f57c876101779c90816a12 | Vendor (CNA) |
| Linux Linux | e3ee194a790896fa92fea20b5385a354be2f2c12 | Vendor (CNA) |
| azl3 kernel 6.6.157.1-1 on Azure Linux 3.0 | Release Notes | Microsoft (MSRC) |
| debian:linux | 6.12.111-1 · Debian:13 | Package registry (OSV) |
| debian:linux-6.12 | 6.12.111-1~deb12u1 · Debian:12 | Package registry (OSV) |
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.
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
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).
National notice (Türkiye Cybersecurity Directorate / USOM)
Official security notices citing this record; remediation advice is on the agency's page.
- TR-26-1184 · Sep 28, 2026(Linux Kernel Güvenlik Bildirimi)
Technical details
No CVSS vector for this record, so attack conditions can't be derived.
Weakness class (CWE)
—
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
- git.kernel.org/stable/c/18b2969073879b9cce24e1a78b118bdad54518d1
- git.kernel.org/stable/c/304ea40ef4561671503c36e47da44a0a31b71e36
- git.kernel.org/stable/c/7ee07f601f8f507c9faf25c68a49396ab8950596
- git.kernel.org/stable/c/92f581cac93a71723456ac79ef54d9f60a251b42
- git.kernel.org/stable/c/a5833fdf53350b8b95a558fcf0056ddb1c0fe154
- git.kernel.org/stable/c/b1398c9dfb5d3d4faaf6905ff7d98110a5d2c797
- git.kernel.org/stable/c/e393789e92310d7c66f57c876101779c90816a12
- git.kernel.org/stable/c/e3ee194a790896fa92fea20b5385a354be2f2c12
Vendor advisories and official records. Exploit/PoC links are deliberately left out.