CVE-2026-80739
net/mlx5e: TC, Check if flow is PEER before acquiring devcom lock
Check your servers for CVE-2026-80739
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-80739 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
In the Linux kernel, the following vulnerability has been resolved:
net/mlx5e: TC, Check if flow is PEER before acquiring devcom lock
In case __mlx5e_add_fdb_flow() fails in lower levels, the flow is deleted via mlx5e_tc_del_flow(), and mlx5e_tc_del_flow() is acquiring ESW devcom lock without condition. In addition, in case of peer_flow, __mlx5e_add_fdb_flow() is called while holding ESW devcom comp lock. This results in an AA deadlock.
To fix this, introduce a new PEER flag that is set on flows created as peer flows (the duplicate flows on peer devices), and check it in mlx5e_tc_del_flow() before acquiring ESW devcom lock.
Lockdep splat: ============================================ WARNING: possible recursive locking detected ============================================ Possible unsafe locking scenario: CPU0 ---- lock(&comp->lock_key#2); lock(&comp->lock_key#2); *** DEADLOCK *** Call Trace: <TASK> dump_stack_lvl+0x69/0xa0 print_deadlock_bug.cold+0xbd/0xca __lock_acquire+0x1671/0x2ec0 lock_acquire+0x10e/0x2e0 down_read+0x95/0x430 mlx5_devcom_for_each_peer_begin+0x4e/0xe0 [mlx5_core] mlx5e_tc_del_flow+0x11d/0xa70 [mlx5_core] mlx5e_flow_put+0x99/0x100 [mlx5_core] __mlx5e_add_fdb_flow+0x409/0xf00 [mlx5_core] mlx5e_configure_flower+0x2a86/0x4100 [mlx5_core] mlx5e_rep_setup_tc_cls_flower+0x12f/0x1b0 [mlx5_core] mlx5e_rep_setup_tc_cb+0x153/0x750 [mlx5_core] tc_setup_cb_add+0x1dc/0x470 fl_change+0x2f4d/0x626d [cls_flower] tc_new_tfilter+0x79b/0x2310 rtnetlink_rcv_msg+0x778/0xad0 do_syscall_64+0x70/0x960 entry_SYSCALL_64_after_hwframe+0x4b/0x53 </TASK>
Exploitation
EPSS 0.17%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 7.06% of all scored CVEs. Scores of 1 Dec 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 04de7dda7394fa9c2b0fc9cec65661d9b4f0d04d, before ead5145d290a918b7c3c3141a64b3f827a9e1b6b affected from 04de7dda7394fa9c2b0fc9cec65661d9b4f0d04d, before 607adbda01053abf5f93e322fe39325da8828cb8 affected from 04de7dda7394fa9c2b0fc9cec65661d9b4f0d04d, before 585df8643081e6f616579bc52cd49ac823a57c82 affected from 04de7dda7394fa9c2b0fc9cec65661d9b4f0d04d, before ff9e7d5e3500be389ce7a0e46db3a77149830bc9 affected from 04de7dda7394fa9c2b0fc9cec65661d9b4f0d04d, before 7165fe321c61ec138850c02f030f274797761f5f affected from 04de7dda7394fa9c2b0fc9cec65661d9b4f0d04d, before 6ddfba2ea98db21b001e0e5c472499156224650c
Other versions: unaffected
|
| Linux |
affected 5.0 unaffected before 5.0 unaffected from 6.1.191 up to and including 6.1.* unaffected from 6.6.152 up to and including 6.6.* unaffected from 6.12.104 up to and including 6.12.* unaffected from 6.18.45 up to and including 6.18.* unaffected from 7.1.9 up to and including 7.1.* unaffected 7.2 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-80739 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-80739
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-80739
trivy image --scanners vuln IMAGE | grep CVE-2026-80739
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/ead5145d290a918b7c3c3141a64b3f827a9e1b6b git.kernel.org
- https://git.kernel.org/stable/c/607adbda01053abf5f93e322fe39325da8828cb8 git.kernel.org
- https://git.kernel.org/stable/c/585df8643081e6f616579bc52cd49ac823a57c82 git.kernel.org
- https://git.kernel.org/stable/c/ff9e7d5e3500be389ce7a0e46db3a77149830bc9 git.kernel.org
- https://git.kernel.org/stable/c/7165fe321c61ec138850c02f030f274797761f5f git.kernel.org
- https://git.kernel.org/stable/c/6ddfba2ea98db21b001e0e5c472499156224650c git.kernel.org
Source: the record CVE-2026-80739 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse