CVE-2026-98015
High 7.8No known exploitationFix availablenet/mlx5: E-Switch: fix use-after-free in mlx5_eswitch_termtbl_put
Record last updated
CVSS score
High on a 0 to 10 scale
EPSS, chance of exploitation in 30 days
Higher than 7% of scored CVEs. A prediction, not evidence.
CISA remediation deadline
Not in the KEV catalog
Description
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.
Patching and mitigation
- Patch status
- Fix available (source: Microsoft MSRC)
- Fix documented (source date)
- Mitigation
- None documented
- Vendor guidance
- msrc.microsoft.com (opens in a new tab)
Affected products
| Vendor | Product | Affected versions | Fixed in | Per |
|---|---|---|---|---|
| Linux | Linux | from 10caabdaad5ace85577a453da97d1f8d3b944427 before 18b2969073879b9cce24e1a78b118bdad54518d1 | 18b2969073879b9cce24e1a78b118bdad54518d1 | CVE Program |
| Linux | Linux | from 10caabdaad5ace85577a453da97d1f8d3b944427 before 7ee07f601f8f507c9faf25c68a49396ab8950596 | 7ee07f601f8f507c9faf25c68a49396ab8950596 | CVE Program |
| Linux | Linux | from 10caabdaad5ace85577a453da97d1f8d3b944427 before e3ee194a790896fa92fea20b5385a354be2f2c12 | e3ee194a790896fa92fea20b5385a354be2f2c12 | CVE Program |
| Linux | Linux | from 10caabdaad5ace85577a453da97d1f8d3b944427 before b1398c9dfb5d3d4faaf6905ff7d98110a5d2c797 | b1398c9dfb5d3d4faaf6905ff7d98110a5d2c797 | CVE Program |
| Linux | Linux | from 10caabdaad5ace85577a453da97d1f8d3b944427 before 92f581cac93a71723456ac79ef54d9f60a251b42 | 92f581cac93a71723456ac79ef54d9f60a251b42 | CVE Program |
| Linux | Linux | from 10caabdaad5ace85577a453da97d1f8d3b944427 before a5833fdf53350b8b95a558fcf0056ddb1c0fe154 | a5833fdf53350b8b95a558fcf0056ddb1c0fe154 | CVE Program |
| Linux | Linux | from 10caabdaad5ace85577a453da97d1f8d3b944427 before 304ea40ef4561671503c36e47da44a0a31b71e36 | 304ea40ef4561671503c36e47da44a0a31b71e36 | CVE Program |
| Linux | Linux | from 10caabdaad5ace85577a453da97d1f8d3b944427 before e393789e92310d7c66f57c876101779c90816a12 | e393789e92310d7c66f57c876101779c90816a12 | CVE Program |
| Linux | Linux | 5.3 | Not documented | CVE Program |
| Microsoft | azl3 kernel 6.6.157.1-1 on Azure Linux 3.0 | Not documented | 6.6.158.1-1 | Microsoft MSRC |
| Microsoft | azl4 kernel 6.18.50-1.5.azl4 on Azure Linux 4.0 | Not documented | 0:6.18.57-1.1.azl4 | Microsoft MSRC |
| Linux | Linux (unaffected) | from 5.10.271 up to and including 5.10.* | Not documented | CVE Program |
| Linux | Linux (unaffected) | from 5.15.222 up to and including 5.15.* | Not documented | CVE Program |
| Linux | Linux (unaffected) | from 6.1.189 up to and including 6.1.* | Not documented | CVE Program |
| Linux | Linux (unaffected) | from 6.12.111 up to and including 6.12.* | Not documented | CVE Program |
| Linux | Linux (unaffected) | from 6.18.53 up to and including 6.18.* | Not documented | CVE Program |
| Linux | Linux (unaffected) | from 6.6.158 up to and including 6.6.* | Not documented | CVE Program |
| Linux | Linux (unaffected) | from 7.2.7 up to and including 7.2.* | Not documented | CVE Program |
| Linux | Linux (unaffected) | 7.3 | Not documented | CVE Program |
| Linux | Linux (unaffected) | all versions before 5.3 | Not documented | CVE Program |
Timeline
Disclosure
CVE record published by Linux
Source: CVE Program (opens in a new tab)
Advisory
Microsoft advisory published
Advisory change
Microsoft advisory revised (2.0): Information published.
Advisory change
Microsoft advisory revised (3.0): Information published.
Advisory change
Microsoft advisory revised (4.0): Information published.
Advisory change
Microsoft advisory revised (5.0): Information published.
Patch
Fix documented by Microsoft MSRC
Vendor guidance and references
- Microsoft Security Update Guide (opens in a new tab)vendor-advisory
- https://git.kernel.org/stable/c/18b2969073879b9cce24e1a78b118bdad54518d1 (opens in a new tab)
- https://git.kernel.org/stable/c/304ea40ef4561671503c36e47da44a0a31b71e36 (opens in a new tab)
- https://git.kernel.org/stable/c/7ee07f601f8f507c9faf25c68a49396ab8950596 (opens in a new tab)
- https://git.kernel.org/stable/c/92f581cac93a71723456ac79ef54d9f60a251b42 (opens in a new tab)
- https://git.kernel.org/stable/c/a5833fdf53350b8b95a558fcf0056ddb1c0fe154 (opens in a new tab)
- https://git.kernel.org/stable/c/b1398c9dfb5d3d4faaf6905ff7d98110a5d2c797 (opens in a new tab)
- https://git.kernel.org/stable/c/e393789e92310d7c66f57c876101779c90816a12 (opens in a new tab)
- https://git.kernel.org/stable/c/e3ee194a790896fa92fea20b5385a354be2f2c12 (opens in a new tab)