{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-72411","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2026-08-09T03:40:39.926Z","datePublished":"2026-08-15T05:56:33.508Z","dateUpdated":"2026-08-17T05:43:51.843Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-08-17T05:43:51.843Z"},"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->ds)\n\t\tdev_close(dp->conduit);\n\nmxl862xx_remove() unregisters the switch before cancelling this work:\n\n\tset_bit(MXL862XX_FLAG_WORK_STOPPED, &priv->flags);\n\tcancel_delayed_work_sync(&priv->stats_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":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH"},"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->conduit 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."}]}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/dsa/mxl862xx/mxl862xx-host.c"],"versions":[{"version":"a319d0c8c8cede3b63538c9f111f84651d078bf6","lessThan":"cf52622fbc274eb4ca9a2066b258da2ae3dc7406","status":"affected","versionType":"git"},{"version":"a319d0c8c8cede3b63538c9f111f84651d078bf6","lessThan":"bcb3b8314611ed9cb4ff4bff484ef9b154fd1b83","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/dsa/mxl862xx/mxl862xx-host.c"],"versions":[{"version":"7.1","status":"affected"},{"version":"0","lessThan":"7.1","status":"unaffected","versionType":"semver"},{"version":"7.1.5","lessThanOrEqual":"7.1.*","status":"unaffected","versionType":"semver"},{"version":"7.2","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"7.1","versionEndExcluding":"7.1.5"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"7.1","versionEndExcluding":"7.2"}]}]}],"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"}}}}