Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2021-47517

HIGH 7.8EPSS 17%

ethtool: do not perform operations on net devices being unregistered

Mitigation

  • No fix listed yet: follow the vendor advisory.

Who should check

  • Anyone running Linux >= 041b1c5d4a53e97fc9e029ae32469552ca12cb9b, < 7c26da3be1e9843a15b5318f90db8a564479d2ac; >= 041b1c5d4a53e97fc9e029ae32469552ca12cb9b, < cfd719f04267108f5f5bf802b9d7de69e99a99f9; >= 041b1c5d4a53e97fc9e029ae32469552ca12cb9b, < dde91ccfa25fd58f64c397d91b81a4b393100ffa
  • Anyone running Linux 5.6

Vulnerability facts

Affected
Linux >= 041b1c5d4a53e97fc9e029ae32469552ca12cb9b, < 7c26da3be1e9843a15b5318f90db8a564479d2ac; >= 041b1c5d4a53e97fc9e029ae32469552ca12cb9b, < cfd719f04267108f5f5bf802b9d7de69e99a99f9; >= 041b1c5d4a53e97fc9e029ae32469552ca12cb9b, < dde91ccfa25fd58f64c397d91b81a4b393100ffa; Linux 5.6
Fixed in
Linux 7c26da3be1e9843a15b5318f90db8a564479d2ac
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Privileges required: Low
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: High
  • Integrity impact: High
  • Availability impact: High
EPSS
0.32% chance of exploitation in 30 days (percentile 17, 2026-11-26)
CWE
CWE-416
Published
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: ethtool: do not perform operations on net devices being unregistered There is a short period between a net device starts to be unregistered and when it is actually gone. In that time frame ethtool operations could still be performed, which might end up in unwanted or undefined behaviours[1]. Do not allow ethtool operations after a net device starts its unregistration. This patch targets the netlink part as the ioctl one isn't affected: the reference to the net device is taken and the operation is executed within an rtnl lock section and the net device won't be found after unregister. [1] For example adding Tx queues after unregister ends up in NULL pointer exceptions and UaFs, such as: BUG: KASAN: use-after-free in kobject_get+0x14/0x90 Read of size 1 at addr ffff88801961248c by task ethtool/755 CPU: 0 PID: 755 Comm: ethtool Not tainted 5.15.0-rc6+ #778 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.14.0-4.fc34 04/014 Call Trace: dump_stack_lvl+0x57/0x72 print_address_description.constprop.0+0x1f/0x140 kasan_report.cold+0x7f/0x11b kobject_get+0x14/0x90 kobject_add_internal+0x3d1/0x450 kobject_init_and_add+0xba/0xf0 netdev_queue_update_kobjects+0xcf/0x200 netif_set_real_num_tx_queues+0xb4/0x310 veth_set_channels+0x1c3/0x550 ethnl_set_channels+0x524/0x610

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= 041b1c5d4a53e97fc9e029ae32469552ca12cb9b, < 7c26da3be1e9843a15b5318f90db8a564479d2ac; >= 041b1c5d4a53e97fc9e029ae32469552ca12cb9b, < cfd719f04267108f5f5bf802b9d7de69e99a99f9; >= 041b1c5d4a53e97fc9e029ae32469552ca12cb9b, < dde91ccfa25fd58f64c397d91b81a4b393100ffa—cvelist
Linux5.6—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2021-47517. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2021-47517.md
Affected: Linux >= 041b1c5d4a53e97fc9e029ae32469552ca12cb9b, < 7c26da3be1e9843a15b5318f90db8a564479d2ac; >= 041b1c5d4a53e97fc9e029ae32469552ca12cb9b, < cfd719f04267108f5f5bf802b9d7de69e99a99f9; >= 041b1c5d4a53e97fc9e029ae32469552ca12cb9b, < dde91ccfa25fd58f64c397d91b81a4b393100ffa; Linux 5.6
Fixed in: Linux 7c26da3be1e9843a15b5318f90db8a564479d2ac

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2021-47517 being exploited?

There is no confirmed exploitation: CVE-2021-47517 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.32% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2021-47517?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by CVE-2021-47517?

Linux >= 041b1c5d4a53e97fc9e029ae32469552ca12cb9b, < 7c26da3be1e9843a15b5318f90db8a564479d2ac; >= 041b1c5d4a53e97fc9e029ae32469552ca12cb9b, < cfd719f04267108f5f5bf802b9d7de69e99a99f9; >= 041b1c5d4a53e97fc9e029ae32469552ca12cb9b, < dde91ccfa25fd58f64c397d91b81a4b393100ffa; Linux 5.6.

Is there a fix for CVE-2021-47517?

Yes. Fixed in Linux 7c26da3be1e9843a15b5318f90db8a564479d2ac. No fix listed yet: follow the vendor advisory.

How do I check if I'm affected by CVE-2021-47517?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors