LiveActive security incident?Get immediate response
CVE Record

CVE-2022-48884: net/mlx5: Fix command stats access after free

In the Linux kernel, the following vulnerability has been resolved: net/mlx5: Fix command stats access after free Command may fail while driver is reloading and can't accept FW commands till command interface is reinitialized. Such command failure is being logged to command stats. This results in NULL pointer access as command stats structure is being freed and reallocated during mlx5 devlink reload (see kernel log below). Fix it by making command stats statically allocated on driver probe. Kernel log: [ 2394.808802] BUG: unable to handle kernel paging request at 000000000002a9c0 [ 2394.810610] PGD 0 P4D 0 [ 2394.811811] Oops: 0002 [#1] SMP NOPTI ... [ 2394.815482] RIP: 0010:native_queued_spin_lock_slowpath+0x183/0x1d0 ... [ 2394.829505] Call Trace: [ 2394.830667] _raw_spin_lock_irq+0x23/0x26 [ 2394.831858] cmd_status_err+0x55/0x110 [mlx5_core] [ 2394.833020] mlx5_access_reg+0xe7/0x150 [mlx5_core] [ 2394.834175] mlx5_query_port_ptys+0x78/0xa0 [mlx5_core] [ 2394.835337] mlx5e_ethtool_get_link_ksettings+0x74/0x590 [mlx5_core] [ 2394.836454] ? kmem_cache_alloc_trace+0x140/0x1c0 [ 2394.837562] __rh_call_get_link_ksettings+0x33/0x100 [ 2394.838663] ? __rtnl_unlock+0x25/0x50 [ 2394.839755] __ethtool_get_link_ksettings+0x72/0x150 [ 2394.840862] duplex_show+0x6e/0xc0 [ 2394.841963] dev_attr_show+0x1c/0x40 [ 2394.843048] sysfs_kf_seq_show+0x9b/0x100 [ 2394.844123] seq_read+0x153/0x410 [ 2394.845187] vfs_read+0x91/0x140 [ 2394.846226] ksys_read+0x4f/0xb0 [ 2394.847234] do_syscall_64+0x5b/0x1a0 [ 2394.848228] entry_SYSCALL_64_after_hwframe+0x65/0xca

UnknownCVSS not scoredNot KEV-listedUpdated
Glexia's TakeAutomated analysismoderate

Security readout for executives and security teams

Plain-English summary

A Linux kernel driver flaw can crash systems using the mlx5 network driver when driver reload activity overlaps with firmware-command logging. This is primarily an availability and stability concern for hosts using compatible Mellanox/NVIDIA networking hardware. The source bundle does not provide CVSS, remote exploitability, or active exploitation evidence.

Executive priority

Prioritize patch validation for production Linux systems using mlx5 network adapters. This is not supported as actively exploited, but kernel crashes on networked infrastructure can disrupt service availability and should be addressed through normal kernel maintenance windows.

Technical view

CVE-2022-48884 is a use-after-free/null pointer access in Linux net/mlx5 command statistics handling. During mlx5 devlink reload, command stats could be freed and reallocated while failed firmware commands were still being logged, causing a kernel oops. The fix statically allocates command stats at driver probe.

Likely exposure

Exposure is most likely on Linux systems using the mlx5_core driver for Mellanox/NVIDIA adapters, especially where devlink reload, ethtool, or sysfs link-setting reads occur during driver reload. Exact affected kernel ranges should be confirmed against vendor kernel advisories and the referenced stable commits.

Exploitation context

The bundle says KEV is false and provides no evidence of active exploitation. The shown failure path is a kernel crash during reload-related race conditions, not a documented remote compromise path. Treat exploitation status as unconfirmed absent vendor or CISA evidence.

Researcher notes

The source evidence identifies the root cause and fix direction but lacks CVSS, CWE, attack vector, and distribution-specific affected ranges. Avoid broad claims beyond Linux mlx5 driver exposure. Validate backports because stable and vendor kernels may carry the fix without matching upstream version numbers.

Mitigation direction

  • Review vendor kernel advisories for CVE-2022-48884 and your distribution kernel build.
  • Update to a kernel containing the referenced mlx5 stable fixes.
  • Prioritize hosts using mlx5_core-backed network adapters.
  • Limit unnecessary mlx5 devlink reload operations until patched.
  • Monitor kernel logs for mlx5_core oops or command-stat failures.

Validation and detection

  • Inventory Linux hosts with loaded mlx5_core modules.
  • Map running kernel versions to vendor advisories and stable commit backports.
  • Check whether the referenced fixes are present in your kernel source or package changelog.
  • Review logs for crashes involving cmd_status_err, mlx5_access_reg, or devlink reload.
  • Confirm no operational runbooks depend on frequent mlx5 driver reloads.
Prepared
Confidence
medium
Sources
4

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cve · low confidence lookup

CVE-2022-48884 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Unknown
CVSS
Not scored
Known Exploited
No
Published
Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

0CVSS vectors
3Timeline events
1ADP providers
3Source links

SSVC decision data

CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: noneAutomatable: noTechnical Impact: partial

Vulnerability timeline

Timeline events are normalized from CVE metadata, CNA source timelines, ADP timelines, and KEV metadata when present.

  1. CVE reservedCVE Program

    The CVE ID was reserved by the assigning CNA.

  2. CVE publishedCVE Program

    The CVE record was published.

  3. CVE updatedCVE Program

    The CVE record metadata indicates this as the latest update time.

ADP provider summaries

CISA-ADPCISA ADP Vulnrichment
other:ssvc
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
LinuxLinux34f46ae0d4b38e83cfb26fb6f06b5b5efea47fdc, 34f46ae0d4b38e83cfb26fb6f06b5b5efea47fdcunaffected
LinuxLinux5.18, 0, 6.1.7, 6.2affected
Weakness

CWE details

No CWE listed

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.