Skip to content
Noroxi
NVD / CVE Program· CNA Linux

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

MediumCVSS 5.5 · v3.1—No exploit Fix available
Published
Apr 10, 2024
Updated
Aug 5, 2026
EPSS
0.2% · 14th percentile
CWE
—

Report tools

JSON

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.

Follow CVE-2021-47197

When you'll hear from us

  • when it enters CISA KEV
  • when exploit code appears or is weaponized
  • when the record is updated (including a fixed version)
  • when EPSS rises 20 points in a week

One daily email digest (06:00 UTC); connect a webhook for KEV listings and weaponized exploits instantly.

Your free account also gets you

  • Stack alerts: add the products and versions you run, get the new CVEs that affect them
  • Uptime monitoring: 1 site, instant email when it goes down
  • Add your domain: subdomains and takeover risk scanned every week (1 domain)
  • 10 scans an hour on the security tools (3 a day without an account), an API key and MCP
  • All your scans in one panel: findings, what changed in the last scan, a report per domain or per client (PDF, share link)
All free tools

Sign up with email · Have an account? Sign in

Free account, no card. Unfollow any time.

Is your version affected? Check it

Noroxi 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 help

Affected 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.

VendorProduct
linuxlinux 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.

EcosystemPackageAffected rangeFix
Debian:12linuxbefore 5.15.5-15.15.5-1
openSUSE:Leap 15.5dtb-aarch64before 5.14.21-150500.55.62.15.14.21-150500.55.62.1
openSUSE:Leap 15.5kernel-64kbbefore 5.14.21-150500.55.62.25.14.21-150500.55.62.2
openSUSE:Leap 15.5kernel-azurebefore 5.14.21-150500.33.51.15.14.21-150500.33.51.1
openSUSE:Leap 15.5kernel-debugbefore 5.14.21-150500.55.62.25.14.21-150500.55.62.2
openSUSE:Leap 15.5kernel-defaultbefore 5.14.21-150500.55.62.25.14.21-150500.55.62.2
openSUSE:Leap 15.5kernel-default-basebefore 5.14.21-150500.55.62.2.150500.6.27.25.14.21-150500.55.62.2.150500.6.27.2
openSUSE:Leap 15.5kernel-docsbefore 5.14.21-150500.55.62.25.14.21-150500.55.62.2
openSUSE:Leap 15.5kernel-kvmsmallbefore 5.14.21-150500.55.62.25.14.21-150500.55.62.2
openSUSE:Leap 15.5kernel-obs-buildbefore 5.14.21-150500.55.62.25.14.21-150500.55.62.2
openSUSE:Leap 15.5kernel-obs-qabefore 5.14.21-150500.55.62.15.14.21-150500.55.62.1
openSUSE:Leap 15.5kernel-rtbefore 5.14.21-150500.13.52.15.14.21-150500.13.52.1
openSUSE:Leap 15.5kernel-rt_debugbefore 5.14.21-150500.13.52.15.14.21-150500.13.52.1
openSUSE:Leap 15.5kernel-sourcebefore 5.14.21-150500.55.62.25.14.21-150500.55.62.2
openSUSE:Leap 15.5kernel-source-azurebefore 5.14.21-150500.33.51.15.14.21-150500.33.51.1
openSUSE:Leap 15.5kernel-source-rtbefore 5.14.21-150500.13.52.15.14.21-150500.13.52.1
openSUSE:Leap 15.5kernel-symsbefore 5.14.21-150500.55.62.15.14.21-150500.55.62.1
openSUSE:Leap 15.5kernel-syms-azurebefore 5.14.21-150500.33.51.15.14.21-150500.33.51.1
openSUSE:Leap 15.5kernel-syms-rtbefore 5.14.21-150500.13.52.15.14.21-150500.13.52.1
openSUSE:Leap 15.5kernel-zfcpdumpbefore 5.14.21-150500.55.62.25.14.21-150500.55.62.2
openSUSE:Leap Micro 5.3kernel-defaultbefore 5.14.21-150400.24.119.15.14.21-150400.24.119.1
openSUSE:Leap Micro 5.3kernel-default-basebefore 5.14.21-150400.24.119.1.150400.24.56.15.14.21-150400.24.119.1.150400.24.56.1
openSUSE:Leap Micro 5.3kernel-rtbefore 5.14.21-150400.15.79.15.14.21-150400.15.79.1
SUSE:Linux Enterprise High Availability Extension 12 SP5kernel-defaultbefore 4.12.14-122.225.14.12.14-122.225.1

