Kernel crash via rescheduled KSZ workqueue
Published May 22, 2024 · Updated May 11, 2026
NULL pointer dereference in the Microchip KSZ DSA driver in Linux allows local users to crash the kernel during module removal. The ksz_switch_remove path cancels mib_read_work before DSA teardown, but ksz_mac_link_down reschedules it while mib_interval remains nonzero; the delayed work then dereferences the unregistered dp->slave. Reaching the flaw requires a loaded KSZ switch driver and CAP_SYS_MODULE privilege to unload it, and exploitation interrupts the host without reported data disclosure or modification.
Summary
What happened
NULL pointer dereference in the Microchip KSZ DSA driver in Linux allows local users to crash the kernel during module removal. The ksz_switch_remove path cancels mib_read_work before DSA teardown, but ksz_mac_link_down reschedules it while mib_interval remains nonzero; the delayed work then dereferences the unregistered dp->slave. Reaching the flaw requires a loaded KSZ switch driver and CAP_SYS_MODULE privilege to unload it, and exploitation interrupts the host without reported data disclosure or modification.
The record
- CVE
- CVE-2021-47439
- Published
- May 22, 2024
- Updated
- May 11, 2026
- Vendor
- The Linux Kernel Organization
- Product
- Linux
- Classifications
- CWE-476, T1499
- Attack vector
- local
- Privileges
- admin
Timeline
How it unfolded
- May 22, 2024CVE publishedPublication date reported by the CVE source.
- May 11, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=469b390e1ba330e888175e55d78573db2e9a8cb4 <383239a33cf29ebee9ce0d4e0e5c900b77a16148
- Affected versionversion=469b390e1ba330e888175e55d78573db2e9a8cb4 <ef1100ef20f29aec4e62abeccdb5bdbebba1e378
- Affected versionversion=469b390e1ba330e888175e55d78573db2e9a8cb4 <f2e1de075018cf71bcd7d628e9f759cb8540b0c3
- Affected versionversion=5.7
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo