Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-72411

published high CVSS 3.1 · 7.8

net: dsa: mxl862xx: fix use-after-free of DSA ports in crc_err_work

Published
15 Aug 2026, 05:56:33 UTC
Updated
17 Aug 2026, 05:43:51 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linuxa319d0c8c8cede3b63538c9f111f84651d078bf6 to < cf52622fbc274eb4ca9a2066b258da2ae3dc7406 · a319d0c8c8cede3b63538c9f111f84651d078bf6 to < bcb3b8314611ed9cb4ff4bff484ef9b154fd1b83 · Other versions: unaffected Affected Not stated Linux
Linux — Linux7.1 (affected) · 0 to < 7.1 (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 evaluation Not Affected Not required Amazon Linux assessment

Description

In the Linux kernel, the following vulnerability has been resolved: net: dsa: mxl862xx: fix use-after-free of DSA ports in crc_err_work Upon an MDIO CRC error mxl862xx_crc_err_work_fn() walks the DSA ports and closes the CPU port conduits: dsa_switch_for_each_cpu_port(dp, priv->ds) dev_close(dp->conduit); mxl862xx_remove() unregisters the switch before cancelling this work: set_bit(MXL862XX_FLAG_WORK_STOPPED, &priv->flags); cancel_delayed_work_sync(&priv->stats_work); dsa_unregister_switch(ds); mxl862xx_host_shutdown(priv); dsa_unregister_switch() frees the dsa_port objects. If a CRC error schedules the work during teardown it can run after the ports have been freed and dereference freed memory. Guard the port walk with MXL862XX_FLAG_WORK_STOPPED, which is already set before dsa_unregister_switch(). DSA tears the ports down under rtnl_lock(), so checking the flag under rtnl_lock() means the work either runs before teardown and sees valid ports, or runs afterwards, observes the flag and skips the walk. This mirrors the host_flood_work handler, which skips torn-down ports under rtnl_lock().

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for 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 in mxl862xx_remove() racing crc_err_work; reachable only via local MDIO driver teardown (module unload, sysfs unbind) after MDIO CRC errors on the on-board management bus, not from remote network packet handling. AC:L - An attacker controls the teardown side via repeated sysfs unbind/rmmod while crc_err_work is armed by automatic 2s stats polling or MDIO CRC failures during cancel_delayed_work_sync; both race sides are repeatable without uncontrollable conditions. PR:L - Per kernel CNA precedent for driver remove-path work-item UAFs, PR:L applies: crc_err_work is queued autonomously by kernel MDIO/stats paths without elevated capability, and a local user can drive removal via sysfs unbind or module unload. UI:N - No victim interaction is required; crc_err_work is scheduled by automatic kernel MDIO activity and the UAF occurs when driver teardown frees dsa_port objects before the still-pending workqueue handler runs. S:U - Corruption is confined to kernel heap objects (freed dsa_port and net_device) within the same kernel security authority, with no VM, IOMMU, or namespace boundary crossed. C:H - mxl862xx_crc_err_work_fn() walks freed dsa_port structures and reads dp->conduit from reclaimed slab memory before dev_close(), yielding sprayable arbitrary kernel memory disclosure per UAF guidance. I:H - dev_close() on a dangling net_device* dereferences netdev ops and mutates device state through pointers read from freed dsa_port memory, providing control-flow hijack and arbitrary write primitives after heap grooming. A:H - The use-after-free dereference of freed dsa_port/net_device during dev_close() causes a kernel oops or panic even without deliberate exploitation, repeatable by cycling driver removal against pending crc_err_work.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux a319d0c8c8cede3b63538c9f111f84651d078bf6 to < cf52622fbc274eb4ca9a2066b258da2ae3dc7406 (affected · git)a319d0c8c8cede3b63538c9f111f84651d078bf6 to < bcb3b8314611ed9cb4ff4bff484ef9b154fd1b83 (affected · git)Default: unaffected Linux · cna
Linux Linux 7.1 (affected)0 to < 7.1 (unaffected · semver)7.1.5 through 7.1.* (unaffected · semver)7.2 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

2

Provider assertions

1

Linux · cna

net: dsa: mxl862xx: fix use-after-free of DSA ports in crc_err_work

Provenance

Schema
5.2
Searchable
yes
Content hash
a221d71115fbc6cdc375a8165819d0a07fddbf48f9d7e9d17624929c543a30af
Ingested
23 Sep 2026, 09:29:56 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected