Skip to content
Threat Brief

← All advisories

CVE-2026-98015

High 7.8No known exploitationFix available

net/mlx5: E-Switch: fix use-after-free in mlx5_eswitch_termtbl_put

Record last updated

CVSS score

7.8

High on a 0 to 10 scale

EPSS, chance of exploitation in 30 days

0.2%

Higher than 7% of scored CVEs. A prediction, not evidence.

CISA remediation deadline

None

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

VendorProductAffected versionsFixed inPer
LinuxLinuxfrom 10caabdaad5ace85577a453da97d1f8d3b944427 before 18b2969073879b9cce24e1a78b118bdad54518d118b2969073879b9cce24e1a78b118bdad54518d1CVE Program
LinuxLinuxfrom 10caabdaad5ace85577a453da97d1f8d3b944427 before 7ee07f601f8f507c9faf25c68a49396ab89505967ee07f601f8f507c9faf25c68a49396ab8950596CVE Program
LinuxLinuxfrom 10caabdaad5ace85577a453da97d1f8d3b944427 before e3ee194a790896fa92fea20b5385a354be2f2c12e3ee194a790896fa92fea20b5385a354be2f2c12CVE Program
LinuxLinuxfrom 10caabdaad5ace85577a453da97d1f8d3b944427 before b1398c9dfb5d3d4faaf6905ff7d98110a5d2c797b1398c9dfb5d3d4faaf6905ff7d98110a5d2c797CVE Program
LinuxLinuxfrom 10caabdaad5ace85577a453da97d1f8d3b944427 before 92f581cac93a71723456ac79ef54d9f60a251b4292f581cac93a71723456ac79ef54d9f60a251b42CVE Program
LinuxLinuxfrom 10caabdaad5ace85577a453da97d1f8d3b944427 before a5833fdf53350b8b95a558fcf0056ddb1c0fe154a5833fdf53350b8b95a558fcf0056ddb1c0fe154CVE Program
LinuxLinuxfrom 10caabdaad5ace85577a453da97d1f8d3b944427 before 304ea40ef4561671503c36e47da44a0a31b71e36304ea40ef4561671503c36e47da44a0a31b71e36CVE Program
LinuxLinuxfrom 10caabdaad5ace85577a453da97d1f8d3b944427 before e393789e92310d7c66f57c876101779c90816a12e393789e92310d7c66f57c876101779c90816a12CVE Program
LinuxLinux5.3Not documentedCVE Program
Microsoftazl3 kernel 6.6.157.1-1 on Azure Linux 3.0Not documented6.6.158.1-1Microsoft MSRC
Microsoftazl4 kernel 6.18.50-1.5.azl4 on Azure Linux 4.0Not documented0:6.18.57-1.1.azl4Microsoft MSRC
LinuxLinux (unaffected)from 5.10.271 up to and including 5.10.*Not documentedCVE Program
LinuxLinux (unaffected)from 5.15.222 up to and including 5.15.*Not documentedCVE Program
LinuxLinux (unaffected)from 6.1.189 up to and including 6.1.*Not documentedCVE Program
LinuxLinux (unaffected)from 6.12.111 up to and including 6.12.*Not documentedCVE Program
LinuxLinux (unaffected)from 6.18.53 up to and including 6.18.*Not documentedCVE Program
LinuxLinux (unaffected)from 6.6.158 up to and including 6.6.*Not documentedCVE Program
LinuxLinux (unaffected)from 7.2.7 up to and including 7.2.*Not documentedCVE Program
LinuxLinux (unaffected)7.3Not documentedCVE Program
LinuxLinux (unaffected)all versions before 5.3Not documentedCVE Program

Timeline

  1. Disclosure

    CVE record published by Linux

    Source: CVE Program (opens in a new tab)

  2. Advisory

    Microsoft advisory published

    Source: Microsoft MSRC (opens in a new tab)

  3. Advisory change

    Microsoft advisory revised (2.0): Information published.

    Source: Microsoft MSRC (opens in a new tab)

  4. Advisory change

    Microsoft advisory revised (3.0): Information published.

    Source: Microsoft MSRC (opens in a new tab)

  5. Advisory change

    Microsoft advisory revised (4.0): Information published.

    Source: Microsoft MSRC (opens in a new tab)

  6. Advisory change

    Microsoft advisory revised (5.0): Information published.

    Source: Microsoft MSRC (opens in a new tab)

  7. Patch

    Fix documented by Microsoft MSRC

    Source: Microsoft MSRC (opens in a new tab)

Vendor guidance and references