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).
- Published
- Aug 15, 2026
- Updated
- Aug 17, 2026
- EPSS
- 0.2% · 6th percentile
- CWE
- —
Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.
Report tools
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 helpAffected 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.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| AlmaLinux:9 | kernel | before 5.14.0-687.50.1.el9_8 | 5.14.0-687.50.1.el9_8 |
| AlmaLinux:9 | kernel-64k | before 5.14.0-687.50.1.el9_8 | 5.14.0-687.50.1.el9_8 |
| AlmaLinux:9 | kernel-64k-core | before 5.14.0-687.50.1.el9_8 | 5.14.0-687.50.1.el9_8 |
| AlmaLinux:9 | kernel-64k-debug | before 5.14.0-687.50.1.el9_8 | 5.14.0-687.50.1.el9_8 |
| AlmaLinux:9 | kernel-64k-debug-core | before 5.14.0-687.50.1.el9_8 | 5.14.0-687.50.1.el9_8 |
| AlmaLinux:9 | kernel-64k-debug-devel | before 5.14.0-687.50.1.el9_8 | 5.14.0-687.50.1.el9_8 |
| AlmaLinux:9 | kernel-64k-debug-devel-matched | before 5.14.0-687.50.1.el9_8 | 5.14.0-687.50.1.el9_8 |
| AlmaLinux:9 | kernel-64k-debug-modules | before 5.14.0-687.50.1.el9_8 | 5.14.0-687.50.1.el9_8 |
| AlmaLinux:9 | kernel-64k-debug-modules-core | before 5.14.0-687.50.1.el9_8 | 5.14.0-687.50.1.el9_8 |
| AlmaLinux:9 | kernel-64k-debug-modules-extra | before 5.14.0-687.50.1.el9_8 | 5.14.0-687.50.1.el9_8 |
| AlmaLinux:9 | kernel-64k-devel | before 5.14.0-687.50.1.el9_8 | 5.14.0-687.50.1.el9_8 |
| AlmaLinux:9 | kernel-64k-devel-matched | before 5.14.0-687.50.1.el9_8 | 5.14.0-687.50.1.el9_8 |
| AlmaLinux:9 | kernel-64k-modules | before 5.14.0-687.50.1.el9_8 | 5.14.0-687.50.1.el9_8 |
| AlmaLinux:9 | kernel-64k-modules-core | before 5.14.0-687.50.1.el9_8 | 5.14.0-687.50.1.el9_8 |
| AlmaLinux:9 | kernel-64k-modules-extra | before 5.14.0-687.50.1.el9_8 | 5.14.0-687.50.1.el9_8 |
| AlmaLinux:9 | kernel-abi-stablelists | before 5.14.0-687.50.1.el9_8 | 5.14.0-687.50.1.el9_8 |
| AlmaLinux:9 | kernel-core | before 5.14.0-687.50.1.el9_8 | 5.14.0-687.50.1.el9_8 |
| AlmaLinux:9 | kernel-cross-headers | before 5.14.0-687.50.1.el9_8 | 5.14.0-687.50.1.el9_8 |
| AlmaLinux:9 | kernel-debug | before 5.14.0-687.50.1.el9_8 | 5.14.0-687.50.1.el9_8 |
| AlmaLinux:9 | kernel-debug-core | before 5.14.0-687.50.1.el9_8 | 5.14.0-687.50.1.el9_8 |
| AlmaLinux:9 | kernel-debug-devel | before 5.14.0-687.50.1.el9_8 | 5.14.0-687.50.1.el9_8 |
| AlmaLinux:9 | kernel-debug-devel-matched | before 5.14.0-687.50.1.el9_8 | 5.14.0-687.50.1.el9_8 |
| AlmaLinux:9 | kernel-debug-modules | before 5.14.0-687.50.1.el9_8 | 5.14.0-687.50.1.el9_8 |
| AlmaLinux:9 | kernel-debug-modules-core | before 5.14.0-687.50.1.el9_8 | 5.14.0-687.50.1.el9_8 |
+96
Same product
linux: all recordsOther highest-scoring records for the same primary product.
- CVE-2026-74705udp: fix potential use-after-free in tunnel segmentation40Plan
- CVE-2026-74612veth: fix skb length accounting after XDP frag adjustment40Plan
- CVE-2026-74475vxlan: use neigh_ha_snapshot() in route_shortcircuit()40Plan
- CVE-2026-74309vdpa/octeon_ep: fix IRQ-to-ring mapping in interrupt handler40Plan
- CVE-2026-74280crypto: marvell/octeontx - fix DMA cleanup using wrong loop index40Plan
- CVE-2026-74279crypto: cavium/cpt - fix DMA cleanup using wrong loop index40Plan
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| Linux Linux | 088873af13590ebde10de2ade847f57a05ec61c6 | Vendor (CNA) |
| Linux Linux | 218cc15a4c907659ad4b0e68c535c61594311205 | Vendor (CNA) |
| Linux Linux | 4a5073b7b30243658f58b2d2d35a823da7fd34d9 | Vendor (CNA) |
| Linux Linux | b1a4d0c568bbb52c7c04f4fce3c097dae89ed6cb | Vendor (CNA) |
| Linux Linux | de74d8fd10291763d97b218f09adcc7513c975e4 | Vendor (CNA) |
| Linux Linux | ed3cc4218070d6b98bf5fb456dccae424fd38c4f | Vendor (CNA) |
| almalinux:kernel | 5.14.0-687.50.1.el9_8 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:kernel-64k | 5.14.0-687.50.1.el9_8 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:kernel-64k-core | 5.14.0-687.50.1.el9_8 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:kernel-64k-debug | 5.14.0-687.50.1.el9_8 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:kernel-64k-debug-core | 5.14.0-687.50.1.el9_8 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:kernel-64k-debug-devel | 5.14.0-687.50.1.el9_8 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:kernel-64k-debug-devel-matched | 5.14.0-687.50.1.el9_8 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:kernel-64k-debug-modules | 5.14.0-687.50.1.el9_8 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:kernel-64k-debug-modules-core | 5.14.0-687.50.1.el9_8 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:kernel-64k-debug-modules-extra | 5.14.0-687.50.1.el9_8 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:kernel-64k-devel | 5.14.0-687.50.1.el9_8 · AlmaLinux:9 | Package registry (OSV) |
| almalinux:kernel-64k-devel-matched | 5.14.0-687.50.1.el9_8 · AlmaLinux:9 | Package registry (OSV) |
| debian:linux | 6.1.180-1 · Debian:12 | Package registry (OSV) |
| red hat:kernel-64k-debug-debuginfo | 0:5.14.0-687.50.1.el9_8 · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| red hat:kernel-64k-debug-devel | 0:5.14.0-687.50.1.el9_8 · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| red hat:kernel-64k-debug-devel-matched | 0:5.14.0-687.50.1.el9_8 · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| red hat:kernel-64k-debuginfo | 0:5.14.0-687.50.1.el9_8 · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| red hat:kernel-64k-devel | 0:5.14.0-687.50.1.el9_8 · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| red hat:kernel-64k-devel-matched | 0:5.14.0-687.50.1.el9_8 · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| red hat:kernel-debug-debuginfo | 0:5.14.0-687.50.1.el9_8 · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| red hat:kernel-debug-devel | 0:5.14.0-687.50.1.el9_8 · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| red hat:kernel-debug-devel-matched | 0:5.14.0-687.50.1.el9_8 · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| red hat:kernel-debuginfo | 0:5.14.0-687.50.1.el9_8 · Red Hat:enterprise_linux:9::appstream | Package registry (OSV) |
| red hat:kernel-debuginfo-common-aarch64 | 0:5.14.0-687.50.1.el9_8 · Red Hat:enterprise_linux:9::appstream | Package 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.
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.
Credits
All researchersFinders, 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
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
- git.kernel.org/stable/c/088873af13590ebde10de2ade847f57a05ec61c6
- git.kernel.org/stable/c/218cc15a4c907659ad4b0e68c535c61594311205
- git.kernel.org/stable/c/4a5073b7b30243658f58b2d2d35a823da7fd34d9
- git.kernel.org/stable/c/b1a4d0c568bbb52c7c04f4fce3c097dae89ed6cb
- git.kernel.org/stable/c/de74d8fd10291763d97b218f09adcc7513c975e4
- git.kernel.org/stable/c/ed3cc4218070d6b98bf5fb456dccae424fd38c4f
Vendor advisories and official records. Exploit/PoC links are deliberately left out.