CVE-2026-72411 (GCVE-0-2026-72411)
Vulnerability from cvelistv5
Published
2026-08-15 05:56
Modified
2026-08-17 05:43
Severity ?
VLAI Severity ?
EPSS score ?
Summary
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().
References
Impacted products
{
"containers": {
"cna": {
"affected": [
{
"defaultStatus": "unaffected",
"product": "Linux",
"programFiles": [
"drivers/net/dsa/mxl862xx/mxl862xx-host.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"lessThan": "cf52622fbc274eb4ca9a2066b258da2ae3dc7406",
"status": "affected",
"version": "a319d0c8c8cede3b63538c9f111f84651d078bf6",
"versionType": "git"
},
{
"lessThan": "bcb3b8314611ed9cb4ff4bff484ef9b154fd1b83",
"status": "affected",
"version": "a319d0c8c8cede3b63538c9f111f84651d078bf6",
"versionType": "git"
}
]
},
{
"defaultStatus": "affected",
"product": "Linux",
"programFiles": [
"drivers/net/dsa/mxl862xx/mxl862xx-host.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"status": "affected",
"version": "7.1"
},
{
"lessThan": "7.1",
"status": "unaffected",
"version": "0",
"versionType": "semver"
},
{
"lessThanOrEqual": "7.1.*",
"status": "unaffected",
"version": "7.1.5",
"versionType": "semver"
},
{
"lessThanOrEqual": "*",
"status": "unaffected",
"version": "7.2",
"versionType": "original_commit_for_fix"
}
]
}
],
"cpeApplicability": [
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "7.1.5",
"versionStartIncluding": "7.1",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "7.2",
"versionStartIncluding": "7.1",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nnet: dsa: mxl862xx: fix use-after-free of DSA ports in crc_err_work\n\nUpon an MDIO CRC error mxl862xx_crc_err_work_fn() walks the DSA ports\nand closes the CPU port conduits:\n\n\tdsa_switch_for_each_cpu_port(dp, priv-\u003eds)\n\t\tdev_close(dp-\u003econduit);\n\nmxl862xx_remove() unregisters the switch before cancelling this work:\n\n\tset_bit(MXL862XX_FLAG_WORK_STOPPED, \u0026priv-\u003eflags);\n\tcancel_delayed_work_sync(\u0026priv-\u003estats_work);\n\tdsa_unregister_switch(ds);\n\tmxl862xx_host_shutdown(priv);\n\ndsa_unregister_switch() frees the dsa_port objects. If a CRC error\nschedules the work during teardown it can run after the ports have been\nfreed and dereference freed memory.\n\nGuard the port walk with MXL862XX_FLAG_WORK_STOPPED, which is already set\nbefore dsa_unregister_switch(). DSA tears the ports down under\nrtnl_lock(), so checking the flag under rtnl_lock() means the work either\nruns before teardown and sees valid ports, or runs afterwards, observes\nthe flag and skips the walk. This mirrors the host_flood_work handler,\nwhich skips torn-down ports under rtnl_lock()."
}
],
"metrics": [
{
"cvssV3_1": {
"baseScore": 7.8,
"baseSeverity": "HIGH",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
"version": "3.1"
},
"scenarios": [
{
"lang": "en",
"value": "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.\nAC: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.\nPR: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.\nUI: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.\nS: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.\nC:H - mxl862xx_crc_err_work_fn() walks freed dsa_port structures and reads dp-\u003econduit from reclaimed slab memory before dev_close(), yielding sprayable arbitrary kernel memory disclosure per UAF guidance.\nI: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.\nA: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."
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-08-17T05:43:51.843Z",
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux"
},
"references": [
{
"url": "https://git.kernel.org/stable/c/cf52622fbc274eb4ca9a2066b258da2ae3dc7406"
},
{
"url": "https://git.kernel.org/stable/c/bcb3b8314611ed9cb4ff4bff484ef9b154fd1b83"
}
],
"title": "net: dsa: mxl862xx: fix use-after-free of DSA ports in crc_err_work",
"x_generator": {
"engine": "bippy-1.2.0"
}
}
},
"cveMetadata": {
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"assignerShortName": "Linux",
"cveId": "CVE-2026-72411",
"datePublished": "2026-08-15T05:56:33.508Z",
"dateReserved": "2026-08-09T03:40:39.926Z",
"dateUpdated": "2026-08-17T05:43:51.843Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.
Loading…
Loading…