Description
In the Linux kernel, the following vulnerability has been resolved:
net/mlx5: fs, fix UAF in flow counter release
Fix a kernel trace [1] caused by releasing an HWS action of a local flow
counter in mlx5_cmd_hws_delete_fte(), where the HWS action refcount and
mutex were not initialized and the counter struct could already be freed
when deleting the rule.
Fix it by adding the missing initializations and adding refcount for the
local flow counter struct.
[1] Kernel log:
Call Trace:
<TASK>
dump_stack_lvl+0x34/0x48
mlx5_fs_put_hws_action.part.0.cold+0x21/0x94 [mlx5_core]
mlx5_fc_put_hws_action+0x96/0xad [mlx5_core]
mlx5_fs_destroy_fs_actions+0x8b/0x152 [mlx5_core]
mlx5_cmd_hws_delete_fte+0x5a/0xa0 [mlx5_core]
del_hw_fte+0x1ce/0x260 [mlx5_core]
mlx5_del_flow_rules+0x12d/0x240 [mlx5_core]
? ttwu_queue_wakelist+0xf4/0x110
mlx5_ib_destroy_flow+0x103/0x1b0 [mlx5_ib]
uverbs_free_flow+0x20/0x50 [ib_uverbs]
destroy_hw_idr_uobject+0x1b/0x50 [ib_uverbs]
uverbs_destroy_uobject+0x34/0x1a0 [ib_uverbs]
uobj_destroy+0x3c/0x80 [ib_uverbs]
ib_uverbs_run_method+0x23e/0x360 [ib_uverbs]
? uverbs_finalize_object+0x60/0x60 [ib_uverbs]
ib_uverbs_cmd_verbs+0x14f/0x2c0 [ib_uverbs]
? do_tty_write+0x1a9/0x270
? file_tty_write.constprop.0+0x98/0xc0
? new_sync_write+0xfc/0x190
ib_uverbs_ioctl+0xd7/0x160 [ib_uverbs]
__x64_sys_ioctl+0x87/0xc0
do_syscall_64+0x59/0x90
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Linux | Linux | 6.14 | 6.16.10 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | linux | 6.16.10-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 25.10 | linux | 6.17.0-6.6 | — |
| Ubuntu 25.10 | linux-aws +2 | 6.17.0-1003.3 | — |
| Ubuntu 25.10 | linux-azure | 6.17.0-1006.6 | — |
| Ubuntu 25.10 | linux-azure-fde | No fix yet | — |
| Ubuntu 25.10 | linux-raspi | 6.17.0-1004.4 | — |
| Ubuntu 25.10 | linux-realtime | 6.17.0-1002.3 | — |
| Ubuntu 25.10 | linux-riscv | 6.17.0-6.6.1 | — |
| Ubuntu 24.04 LTS | linux-riscv +17 | No fix yet | — |
| Ubuntu 22.04 LTS | linux-riscv +32 | No fix yet | — |
| Ubuntu 20.04 LTS | linux-gke +28 | No fix yet | — |
| Ubuntu 18.04 LTS | linux-gcp +14 | No fix yet | — |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 16.04 LTS | linux-hwe-edge | No fix yet | — |
| Ubuntu Pro Realtime 24.04 LTS | linux-realtime-6.14 | No fix yet | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 10 | rv +76 | 6.12.0-124.20.1.el10_1 | RHSA-2025:22854 |
| RHEL 9 | rv +75 | 5.14.0-611.13.1.el9_7 | RHSA-2025:22865 |
AlmaLinux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux 10 | kernel-doc +1 | 6.12.0-124.20.1.el10_1 | ALSA-2025:22854 |
| AlmaLinux 9 | rv +73 | 5.14.0-611.13.1.el9_7 | ALSA-2025:22865 |
Rocky Linux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Rocky Linux 10 | kernel | 6.12.0-124.20.1.el10_1 | RLSA-2025:22854 |
| Rocky Linux 9 | kernel | 5.14.0-611.13.1.el9_7 | RLSA-2025:22865 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 16.0 | kernel-64kb +7 | 6.12.0-160000.7.1 | SUSE-SU-2025:21147-1 |
| SLES for SAP 16.0 | kernel-default-base | 6.12.0-160000.6.1.160000.2.4 | SUSE-SU-2025:21147-1 |
| SLES 16.0 | kernel-64kb +7 | 6.12.0-160000.7.1 | SUSE-SU-2025:21180-1, SUSE-SU-2025:21147-1 |
| SLES 16.0 | kernel-default-base | 6.12.0-160000.6.1.160000.2.4 | SUSE-SU-2025:21147-1 |
| SLE Micro 6.2 | kernel-default-base | 6.12.0-160000.6.1.160000.2.4 | SUSE-SU-2025:21080-1 |
| SLE Micro 6.2 | kernel-rt +5 | 6.12.0-160000.7.1 | SUSE-SU-2026:20561-1, SUSE-SU-2025:21080-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Leap 16.0 | kernel-default-base | 6.12.0-160000.6.1.160000.2.4 | openSUSE-SU-2025:20091-1 |
| openSUSE Leap 16.0 | kernel-rt +10 | 6.12.0-160000.7.1 | openSUSE-SU-2025:20091-1 |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 10 | rv +29 | 6.12.0-124.20.1.el10_1 | ELSA-2025-22854 |
| Oracle Linux 9 | kernel-uek +34 | 6.12.0-204.92.4.2.el10uek | ELSA-2026-50372 |
| Oracle Linux 9 | rv +28 | 5.14.0-611.13.1.el9_7 | ELSA-2025-22865 |
Advisories 15
- WID-SEC-2025-2298 Linux Kernel: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 3, 2026
- ALSA-2025:22865 Moderate: kernel security update AlmaLinux Security Advisories · Oct 29, 2026
- ALSA-2025:22854 Moderate: kernel security update AlmaLinux Security Advisories · Oct 29, 2026
- RHSA-2025:22865 Red Hat Security Advisory: kernel security update Red Hat Security Advisories (RHSA) · Jul 30, 2026
- RHSA-2025:22854 Red Hat Security Advisory: kernel security update Red Hat Security Advisories (RHSA) · Jul 30, 2026
- SUSE-SU-2026:20561-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Jul 9, 2026
- ELSA-2026-50372 Important: Unbreakable Enterprise kernel security update (Oracle Linux 9) Oracle Linux Security Advisories (ELSA) · Jul 2, 2026
- openSUSE-SU-2025:20091-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Mar 23, 2026
- SUSE-SU-2025:21147-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Mar 23, 2026
- SUSE-SU-2025:21080-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Mar 23, 2026
- SUSE-SU-2025:21180-1 Security update for the Linux Kernel SUSE / openSUSE Security Updates · Mar 23, 2026
- RLSA-2025:22854 Moderate: kernel security update Rocky Linux Security Advisories · Dec 14, 2025
- RLSA-2025:22865 Moderate: kernel security update Rocky Linux Security Advisories · Dec 13, 2025
- ELSA-2025-22865 Moderate: kernel security update (Oracle Linux 9) Oracle Linux Security Advisories (ELSA) · Dec 9, 2025
- ELSA-2025-22854 Moderate: kernel security update (Oracle Linux 10) Oracle Linux Security Advisories (ELSA) · Dec 8, 2025