CVE-2021-47197: net/mlx5e: nullify cq->dbg pointer in mlx5_debug_cq_remove()
Noroxi assessment
Priority: Monitor (action score 22/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 0.23% (FIRST EPSS).
- Someone with local access to the system can trigger it. A low-privileged account is enough. No user action is required. No special conditions are required; it is repeatable.
- Fixed version: Linux Linux 2ae38157080616a13a9fe3f0b4b6ec0070aa408a, 471c492890557bd58f73314bb4ad85d5a8fd5026, 5.10.82.
- Severity is disputed: the assigning authority (CNA) scores it 7.8, NVD 5.5.
- Mentioned 2 times in Turkish national cyber security advisories (siberguvenlik.gov.tr).
Low priority for now. Upgrade to Linux Linux 2ae38157080616a13a9fe3f0b4b6ec0070aa408a, 471c492890557bd58f73314bb4ad85d5a8fd5026, 5.10.82 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
In the Linux kernel, the following vulnerability has been resolved: net/mlx5e: nullify cq->dbg pointer in mlx5_debug_cq_remove() Prior to this patch in case mlx5_core_destroy_cq() failed it proceeds to rest of destroy operations. mlx5_core_destroy_cq() could be called again by user and cause additional call of mlx5_debug_cq_remove(). cq->dbg was not nullify in previous call and cause the crash. Fix it by nullify cq->dbg pointer after removal. Also proceed to destroy operations only if FW return 0 for MLX5_CMD_OP_DESTROY_CQ command. general protection fault, probably for non-canonical address 0x2000300004058: 0000 [#1] SMP PTI CPU: 5 PID: 1228 Comm: python Not tainted 5.15.0-rc5_for_upstream_min_debug_2021_10_14_11_06 #1 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS rel-1.13.0-0-gf21b5a4aeb02-prebuilt.qemu.org 04/01/2014 RIP: 0010:lockref_get+0x1/0x60 Code: 5d e9 53 ff ff ff 48 8d 7f 70 e8 0a 2e 48 00 c7 85 d0 00 00 00 02 00 00 00 c6 45 70 00 fb 5d c3 c3 cc cc cc cc cc cc cc cc 53 <48> 8b 17 48 89 fb 85 d2 75 3d 48 89 d0 bf 64 00 00 00 48 89 c1 48 RSP: 0018:ffff888137dd7a38 EFLAGS: 00010206 RAX: 0000000000000000 RBX: ffff888107d5f458 RCX: 00000000fffffffe RDX: 000000000002c2b0 RSI: ffffffff8155e2e0 RDI: 0002000300004058 RBP: ffff888137dd7a88 R08: 0002000300004058 R09: ffff8881144a9f88 R10: 0000000000000000 R11: 0000000000000000 R12: ffff8881141d4000 R13: ffff888137dd7c68 R14: ffff888137dd7d58 R15: ffff888137dd7cc0 FS: 00007f4644f2a4c0(0000) GS:ffff8887a2d40000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055b4500f4380 CR3: 0000000114f7a003 CR4: 0000000000170ea0 Call Trace: simple_recursive_removal+0x33/0x2e0 ? debugfs_remove+0x60/0x60 debugfs_remove+0x40/0x60 mlx5_debug_cq_remove+0x32/0x70 [mlx5_core] mlx5_core_destroy_cq+0x41/0x1d0 [mlx5_core] devx_obj_cleanup+0x151/0x330 [mlx5_ib] ? __pollwait+0xd0/0xd0 ? xas_load+0x5/0x70 ? xa_load+0x62/0xa0 destroy_hw_idr_uobject+0x20/0x80 [ib_uverbs] uverbs_destroy_uobject+0x3b/0x360 [ib_uverbs] uobj_destroy+0x54/0xa0 [ib_uverbs] ib_uverbs_cmd_verbs+0xaf2/0x1160 [ib_uverbs] ? uverbs_finalize_object+0xd0/0xd0 [ib_uverbs] ib_uverbs_ioctl+0xc4/0x1b0 [ib_uverbs] __x64_sys_ioctl+0x3e4/0x8e0
- Published
- Apr 10, 2024
- Updated
- Aug 5, 2026
- EPSS
- 0.2% · 14th percentile
- CWE
- —
Report tools
Action score
22
Monitor
Low priority for now.
- CVSS
- 22 / 40 · 5.5 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.2%
CISA SSVC decision
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
Vulnrichment: CISA's decision-tree inputs.
CNA vs NVD score
- NVD
- 5.5
- CNA · Linux
- 7.8
- 2.3 point gap
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| linux | linux kernel | cpe:2.3:o:linux:linux_kernel |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- linux linux kernel5.10.75 and later · before 5.10.82
- linux linux kernel5.11 and later · before 5.15.5
- linux linux kernel5.16
Versions reported by the vendor
Affected version ranges reported by the assigning authority (Linux). Independent of NVD's CPE analysis and usually ahead of it.
Linux Linux
- ed8aafea4fec9c654e63445236e0b505e27ed3a7, 5.15affected
- 4f7bddf8c5c01cac74373443b13a68e1c6723a94 and later · before 471c492890557bd58f73314bb4ad85d5a8fd5026affected · git
- 94b960b9deffc02fc0747afc01f72cc62ab099e3 and later · before 2ae38157080616a13a9fe3f0b4b6ec0070aa408aaffected · git
- 94b960b9deffc02fc0747afc01f72cc62ab099e3 and later · before 76ded29d3fcda4928da8849ffc446ea46871c1c2affected · git
- 5.10.75 and later · before 5.10.82affected · semver
- 5.14.14 and later · before 5.15affected · semver
- before 5.15not affected · semver
- 5.10.82 and later · up to and including 5.10.*not affected · semver
- 5.15.5 and later · up to and including 5.15.*not affected · semver
- 5.16 and laternot affected · original_commit_for_fix
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | linux | before 5.15.5-1 | 5.15.5-1 |
| openSUSE:Leap 15.5 | dtb-aarch64 | before 5.14.21-150500.55.62.1 | 5.14.21-150500.55.62.1 |
| openSUSE:Leap 15.5 | kernel-64kb | before 5.14.21-150500.55.62.2 | 5.14.21-150500.55.62.2 |
| openSUSE:Leap 15.5 | kernel-azure | before 5.14.21-150500.33.51.1 | 5.14.21-150500.33.51.1 |
| openSUSE:Leap 15.5 | kernel-debug | before 5.14.21-150500.55.62.2 | 5.14.21-150500.55.62.2 |
| openSUSE:Leap 15.5 | kernel-default | before 5.14.21-150500.55.62.2 | 5.14.21-150500.55.62.2 |
| openSUSE:Leap 15.5 | kernel-default-base | before 5.14.21-150500.55.62.2.150500.6.27.2 | 5.14.21-150500.55.62.2.150500.6.27.2 |
| openSUSE:Leap 15.5 | kernel-docs | before 5.14.21-150500.55.62.2 | 5.14.21-150500.55.62.2 |
| openSUSE:Leap 15.5 | kernel-kvmsmall | before 5.14.21-150500.55.62.2 | 5.14.21-150500.55.62.2 |
| openSUSE:Leap 15.5 | kernel-obs-build | before 5.14.21-150500.55.62.2 | 5.14.21-150500.55.62.2 |
| openSUSE:Leap 15.5 | kernel-obs-qa | before 5.14.21-150500.55.62.1 | 5.14.21-150500.55.62.1 |
| openSUSE:Leap 15.5 | kernel-rt | before 5.14.21-150500.13.52.1 | 5.14.21-150500.13.52.1 |
| openSUSE:Leap 15.5 | kernel-rt_debug | before 5.14.21-150500.13.52.1 | 5.14.21-150500.13.52.1 |
| openSUSE:Leap 15.5 | kernel-source | before 5.14.21-150500.55.62.2 | 5.14.21-150500.55.62.2 |
| openSUSE:Leap 15.5 | kernel-source-azure | before 5.14.21-150500.33.51.1 | 5.14.21-150500.33.51.1 |
| openSUSE:Leap 15.5 | kernel-source-rt | before 5.14.21-150500.13.52.1 | 5.14.21-150500.13.52.1 |
| openSUSE:Leap 15.5 | kernel-syms | before 5.14.21-150500.55.62.1 | 5.14.21-150500.55.62.1 |
| openSUSE:Leap 15.5 | kernel-syms-azure | before 5.14.21-150500.33.51.1 | 5.14.21-150500.33.51.1 |
| openSUSE:Leap 15.5 | kernel-syms-rt | before 5.14.21-150500.13.52.1 | 5.14.21-150500.13.52.1 |
| openSUSE:Leap 15.5 | kernel-zfcpdump | before 5.14.21-150500.55.62.2 | 5.14.21-150500.55.62.2 |
| openSUSE:Leap Micro 5.3 | kernel-default | before 5.14.21-150400.24.119.1 | 5.14.21-150400.24.119.1 |
| openSUSE:Leap Micro 5.3 | kernel-default-base | before 5.14.21-150400.24.119.1.150400.24.56.1 | 5.14.21-150400.24.119.1.150400.24.56.1 |
| openSUSE:Leap Micro 5.3 | kernel-rt | before 5.14.21-150400.15.79.1 | 5.14.21-150400.15.79.1 |
| SUSE:Linux Enterprise High Availability Extension 12 SP5 | kernel-default | before 4.12.14-122.225.1 | 4.12.14-122.225.1 |
+40
Same product
linux: all recordsOther highest-scoring records for the same primary product.
- CVE-2026-31431crypto: algif_aead - Revert to operating out-of-placeKEV90Now
- CVE-2022-0847A flaw was found in the way the "flags" member of the new pipe buffer structure was lacking proper initialization in copy_page_to_iter_pipe…KEV89Now
- CVE-2021-22555Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACEKEV85Now
Published before and after this one in the same product
- ← EarlierCVE-2021-47195Apr 10, 2024 · spi: fix use-after-free of the add_lock mutex22Monitor
- ← EarlierCVE-2021-47196Apr 10, 2024 · RDMA/core: Set send and receive CQ before forwarding to the driver31Monitor
- Later →CVE-2021-47198Apr 10, 2024 · scsi: lpfc: Fix use-after-free in lpfc_unreg_rpi() routine31Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| Linux Linux | 2ae38157080616a13a9fe3f0b4b6ec0070aa408a | Vendor (CNA) |
| Linux Linux | 471c492890557bd58f73314bb4ad85d5a8fd5026 | Vendor (CNA) |
| Linux Linux | 5.10.82 | Vendor (CNA) |
| Linux Linux | 5.15 | Vendor (CNA) |
| Linux Linux | 76ded29d3fcda4928da8849ffc446ea46871c1c2 | Vendor (CNA) |
| debian:linux | 5.15.5-1 · Debian:12 | Package registry (OSV) |
| opensuse:dtb-aarch64 | 5.14.21-150500.55.62.1 · openSUSE:Leap 15.5 | Package registry (OSV) |
| opensuse:kernel-64kb | 5.14.21-150500.55.62.2 · openSUSE:Leap 15.5 | Package registry (OSV) |
| opensuse:kernel-azure | 5.14.21-150500.33.51.1 · openSUSE:Leap 15.5 | Package registry (OSV) |
| opensuse:kernel-debug | 5.14.21-150500.55.62.2 · openSUSE:Leap 15.5 | Package registry (OSV) |
| opensuse:kernel-default | 5.14.21-150400.24.119.1 · openSUSE:Leap Micro 5.3 | Package registry (OSV) |
| opensuse:kernel-default-base | 5.14.21-150400.24.119.1.150400.24.56.1 · openSUSE:Leap Micro 5.3 | Package registry (OSV) |
| opensuse:kernel-docs | 5.14.21-150500.55.62.2 · openSUSE:Leap 15.5 | Package registry (OSV) |
| opensuse:kernel-kvmsmall | 5.14.21-150500.55.62.2 · openSUSE:Leap 15.5 | Package registry (OSV) |
| opensuse:kernel-obs-build | 5.14.21-150500.55.62.2 · openSUSE:Leap 15.5 | Package registry (OSV) |
| opensuse:kernel-rt | 5.14.21-150400.15.79.1 · openSUSE:Leap Micro 5.3 | Package registry (OSV) |
| opensuse:kernel-source-azure | 5.14.21-150500.33.51.1 · openSUSE:Leap 15.5 | Package registry (OSV) |
| opensuse:kernel-syms-azure | 5.14.21-150500.33.51.1 · openSUSE:Leap 15.5 | Package registry (OSV) |
| suse:kernel-64kb | 5.14.21-150400.24.119.1 · SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS | Package registry (OSV) |
| suse:kernel-azure | 5.14.21-150500.33.51.1 · SUSE:Linux Enterprise Module for Public Cloud 15 SP5 | Package registry (OSV) |
| suse:kernel-default | 5.14.21-150400.24.119.1 · SUSE:Linux Enterprise Micro 5.3 | Package registry (OSV) |
| suse:kernel-default-base | 5.14.21-150400.24.119.1.150400.24.56.1 · SUSE:Linux Enterprise Micro 5.3 | Package registry (OSV) |
| suse:kernel-docs | 5.14.21-150400.24.119.1 · SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS | Package registry (OSV) |
| suse:kernel-livepatch-SLE15-SP4_Update_26 | 1-150400.9.3.1 · SUSE:Linux Enterprise Live Patching 15 SP4 | Package registry (OSV) |
| suse:kernel-obs-build | 5.14.21-150400.24.119.1 · SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS | Package registry (OSV) |
| suse:kernel-source | 5.14.21-150400.24.119.1 · SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS | Package registry (OSV) |
| suse:kernel-source-azure | 5.14.21-150500.33.51.1 · SUSE:Linux Enterprise Module for Public Cloud 15 SP5 | Package registry (OSV) |
| suse:kernel-syms | 5.14.21-150400.24.119.1 · SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS | Package registry (OSV) |
| suse:kernel-syms-azure | 5.14.21-150500.33.51.1 · SUSE:Linux Enterprise Module for Public Cloud 15 SP5 | Package registry (OSV) |
| suse:kernel-zfcpdump | 5.14.21-150400.24.119.1 · SUSE:Linux Enterprise Server 15 SP4-LTSS | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
No history yet (it accumulates with the daily EPSS job).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
National notice (Türkiye Cybersecurity Directorate / USOM)
Official security notices citing this record; remediation advice is on the agency's page.
- TR-24-0494 · May 16, 2024(Linux Kernel Güncellemesi)
- TR-24-0284 · Apr 15, 2024(Linux Kernel Güncellemesi)
Technical details
Attack conditions
- Someone with local access to the system can trigger it.
- A low-privileged account is enough.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- none
- Integrity
- none
- Availability
- high · the service can be disrupted
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- None
- Integrity impact
- None
- Availability impact
- High
Weakness class (CWE)
—
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Change log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (2 more)Show less
Vendor advisories and official records. Exploit/PoC links are deliberately left out.