+40

Other highest-scoring records for the same primary product.

  • CVE-2026-31431crypto: algif_aead - Revert to operating out-of-placeKEV
    90Now
  • 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…KEV
    89Now
  • CVE-2021-22555Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACEKEV
    85Now

Published before and after this one in the same product

  • ← EarlierCVE-2021-47195Apr 10, 2024 · spi: fix use-after-free of the add_lock mutex
    22Monitor
  • ← EarlierCVE-2021-47196Apr 10, 2024 · RDMA/core: Set send and receive CQ before forwarding to the driver
    31Monitor
  • Later →CVE-2021-47198Apr 10, 2024 · scsi: lpfc: Fix use-after-free in lpfc_unreg_rpi() routine
    31Monitor

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
Linux Linux2ae38157080616a13a9fe3f0b4b6ec0070aa408aVendor (CNA)
Linux Linux471c492890557bd58f73314bb4ad85d5a8fd5026Vendor (CNA)
Linux Linux5.10.82Vendor (CNA)
Linux Linux5.15Vendor (CNA)
Linux Linux76ded29d3fcda4928da8849ffc446ea46871c1c2Vendor (CNA)
debian:linux5.15.5-1 · Debian:12Package registry (OSV)
opensuse:dtb-aarch645.14.21-150500.55.62.1 · openSUSE:Leap 15.5Package registry (OSV)
opensuse:kernel-64kb5.14.21-150500.55.62.2 · openSUSE:Leap 15.5Package registry (OSV)
opensuse:kernel-azure5.14.21-150500.33.51.1 · openSUSE:Leap 15.5Package registry (OSV)
opensuse:kernel-debug5.14.21-150500.55.62.2 · openSUSE:Leap 15.5Package registry (OSV)
opensuse:kernel-default5.14.21-150400.24.119.1 · openSUSE:Leap Micro 5.3Package registry (OSV)
opensuse:kernel-default-base5.14.21-150400.24.119.1.150400.24.56.1 · openSUSE:Leap Micro 5.3Package registry (OSV)
opensuse:kernel-docs5.14.21-150500.55.62.2 · openSUSE:Leap 15.5Package registry (OSV)
opensuse:kernel-kvmsmall5.14.21-150500.55.62.2 · openSUSE:Leap 15.5Package registry (OSV)
opensuse:kernel-obs-build5.14.21-150500.55.62.2 · openSUSE:Leap 15.5Package registry (OSV)
opensuse:kernel-rt5.14.21-150400.15.79.1 · openSUSE:Leap Micro 5.3Package registry (OSV)
opensuse:kernel-source-azure5.14.21-150500.33.51.1 · openSUSE:Leap 15.5Package registry (OSV)
opensuse:kernel-syms-azure5.14.21-150500.33.51.1 · openSUSE:Leap 15.5Package registry (OSV)
suse:kernel-64kb5.14.21-150400.24.119.1 · SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOSPackage registry (OSV)
suse:kernel-azure5.14.21-150500.33.51.1 · SUSE:Linux Enterprise Module for Public Cloud 15 SP5Package registry (OSV)
suse:kernel-default5.14.21-150400.24.119.1 · SUSE:Linux Enterprise Micro 5.3Package registry (OSV)
suse:kernel-default-base5.14.21-150400.24.119.1.150400.24.56.1 · SUSE:Linux Enterprise Micro 5.3Package registry (OSV)
suse:kernel-docs5.14.21-150400.24.119.1 · SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOSPackage registry (OSV)
suse:kernel-livepatch-SLE15-SP4_Update_261-150400.9.3.1 · SUSE:Linux Enterprise Live Patching 15 SP4Package registry (OSV)
suse:kernel-obs-build5.14.21-150400.24.119.1 · SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOSPackage registry (OSV)
suse:kernel-source5.14.21-150400.24.119.1 · SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOSPackage registry (OSV)
suse:kernel-source-azure5.14.21-150500.33.51.1 · SUSE:Linux Enterprise Module for Public Cloud 15 SP5Package registry (OSV)
suse:kernel-syms5.14.21-150400.24.119.1 · SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOSPackage registry (OSV)
suse:kernel-syms-azure5.14.21-150500.33.51.1 · SUSE:Linux Enterprise Module for Public Cloud 15 SP5Package registry (OSV)
suse:kernel-zfcpdump5.14.21-150400.24.119.1 · SUSE:Linux Enterprise Server 15 SP4-LTSSPackage 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.

Finders, 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.

All national notices →

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

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records