PT-2026-98678 · Linux · Linux
CVE-2026-98015
·
Published
2026-09-25
·
Updated
2026-09-25
None
No severity ratings or metrics are available. When they are, we'll update the corresponding info on the page.
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.
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Linux