Home / Linux / Linux / CVE-2021-47266
CVE-2021-47266: is it exploited, and which versions of Linux are affected and fixed?
CVE-2021-47266 is a NULL pointer dereference (crash) vulnerability in Linux. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 16:39 UTC). Affected: Linux from 5.4.73 before 5.4.126, Linux from 5.8.17 before 5.9, Linux from 5.9.2 before 5.10 and 1 more (CVE record by Linux). Fixed in 5.4.126, 5.9, 5.10, 5.10.44 and 2 more (CVE record by Linux). Severity: Medium (5.5, CVSS 3.1, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 16:39 UTC, CVE record November 28, 2026, 20:02 UTC and NVD November 19, 2026, 07:29 UTC.
What is CVE-2021-47266?
In the Linux kernel, the following vulnerability has been resolved: RDMA/ipoib: Fix warning caused by destroying non-initial netns After the commit 5ce2dced8e95 ("RDMA/ipoib: Set rtnl_link_ops for ipoib interfaces"), if the IPoIB device is moved to non-initial netns, destroying that netns lets the device vanish instead of moving it back to the initial netns, This is happening because default_device_exit() skips the interfaces due to having rtnl_link_ops set. Steps to reporoduce: ip netns add foo ip link set mlx5_ib0 netns foo ip netns delete foo WARNING: CPU: 1 PID: 704 at net/core/dev.c:11435 netdev_exit+0x3f/0x50 Modules linked in: xt_CHECKSUM xt_MASQUERADE xt_conntrack ipt_REJECT nf_reject_ipv4 nft_compat nft_counter nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 nf_tables nfnetlink tun d fuse CPU: 1 PID: 704 Comm: kworker/u64:3 Tainted: G S W 5.13.0-rc1+ #1 Hardware name: Dell Inc. PowerEdge R630/02C2CP, BIOS 2.1.5 04/11/2016 Workqueue: netns cleanup_net RIP: 0010:netdev_exit+0x3f/0x50 Code: 48 8b bb 30 01 00 00 e8 ef 81 b1 ff 48 81 fb c0 3a 54 a1 74 13 48 8b 83 90 00 00 00 48 81 c3 90 00 00 00 48 39 d8 75 02 5b c3 <0f> 0b 5b c3 66 66 2e 0f 1f 84 00 00 00 00 00 66 90 0f 1f 44 00 RSP: 0018:ffffb297079d7e08 EFLAGS: 00010206 RAX: ffff8eb542c00040 RBX: ffff8eb541333150 RCX: 000000008010000d RDX: 000000008010000e RSI: 000000008010000d RDI: ffff8eb440042c00 RBP: ffffb297079d7e48 R08: 0000000000000001 R09: ffffffff9fdeac00 R10: ffff8eb5003be000 R11: 0000000000000001 R12: ffffffffa1545620 R13: ffffffffa1545628 R14: 0000000000000000 R15: ffffffffa1543b20 FS: 0000000000000000(0000) GS:ffff8ed37fa00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005601b5f4c2e8 CR3: 0000001fc8c10002 CR4: 00000000003706e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ops_exit_list.isra.9+0x36/0x70 cleanup_net+0x234/0x390 process_one_work+0x1cb/0x360 ? process_one_work+0x360/0x360 worker_thread+0x30/0x370 ? process_one_work+0x360/0x360 kthread+0x116/0x130 ? kthread_park+0x80/0x80 ret_from_fork+0x22/0x30 To avoid the above warning and later on the kernel panic that could happen on shutdown due to a NULL pointer dereference, make sure to set the netns_refund flag that was introduced by commit 3a5ca857079e ("can: dev: Move device back to init netns on owning netns delete") to properly restore the IPoIB interfaces to the initial netns.
From the CVE record by Linux, last updated May 23, 2026, 15:19 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Linux | Linux | from 5.4.73 before 5.4.126 from 5.8.17 before 5.9 from 5.9.2 before 5.10 | 5.4.126, 5.9, 5.10 |
| Linux | Linux | from 5.10 until the fixed versions | 5.4.126, 5.10.44, 5.12.11, 5.13 |
As the CVE record by Linux states it, last updated May 23, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| linux | linux kernel | from 5.4.73 before 5.4.126 | operating system |
| linux | linux kernel | from 5.8.17 before 5.9 | operating system |
| linux | linux kernel | from 5.9.2 before 5.10 | operating system |
| linux | linux kernel | from 5.10 before 5.10.44 | operating system |
| linux | linux kernel | from 5.11 before 5.12.11 | operating system |
| linux | linux kernel | 5.13 | operating system |
NVD analysis (status Analyzed), last modified June 17, 2026, 04:17 UTC.
How severe is CVE-2021-47266?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.5 | CVSS 3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2021-47266 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, June 12, 2024)
- EPSS
- 0.23% probability of exploitation activity in the next 30 days, percentile 15.1 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-476 NULL Pointer Dereference
Where are the vendor advisories and references?
- https://git.kernel.org/stable/c/64f1fb6acc2ab95982fc4334f351d7576c26f313
- https://git.kernel.org/stable/c/67cf4e447b5e5e9e94996cb6812ae2828e0e0e27
- https://git.kernel.org/stable/c/0a672f7d89db2da17ae02733ccc08458be72a6f8
- https://git.kernel.org/stable/c/a3e74fb9247cd530dca246699d5eb5a691884d32
When was it published, and where is the official record?
- Reserved
- May 21, 2024
- Published
- May 21, 2024, 14:19 UTC
- CVE record updated
- May 23, 2026, 15:19 UTC by Linux
- NVD
- Analyzed, last modified June 17, 2026, 04:17 UTC
- Last checked
- CVE list November 28, 2026, 20:02 UTC; NVD November 19, 2026, 07:29 UTC; KEV December 3, 2026, 16:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect Linux?
- Jul 4, 2026CVE-2026-53362 Linux: heap buffer overflow exploited
- Jun 25, 2026CVE-2026-53266 Linux: out-of-bounds write (memory corruption) exploited
- May 23, 2026CVE-2026-46300 Linux: write-what-where Condition exploited
- Apr 22, 2026CVE-2026-31431 Linux: incorrect resource transfer exploited
- Oct 13, 2025CVE-2025-39964 Linux: race condition exploited
- Sep 5, 2025CVE-2025-39682 Linux: unusual condition not checked exploited
- Jul 22, 2025CVE-2025-38352 Linux: time-of-check time-of-use race condition exploited
- Dec 27, 2024CVE-2024-53197 Linux: out-of-bounds write (memory corruption) exploited
Questions about CVE-2021-47266
Is CVE-2021-47266 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 16:39 UTC. FIRST's EPSS gives it a 0.23% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of Linux are affected by CVE-2021-47266?
Linux from 5.4.73 before 5.4.126, Linux from 5.8.17 before 5.9, Linux from 5.9.2 before 5.10 and Linux from 5.10 until the fixed versions, per the CVE record by Linux. The tables above give every range the sources list.
Which version fixes CVE-2021-47266?
5.4.126, 5.9, 5.10, 5.10.44, 5.12.11 and 5.13, per the CVE record by Linux. Check the vendor's advisory before you rely on it.
How severe is CVE-2021-47266?
Medium (5.5, CVSS 3.1, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2021-47266?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.