Skip to content
Noroxi
CVE-2026-72072· NVD / CVE Program· CNA Linux

net/mlx5e: macsec: fix use-after-free of metadata_dst on RX SC delete

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).

HighCVSS 7.8 · v3.1—No exploit Fix available
Published
Aug 15, 2026
Updated
Aug 17, 2026
EPSS
0.2% · 6th percentile
CWE
—
Follow this CVE

Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.

Report tools

JSON

Action score

31

Monitor

Low priority for now.

CVSS
31 / 40 · 7.8 / 10
CISA KEV
0 / 30 · Not listed
EPSS
0 / 30 · 0.2%

CNA vs NVD score

NVD
—
CNA · Linux
7.8
NVD has not scored this yet; the score shown is the CNA’s.

The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.

Noroxi analysis

No Noroxi analysis for this record yet

We don't hand-write analysis for the hundreds of thousands of vulnerabilities in the database; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.

We use this product, ask for help

Affected systems

—

Versions reported by the vendor

Affected version ranges reported by the assigning authority (Linux). Independent of NVD's CPE analysis and usually ahead of it.

  • Linux Linux

    • 6.1affected
    • b7c9400cbc48c3713190b3bce4e0c87e924e4104 and later · before b1a4d0c568bbb52c7c04f4fce3c097dae89ed6cbaffected · git
    • b7c9400cbc48c3713190b3bce4e0c87e924e4104 and later · before 218cc15a4c907659ad4b0e68c535c61594311205affected · git
    • b7c9400cbc48c3713190b3bce4e0c87e924e4104 and later · before 4a5073b7b30243658f58b2d2d35a823da7fd34d9affected · git
    • b7c9400cbc48c3713190b3bce4e0c87e924e4104 and later · before ed3cc4218070d6b98bf5fb456dccae424fd38c4faffected · git
    • b7c9400cbc48c3713190b3bce4e0c87e924e4104 and later · before 088873af13590ebde10de2ade847f57a05ec61c6affected · git
    • b7c9400cbc48c3713190b3bce4e0c87e924e4104 and later · before de74d8fd10291763d97b218f09adcc7513c975e4affected · git
    • before 6.1not affected · semver
    • 6.1.178 and later · up to and including 6.1.*not affected · semver
    • 6.6.145 and later · up to and including 6.6.*not affected · semver

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
AlmaLinux:9kernelbefore 5.14.0-687.50.1.el9_85.14.0-687.50.1.el9_8
AlmaLinux:9kernel-64kbefore 5.14.0-687.50.1.el9_85.14.0-687.50.1.el9_8
AlmaLinux:9kernel-64k-corebefore 5.14.0-687.50.1.el9_85.14.0-687.50.1.el9_8
AlmaLinux:9kernel-64k-debugbefore 5.14.0-687.50.1.el9_85.14.0-687.50.1.el9_8
AlmaLinux:9kernel-64k-debug-corebefore 5.14.0-687.50.1.el9_85.14.0-687.50.1.el9_8
AlmaLinux:9kernel-64k-debug-develbefore 5.14.0-687.50.1.el9_85.14.0-687.50.1.el9_8
AlmaLinux:9kernel-64k-debug-devel-matchedbefore 5.14.0-687.50.1.el9_85.14.0-687.50.1.el9_8
AlmaLinux:9kernel-64k-debug-modulesbefore 5.14.0-687.50.1.el9_85.14.0-687.50.1.el9_8
AlmaLinux:9kernel-64k-debug-modules-corebefore 5.14.0-687.50.1.el9_85.14.0-687.50.1.el9_8
AlmaLinux:9kernel-64k-debug-modules-extrabefore 5.14.0-687.50.1.el9_85.14.0-687.50.1.el9_8
AlmaLinux:9kernel-64k-develbefore 5.14.0-687.50.1.el9_85.14.0-687.50.1.el9_8
AlmaLinux:9kernel-64k-devel-matchedbefore 5.14.0-687.50.1.el9_85.14.0-687.50.1.el9_8
AlmaLinux:9kernel-64k-modulesbefore 5.14.0-687.50.1.el9_85.14.0-687.50.1.el9_8
AlmaLinux:9kernel-64k-modules-corebefore 5.14.0-687.50.1.el9_85.14.0-687.50.1.el9_8
AlmaLinux:9kernel-64k-modules-extrabefore 5.14.0-687.50.1.el9_85.14.0-687.50.1.el9_8
AlmaLinux:9kernel-abi-stablelistsbefore 5.14.0-687.50.1.el9_85.14.0-687.50.1.el9_8
AlmaLinux:9kernel-corebefore 5.14.0-687.50.1.el9_85.14.0-687.50.1.el9_8
AlmaLinux:9kernel-cross-headersbefore 5.14.0-687.50.1.el9_85.14.0-687.50.1.el9_8
AlmaLinux:9kernel-debugbefore 5.14.0-687.50.1.el9_85.14.0-687.50.1.el9_8
AlmaLinux:9kernel-debug-corebefore 5.14.0-687.50.1.el9_85.14.0-687.50.1.el9_8
AlmaLinux:9kernel-debug-develbefore 5.14.0-687.50.1.el9_85.14.0-687.50.1.el9_8
AlmaLinux:9kernel-debug-devel-matchedbefore 5.14.0-687.50.1.el9_85.14.0-687.50.1.el9_8
AlmaLinux:9kernel-debug-modulesbefore 5.14.0-687.50.1.el9_85.14.0-687.50.1.el9_8
AlmaLinux:9kernel-debug-modules-corebefore 5.14.0-687.50.1.el9_85.14.0-687.50.1.el9_8

+96

Other highest-scoring records for the same primary product.

  • CVE-2026-74705udp: fix potential use-after-free in tunnel segmentation
    40Plan
  • CVE-2026-74612veth: fix skb length accounting after XDP frag adjustment
    40Plan
  • CVE-2026-74475vxlan: use neigh_ha_snapshot() in route_shortcircuit()
    40Plan
  • CVE-2026-74309vdpa/octeon_ep: fix IRQ-to-ring mapping in interrupt handler
    40Plan
  • CVE-2026-74280crypto: marvell/octeontx - fix DMA cleanup using wrong loop index
    40Plan
  • CVE-2026-74279crypto: cavium/cpt - fix DMA cleanup using wrong loop index
    40Plan

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
Linux Linux088873af13590ebde10de2ade847f57a05ec61c6Vendor (CNA)
Linux Linux218cc15a4c907659ad4b0e68c535c61594311205Vendor (CNA)
Linux Linux4a5073b7b30243658f58b2d2d35a823da7fd34d9Vendor (CNA)
Linux Linuxb1a4d0c568bbb52c7c04f4fce3c097dae89ed6cbVendor (CNA)
Linux Linuxde74d8fd10291763d97b218f09adcc7513c975e4Vendor (CNA)
Linux Linuxed3cc4218070d6b98bf5fb456dccae424fd38c4fVendor (CNA)
almalinux:kernel5.14.0-687.50.1.el9_8 · AlmaLinux:9Package registry (OSV)
almalinux:kernel-64k5.14.0-687.50.1.el9_8 · AlmaLinux:9Package registry (OSV)
almalinux:kernel-64k-core5.14.0-687.50.1.el9_8 · AlmaLinux:9Package registry (OSV)
almalinux:kernel-64k-debug5.14.0-687.50.1.el9_8 · AlmaLinux:9Package registry (OSV)
almalinux:kernel-64k-debug-core5.14.0-687.50.1.el9_8 · AlmaLinux:9Package registry (OSV)
almalinux:kernel-64k-debug-devel5.14.0-687.50.1.el9_8 · AlmaLinux:9Package registry (OSV)
almalinux:kernel-64k-debug-devel-matched5.14.0-687.50.1.el9_8 · AlmaLinux:9Package registry (OSV)
almalinux:kernel-64k-debug-modules5.14.0-687.50.1.el9_8 · AlmaLinux:9Package registry (OSV)
almalinux:kernel-64k-debug-modules-core5.14.0-687.50.1.el9_8 · AlmaLinux:9Package registry (OSV)
almalinux:kernel-64k-debug-modules-extra5.14.0-687.50.1.el9_8 · AlmaLinux:9Package registry (OSV)
almalinux:kernel-64k-devel5.14.0-687.50.1.el9_8 · AlmaLinux:9Package registry (OSV)
almalinux:kernel-64k-devel-matched5.14.0-687.50.1.el9_8 · AlmaLinux:9Package registry (OSV)
debian:linux6.1.180-1 · Debian:12Package registry (OSV)
red hat:kernel-64k-debug-debuginfo0:5.14.0-687.50.1.el9_8 · Red Hat:enterprise_linux:9::appstreamPackage registry (OSV)
red hat:kernel-64k-debug-devel0:5.14.0-687.50.1.el9_8 · Red Hat:enterprise_linux:9::appstreamPackage registry (OSV)
red hat:kernel-64k-debug-devel-matched0:5.14.0-687.50.1.el9_8 · Red Hat:enterprise_linux:9::appstreamPackage registry (OSV)
red hat:kernel-64k-debuginfo0:5.14.0-687.50.1.el9_8 · Red Hat:enterprise_linux:9::appstreamPackage registry (OSV)
red hat:kernel-64k-devel0:5.14.0-687.50.1.el9_8 · Red Hat:enterprise_linux:9::appstreamPackage registry (OSV)
red hat:kernel-64k-devel-matched0:5.14.0-687.50.1.el9_8 · Red Hat:enterprise_linux:9::appstreamPackage registry (OSV)
red hat:kernel-debug-debuginfo0:5.14.0-687.50.1.el9_8 · Red Hat:enterprise_linux:9::appstreamPackage registry (OSV)
red hat:kernel-debug-devel0:5.14.0-687.50.1.el9_8 · Red Hat:enterprise_linux:9::appstreamPackage registry (OSV)
red hat:kernel-debug-devel-matched0:5.14.0-687.50.1.el9_8 · Red Hat:enterprise_linux:9::appstreamPackage registry (OSV)
red hat:kernel-debuginfo0:5.14.0-687.50.1.el9_8 · Red Hat:enterprise_linux:9::appstreamPackage registry (OSV)
red hat:kernel-debuginfo-common-aarch640:5.14.0-687.50.1.el9_8 · Red Hat:enterprise_linux:9::appstreamPackage registry (OSV)

+2

Exploit status

No known public exploit

No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

No dated events beyond publication.

EPSS, last 120 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

No commit or PR link among the references.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

Technical details

Attack conditions

  • Someone with local access to the system can trigger it.
  • A low-privileged account is enough.
  • No user action is required.
  • No special conditions are required; it is repeatable.

If successful

Confidentiality
high · data can be read
Integrity
high · data or configuration can be modified
Availability
high · the service can be disrupted
Attack vector
Local
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality impact
High
Integrity impact
High
Availability impact
High

Weakness class (CWE)

—

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

nvd-secondary

Attack context

MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.

MITRE has no CAPEC/ATT&CK mapping for this CWE.

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records