CVE-2026-72072
published high CVSS 3.1 · 7.8net/mlx5e: macsec: fix use-after-free of metadata_dst on RX SC delete
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxb7c9400cbc48c3713190b3bce4e0c87e924e4104 to < b1a4d0c568bbb52c7c04f4fce3c097dae89ed6cb · b7c9400cbc48c3713190b3bce4e0c87e924e4104 to < 218cc15a4c907659ad4b0e68c535c61594311205 · b7c9400cbc48c3713190b3bce4e0c87e924e4104 to < 4a5073b7b30243658f58b2d2d35a823da7fd34d9 · b7c9400cbc48c3713190b3bce4e0c87e924e4104 to < ed3cc4218070d6b98bf5fb456dccae424fd38c4f · b7c9400cbc48c3713190b3bce4e0c87e924e4104 to < 088873af13590ebde10de2ade847f57a05ec61c6 · b7c9400cbc48c3713190b3bce4e0c87e924e4104 to < de74d8fd10291763d97b218f09adcc7513c975e4 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.1 (affected) · 0 to < 6.1 (unaffected · semver) · 6.1.178 through 6.1.* (unaffected · semver) · 6.6.145 through 6.6.* (unaffected · semver) · 6.12.97 through 6.12.* (unaffected · semver) · 6.18.40 through 6.18.* (unaffected · semver) · 7.1.5 through 7.1.* (unaffected · semver) · 7.2 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-2057 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-2058 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2026-2071 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 9 | kernel | Advisory build | 5.14.0-687.50.1.el9_8 | ALSA-2026:70459 |
| Oracle Linux | 9 | kernelx86_64 | Advisory build | 0:5.14.0-687.50.1.el9_8 | ELSA-2026-70459 |
Show 98 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| AlmaLinux | 9 | kernel-64k | Advisory build | 5.14.0-687.50.1.el9_8 | ALSA-2026:70459 |
| AlmaLinux | 9 | kernel-64k-core | Advisory build | 5.14.0-687.50.1.el9_8 | ALSA-2026:70459 |
| AlmaLinux | 9 | kernel-64k-debug | Advisory build | 5.14.0-687.50.1.el9_8 | ALSA-2026:70459 |
| AlmaLinux | 9 | kernel-64k-debug-core | Advisory build | 5.14.0-687.50.1.el9_8 | ALSA-2026:70459 |
| AlmaLinux | 9 | kernel-64k-debug-devel | Advisory build | 5.14.0-687.50.1.el9_8 | ALSA-2026:70459 |
| AlmaLinux | 9 | kernel-64k-debug-devel-matched | Advisory build | 5.14.0-687.50.1.el9_8 | ALSA-2026:70459 |
| AlmaLinux | 9 | kernel-64k-debug-modules | Advisory build | 5.14.0-687.50.1.el9_8 | ALSA-2026:70459 |
| AlmaLinux | 9 | kernel-64k-debug-modules-core | Advisory build | 5.14.0-687.50.1.el9_8 | ALSA-2026:70459 |
| AlmaLinux | 9 | kernel-64k-debug-modules-extra | Advisory build | 5.14.0-687.50.1.el9_8 | ALSA-2026:70459 |
| AlmaLinux | 9 | kernel-64k-devel | Advisory build | 5.14.0-687.50.1.el9_8 | ALSA-2026:70459 |
| AlmaLinux | 9 | kernel-64k-devel-matched | Advisory build | 5.14.0-687.50.1.el9_8 | ALSA-2026:70459 |
| AlmaLinux | 9 | kernel-64k-modules | Advisory build | 5.14.0-687.50.1.el9_8 | ALSA-2026:70459 |
| AlmaLinux | 9 | kernel-64k-modules-core | Advisory build | 5.14.0-687.50.1.el9_8 | ALSA-2026:70459 |
| AlmaLinux | 9 | kernel-64k-modules-extra | Advisory build | 5.14.0-687.50.1.el9_8 | ALSA-2026:70459 |
| AlmaLinux | 9 | kernel-abi-stablelists | Advisory build | 5.14.0-687.50.1.el9_8 | ALSA-2026:70459 |
| AlmaLinux | 9 | kernel-core | Advisory build | 5.14.0-687.50.1.el9_8 | ALSA-2026:70459 |
| AlmaLinux | 9 | kernel-cross-headers | Advisory build | 5.14.0-687.50.1.el9_8 | ALSA-2026:70459 |
| AlmaLinux | 9 | kernel-debug | Advisory build | 5.14.0-687.50.1.el9_8 | ALSA-2026:70459 |
| AlmaLinux | 9 | kernel-debug-core | Advisory build | 5.14.0-687.50.1.el9_8 | ALSA-2026:70459 |
| AlmaLinux | 9 | kernel-debug-devel | Advisory build | 5.14.0-687.50.1.el9_8 | ALSA-2026:70459 |
| AlmaLinux | 9 | kernel-debug-devel-matched | Advisory build | 5.14.0-687.50.1.el9_8 | ALSA-2026:70459 |
| AlmaLinux | 9 | kernel-debug-modules | Advisory build | 5.14.0-687.50.1.el9_8 | ALSA-2026:70459 |
| AlmaLinux | 9 | kernel-debug-modules-core | Advisory build | 5.14.0-687.50.1.el9_8 | ALSA-2026:70459 |
| AlmaLinux | 9 | kernel-debug-modules-extra | Advisory build | 5.14.0-687.50.1.el9_8 | ALSA-2026:70459 |
| AlmaLinux | 9 | kernel-debug-uki-virt | Advisory build | 5.14.0-687.50.1.el9_8 | ALSA-2026:70459 |
| AlmaLinux | 9 | kernel-devel | Advisory build | 5.14.0-687.50.1.el9_8 | ALSA-2026:70459 |
| AlmaLinux | 9 | kernel-devel-matched | Advisory build | 5.14.0-687.50.1.el9_8 | ALSA-2026:70459 |
| AlmaLinux | 9 | kernel-doc | Advisory build | 5.14.0-687.50.1.el9_8 | ALSA-2026:70459 |
| AlmaLinux | 9 | kernel-headers | Advisory build | 5.14.0-687.50.1.el9_8 | ALSA-2026:70459 |
| AlmaLinux | 9 | kernel-modules | Advisory build | 5.14.0-687.50.1.el9_8 | ALSA-2026:70459 |
| AlmaLinux | 9 | kernel-modules-core | Advisory build | 5.14.0-687.50.1.el9_8 | ALSA-2026:70459 |
| AlmaLinux | 9 | kernel-modules-extra | Advisory build | 5.14.0-687.50.1.el9_8 | ALSA-2026:70459 |
| AlmaLinux | 9 | kernel-rt | Advisory build | 5.14.0-687.50.1.el9_8 | ALSA-2026:70459 |
| AlmaLinux | 9 | kernel-rt-64k | Advisory build | 5.14.0-687.50.1.el9_8 | ALSA-2026:70459 |
| AlmaLinux | 9 | kernel-rt-64k-core | Advisory build | 5.14.0-687.50.1.el9_8 | ALSA-2026:70459 |
| AlmaLinux | 9 | kernel-rt-64k-debug | Advisory build | 5.14.0-687.50.1.el9_8 | ALSA-2026:70459 |
| AlmaLinux | 9 | kernel-rt-64k-debug-core | Advisory build | 5.14.0-687.50.1.el9_8 | ALSA-2026:70459 |
| AlmaLinux | 9 | kernel-rt-64k-debug-devel | Advisory build | 5.14.0-687.50.1.el9_8 | ALSA-2026:70459 |
| AlmaLinux | 9 | kernel-rt-64k-debug-modules | Advisory build | 5.14.0-687.50.1.el9_8 | ALSA-2026:70459 |
| AlmaLinux | 9 | kernel-rt-64k-debug-modules-core | Advisory build | 5.14.0-687.50.1.el9_8 | ALSA-2026:70459 |
| AlmaLinux | 9 | kernel-rt-64k-debug-modules-extra | Advisory build | 5.14.0-687.50.1.el9_8 | ALSA-2026:70459 |
| AlmaLinux | 9 | kernel-rt-64k-devel | Advisory build | 5.14.0-687.50.1.el9_8 | ALSA-2026:70459 |
| AlmaLinux | 9 | kernel-rt-64k-modules | Advisory build | 5.14.0-687.50.1.el9_8 | ALSA-2026:70459 |
| AlmaLinux | 9 | kernel-rt-64k-modules-core | Advisory build | 5.14.0-687.50.1.el9_8 | ALSA-2026:70459 |
| AlmaLinux | 9 | kernel-rt-64k-modules-extra | Advisory build | 5.14.0-687.50.1.el9_8 | ALSA-2026:70459 |
| AlmaLinux | 9 | kernel-rt-core | Advisory build | 5.14.0-687.50.1.el9_8 | ALSA-2026:70459 |
| AlmaLinux | 9 | kernel-rt-debug | Advisory build | 5.14.0-687.50.1.el9_8 | ALSA-2026:70459 |
| AlmaLinux | 9 | kernel-rt-debug-core | Advisory build | 5.14.0-687.50.1.el9_8 | ALSA-2026:70459 |
| AlmaLinux | 9 | kernel-rt-debug-devel | Advisory build | 5.14.0-687.50.1.el9_8 | ALSA-2026:70459 |
| AlmaLinux | 9 | kernel-rt-debug-modules | Advisory build | 5.14.0-687.50.1.el9_8 | ALSA-2026:70459 |
| AlmaLinux | 9 | kernel-rt-debug-modules-core | Advisory build | 5.14.0-687.50.1.el9_8 | ALSA-2026:70459 |
| AlmaLinux | 9 | kernel-rt-debug-modules-extra | Advisory build | 5.14.0-687.50.1.el9_8 | ALSA-2026:70459 |
| AlmaLinux | 9 | kernel-rt-devel | Advisory build | 5.14.0-687.50.1.el9_8 | ALSA-2026:70459 |
| AlmaLinux | 9 | kernel-rt-modules | Advisory build | 5.14.0-687.50.1.el9_8 | ALSA-2026:70459 |
| AlmaLinux | 9 | kernel-rt-modules-core | Advisory build | 5.14.0-687.50.1.el9_8 | ALSA-2026:70459 |
| AlmaLinux | 9 | kernel-rt-modules-extra | Advisory build | 5.14.0-687.50.1.el9_8 | ALSA-2026:70459 |
| AlmaLinux | 9 | kernel-tools | Advisory build | 5.14.0-687.50.1.el9_8 | ALSA-2026:70459 |
| AlmaLinux | 9 | kernel-tools-libs | Advisory build | 5.14.0-687.50.1.el9_8 | ALSA-2026:70459 |
| AlmaLinux | 9 | kernel-tools-libs-devel | Advisory build | 5.14.0-687.50.1.el9_8 | ALSA-2026:70459 |
| AlmaLinux | 9 | kernel-uki-virt | Advisory build | 5.14.0-687.50.1.el9_8 | ALSA-2026:70459 |
| AlmaLinux | 9 | kernel-uki-virt-addons | Advisory build | 5.14.0-687.50.1.el9_8 | ALSA-2026:70459 |
| AlmaLinux | 9 | kernel-zfcpdump | Advisory build | 5.14.0-687.50.1.el9_8 | ALSA-2026:70459 |
| AlmaLinux | 9 | kernel-zfcpdump-core | Advisory build | 5.14.0-687.50.1.el9_8 | ALSA-2026:70459 |
| AlmaLinux | 9 | kernel-zfcpdump-devel | Advisory build | 5.14.0-687.50.1.el9_8 | ALSA-2026:70459 |
| AlmaLinux | 9 | kernel-zfcpdump-devel-matched | Advisory build | 5.14.0-687.50.1.el9_8 | ALSA-2026:70459 |
| AlmaLinux | 9 | kernel-zfcpdump-modules | Advisory build | 5.14.0-687.50.1.el9_8 | ALSA-2026:70459 |
| AlmaLinux | 9 | kernel-zfcpdump-modules-core | Advisory build | 5.14.0-687.50.1.el9_8 | ALSA-2026:70459 |
| AlmaLinux | 9 | kernel-zfcpdump-modules-extra | Advisory build | 5.14.0-687.50.1.el9_8 | ALSA-2026:70459 |
| AlmaLinux | 9 | libperf | Advisory build | 5.14.0-687.50.1.el9_8 | ALSA-2026:70459 |
| AlmaLinux | 9 | perf | Advisory build | 5.14.0-687.50.1.el9_8 | ALSA-2026:70459 |
| AlmaLinux | 9 | python3-perf | Advisory build | 5.14.0-687.50.1.el9_8 | ALSA-2026:70459 |
| AlmaLinux | 9 | rtla | Advisory build | 5.14.0-687.50.1.el9_8 | ALSA-2026:70459 |
| AlmaLinux | 9 | rv | Advisory build | 5.14.0-687.50.1.el9_8 | ALSA-2026:70459 |
| Oracle Linux | 9 | kernel-abi-stablelistsx86_64 | Advisory build | 0:5.14.0-687.50.1.el9_8 | ELSA-2026-70459 |
| Oracle Linux | 9 | kernel-corex86_64 | Advisory build | 0:5.14.0-687.50.1.el9_8 | ELSA-2026-70459 |
| Oracle Linux | 9 | kernel-cross-headersaarch64 | Advisory build | 0:5.14.0-687.50.1.el9_8 | ELSA-2026-70459 |
| Oracle Linux | 9 | kernel-cross-headersx86_64 | Advisory build | 0:5.14.0-687.50.1.el9_8 | ELSA-2026-70459 |
| Oracle Linux | 9 | kernel-debugx86_64 | Advisory build | 0:5.14.0-687.50.1.el9_8 | ELSA-2026-70459 |
| Oracle Linux | 9 | kernel-debug-corex86_64 | Advisory build | 0:5.14.0-687.50.1.el9_8 | ELSA-2026-70459 |
| Oracle Linux | 9 | kernel-debug-develx86_64 | Advisory build | 0:5.14.0-687.50.1.el9_8 | ELSA-2026-70459 |
| Oracle Linux | 9 | kernel-debug-devel-matchedx86_64 | Advisory build | 0:5.14.0-687.50.1.el9_8 | ELSA-2026-70459 |
| Oracle Linux | 9 | kernel-debug-modulesx86_64 | Advisory build | 0:5.14.0-687.50.1.el9_8 | ELSA-2026-70459 |
| Oracle Linux | 9 | kernel-debug-modules-corex86_64 | Advisory build | 0:5.14.0-687.50.1.el9_8 | ELSA-2026-70459 |
| Oracle Linux | 9 | kernel-debug-modules-extrax86_64 | Advisory build | 0:5.14.0-687.50.1.el9_8 | ELSA-2026-70459 |
| Oracle Linux | 9 | kernel-debug-uki-virtx86_64 | Advisory build | 0:5.14.0-687.50.1.el9_8 | ELSA-2026-70459 |
| Oracle Linux | 9 | kernel-develx86_64 | Advisory build | 0:5.14.0-687.50.1.el9_8 | ELSA-2026-70459 |
| Oracle Linux | 9 | kernel-devel-matchedx86_64 | Advisory build | 0:5.14.0-687.50.1.el9_8 | ELSA-2026-70459 |
| Oracle Linux | 9 | kernel-docx86_64 | Advisory build | 0:5.14.0-687.50.1.el9_8 | ELSA-2026-70459 |
| Oracle Linux | 9 | kernel-headersaarch64 | Advisory build | 0:5.14.0-687.50.1.el9_8 | ELSA-2026-70459 |
| Oracle Linux | 9 | kernel-headersx86_64 | Advisory build | 0:5.14.0-687.50.1.el9_8 | ELSA-2026-70459 |
| Oracle Linux | 9 | kernel-modulesx86_64 | Advisory build | 0:5.14.0-687.50.1.el9_8 | ELSA-2026-70459 |
| Oracle Linux | 9 | kernel-modules-corex86_64 | Advisory build | 0:5.14.0-687.50.1.el9_8 | ELSA-2026-70459 |
| Oracle Linux | 9 | kernel-modules-extrax86_64 | Advisory build | 0:5.14.0-687.50.1.el9_8 | ELSA-2026-70459 |
| Oracle Linux | 9 | kernel-toolsaarch64 | Advisory build | 0:5.14.0-687.50.1.el9_8 | ELSA-2026-70459 |
| Oracle Linux | 9 | kernel-toolsx86_64 | Advisory build | 0:5.14.0-687.50.1.el9_8 | ELSA-2026-70459 |
| Oracle Linux | 9 | kernel-tools-libsaarch64 | Advisory build | 0:5.14.0-687.50.1.el9_8 | ELSA-2026-70459 |
| Oracle Linux | 9 | kernel-tools-libsx86_64 | Advisory build | 0:5.14.0-687.50.1.el9_8 | ELSA-2026-70459 |
| Oracle Linux | 9 | kernel-tools-libs-develaarch64 | Advisory build | 0:5.14.0-687.50.1.el9_8 | ELSA-2026-70459 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
In the Linux kernel, the following vulnerability has been resolved: net/mlx5e: macsec: fix use-after-free of metadata_dst on RX SC delete When an offloaded MACsec RX SC is deleted, macsec_del_rxsc_ctx() freed the per-SC metadata_dst with metadata_dst_free(), which kfree()s the object unconditionally and ignores the dst reference count. The RX datapath in mlx5e_macsec_offload_handle_rx_skb() looks up the SC under rcu_read_lock() via xa_load(), takes a reference with dst_hold() and attaches the dst to the skb with skb_dst_set(). A reader that already obtained the rx_sc pointer can race with the delete path and operate on freed memory. Fix the owner side by dropping the reference with dst_release() instead of freeing unconditionally, and convert the RX datapath to dst_hold_safe() so a reader racing the SC delete cannot attach a dst whose last reference was just dropped; only attach it when a reference was actually taken. mlx5e_macsec_add_rxsc() also published sc_xarray_element via xa_alloc() before rx_sc->md_dst was allocated and initialised, so a datapath reader that looked the SC up by fs_id could observe rx_sc with md_dst still NULL or, on weakly-ordered architectures, a non-NULL md_dst pointer whose contents were not yet visible. NULL-check the xa_load() result and md_dst on the datapath, and reorder add_rxsc() so the xa_alloc() publish happens only after md_dst is fully initialised; the xarray RCU publish then pairs with the rcu_read_lock()/xa_load() in the datapath. Note: macsec_del_rxsc_ctx() also kfree()s rx_sc->sc_xarray_element without an RCU grace period while the same datapath reads it under rcu_read_lock(); that is a separate pre-existing issue left to a follow-up patch. Found by 0sec automated security-research tooling (https://0sec.ai).
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - The UAF is reached by racing MACSEC_CMD_DEL_RXSC/ADD_RXSC netlink configuration (GENL_ADMIN_PERM) against mlx5e MACsec RX processing; the privileged genlink/rtnl control path is required to trigger the bug, not remote packets alone. AC:L - An attacker with CAP_NET_ADMIN can drive both sides by looping RX SC add/delete while flooding MACsec-offloaded RX traffic on the mlx5e netdev, reliably winning the RCU race between xa_load/dst_hold and metadata_dst_free. PR:L - MACsec offload mutations require GENL_ADMIN_PERM (CAP_NET_ADMIN); on Mellanox ConnectX/BlueField systems this is reachable by cloud tenants with SR-IOV VFs, containers, or user/network namespaces without init-namespace root. UI:N - No victim user action is needed; automated concurrent netlink MACsec operations and incoming MACsec-offloaded frames on an active mlx5e interface suffice once MACsec offload is configured. S:U - Impact is kernel heap use-after-free and memory corruption within the host kernel on the mlx5 NIC; it enables local privilege escalation but does not by itself cross VM, IOMMU, or hypervisor security boundaries. C:H - The race calls dst_hold() and skb_dst_set() on a freed metadata_dst, a classic slab UAF that can disclose kernel memory through subsequent dst_entry and MACsec skb metadata handling. I:H - Freed metadata_dst objects can be reallocated via heap spraying while the RX datapath still references them, enabling refcount corruption and arbitrary kernel memory writes or control-flow hijack beyond a mere crash. A:H - Concurrent use of freed md_dst during mlx5e MACsec RX processing can cause immediate kernel oops, BUG, or panic on datacenter/cloud hosts using mlx5 hardware MACsec offload, fully denying system availability.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | b7c9400cbc48c3713190b3bce4e0c87e924e4104 to < b1a4d0c568bbb52c7c04f4fce3c097dae89ed6cb (affected · git)b7c9400cbc48c3713190b3bce4e0c87e924e4104 to < 218cc15a4c907659ad4b0e68c535c61594311205 (affected · git)b7c9400cbc48c3713190b3bce4e0c87e924e4104 to < 4a5073b7b30243658f58b2d2d35a823da7fd34d9 (affected · git)b7c9400cbc48c3713190b3bce4e0c87e924e4104 to < ed3cc4218070d6b98bf5fb456dccae424fd38c4f (affected · git)b7c9400cbc48c3713190b3bce4e0c87e924e4104 to < 088873af13590ebde10de2ade847f57a05ec61c6 (affected · git)b7c9400cbc48c3713190b3bce4e0c87e924e4104 to < de74d8fd10291763d97b218f09adcc7513c975e4 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.1 (affected)0 to < 6.1 (unaffected · semver)6.1.178 through 6.1.* (unaffected · semver)6.6.145 through 6.6.* (unaffected · semver)6.12.97 through 6.12.* (unaffected · semver)6.18.40 through 6.18.* (unaffected · semver)7.1.5 through 7.1.* (unaffected · semver)7.2 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
1- CWE-416 CWE-416 Use After Free
References
6- https://git.kernel.org/stable/c/088873af13590ebde10de2ade847f57a05ec61c6
- https://git.kernel.org/stable/c/218cc15a4c907659ad4b0e68c535c61594311205
- https://git.kernel.org/stable/c/4a5073b7b30243658f58b2d2d35a823da7fd34d9
- https://git.kernel.org/stable/c/b1a4d0c568bbb52c7c04f4fce3c097dae89ed6cb
- https://git.kernel.org/stable/c/de74d8fd10291763d97b218f09adcc7513c975e4
- https://git.kernel.org/stable/c/ed3cc4218070d6b98bf5fb456dccae424fd38c4f
Provider assertions
2Linux · cna
net/mlx5e: macsec: fix use-after-free of metadata_dst on RX SC delete
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- eaa0248d4c6df913d267c884a12d68a1b7452a3b7f0ec60276e0bd6ca81233f4
- Ingested
- 19 Oct 2026, 21:35:07 UTC
- Source record
- Official CVE record