CVE-2021-47439
net: dsa: microchip: Added the condition for scheduling ksz_mib_read_work
- Published
- Updated
- Reserved
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: net: dsa: microchip: Added the condition for scheduling ksz_mib_read_work When the ksz module is installed and removed using rmmod, kernel crashes with null pointer dereferrence error. During rmmod, ksz_switch_remove function tries to cancel the mib_read_workqueue using cancel_delayed_work_sync routine and unregister switch from dsa. During dsa_unregister_switch it calls ksz_mac_link_down, which in turn reschedules the workqueue since mib_interval is non-zero. Due to which queue executed after mib_interval and it tries to access dp->slave. But the slave is unregistered in the ksz_switch_remove function. Hence kernel crashes. To avoid this crash, before canceling the workqueue, resetted the mib_interval to 0. v1 -> v2: -Removed the if condition in ksz_mib_read_work
Timeline
ID reserved
By Linux
- 1 day later
· 1 day later
Published
- 24 months later
· 24 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| CISA-ADPADP (enrichment) | 3.1 | Medium5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVDNVD · Analyzed | 3.1 | Medium5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 0.22% · top 87% of all CVEs (7 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.5.
Weakness
- CWE-noinfo Not enough information
- CWE-476 (opens in a new tab)All about CWE-476 and its CVEs
Affected products
- affected 469b390e1ba330e888175e55d78573db2e9a8cb4 – < f2e1de075018cf71bcd7d628e9f759cb8540b0c3
- affected 469b390e1ba330e888175e55d78573db2e9a8cb4 – < 383239a33cf29ebee9ce0d4e0e5c900b77a16148
- affected 469b390e1ba330e888175e55d78573db2e9a8cb4 – < ef1100ef20f29aec4e62abeccdb5bdbebba1e378
- affected 5.7
- unaffected < 5.7
- unaffected 5.10.75 – ≤ 5.10.*
- unaffected 5.14.14 – ≤ 5.14.*
- unaffected 5.15 – ≤ *
References (3)
- https://git.kernel.org/stable/c/f2e1de075018cf71bcd7d628e9f759cb8540b0c3 (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/383239a33cf29ebee9ce0d4e0e5c900b77a16148 (opens in a new tab)x_transferred
- https://git.kernel.org/stable/c/ef1100ef20f29aec4e62abeccdb5bdbebba1e378 (opens in a new tab)x_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2021-47439)Record last updated .