Skip to main content
Mallory
← Back to News
industrial-control-system-vulnerability

Linux mlxsw Spectrum Driver Flaw Allows Local Kernel Denial of Service

Vulnerability Disclosure · 2 sources · Updated 3mo ago · First seen Sep 24, 2024

Linux mlxsw Spectrum Driver Flaw Allows Local Kernel Denial of Service

CVE-2021-47560 is a NULL-pointer dereference in the Linux kernel's Mellanox mlxsw Spectrum driver. Buggy firmware can send port up/down events for the CPU port (local port 0), which has no associated network-device structure; processing those events can crash the kernel and cause a denial of service. The flaw was introduced in Linux 5.4 and is mitigated by ignoring events for the CPU port.

Upstream fixes are included in Linux kernel versions 5.10.83, 5.15.6, and 5.16 and later. Red Hat rated the issue moderate severity (CVSS 4.4), noting local high-privilege access requirements, while NVD assigned a 5.5 score; patched kernel and kernel-rt packages are available for affected RHEL 8 and 9 systems, whereas RHEL 6 is unaffected and RHEL 7 is out of support scope.

Why it matters

Impact assessment

CVE-2021-47560 can crash affected Linux systems through a NULL-pointer dereference in the Mellanox mlxsw Spectrum driver, creating local denial-of-service risk. Exposure is limited to hosts running a vulnerable kernel with the mlxsw Spectrum driver and hardware or emulation capable of generating CPU-port link events; no in-the-wild exploitation is reported.

  • Affected populations: Linux systems using Mellanox Spectrum switching hardware, related mlxsw deployments, or relevant emulated test environments.
  • Business impact: kernel panic, system restart, and interruption of switching, host networking, or workloads dependent on the affected system.
  • Severity: availability impact is high when triggered; confidentiality and integrity impact are not identified.
  • Access requirements differ by scoring source: Red Hat rates the issue CVSS 4.4 with local high privileges required, while NVD assigns CVSS 5.5 and low privileges required.
  • Scope: targeted rather than broadly internet-exploitable. The triggering condition was observed with a buggy emulator, though malformed firmware-generated events are the underlying condition.
  • RHEL 6 is not affected. RHEL 7 is outside Red Hat support scope and should be treated as potentially affected pending validation. Fixed packages are available for affected RHEL 8 and 9 releases.
Do you run this?See affected versions and whether adversaries are exploiting it.
Check your exposure
Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

6 events · May 9, 2023 – Sep 24, 2024
  1. Reported Sep 24, 20242y ago

    Red Hat releases RHEL 8.6 specialized-support kernel fix

    Red Hat released RHSA-2024:8161, fixing CVE-2021-47560 for RHEL 8.6 Advanced Mission Critical Update Support, Telecommunications Update Service, and SAP Solutions Update Services kernel packages.

    CVE-2021-47560 - Red Hat Customer Portal
  2. Reported Sep 24, 20242y ago

    Red Hat releases RHEL 8.8 EUS kernel fix

    Red Hat released RHSA-2024:8107, fixing CVE-2021-47560 in the RHEL 8.8 Extended Update Support kernel package.

    CVE-2021-47560 - Red Hat Customer Portal
  3. Sep 24, 20242y ago

    Red Hat releases RHEL 8 kernel and kernel-rt fixes

    Red Hat released RHSA-2024:7000 for the RHEL 8 kernel and RHSA-2024:7001 for the RHEL 8 kernel-rt package to address CVE-2021-47560.

    CVE-2021-47560 - Red Hat Customer Portal
  4. Reported May 24, 20243y ago

    Linux kernel releases fixes for CVE-2021-47560

    The Linux kernel fixes the mlxsw Spectrum CPU-port event flaw in versions 5.10.83, 5.15.6, and 5.16. The fix ignores events reported for the CPU port, preventing the NULL-pointer dereference.

    CVE-2021-47560: mlxsw: spectrum: Protect driver from buggy firmware
  5. Reported May 24, 20243y ago

    Linux kernel flaw introduced in mlxsw Spectrum driver

    A change in Linux kernel 5.4 introduced improper handling of firmware-generated CPU-port link events in the Mellanox mlxsw Spectrum driver. Because local port 0 has no associated network device, processing such events could dereference a NULL pointer and crash the system.

    CVE-2021-47560: mlxsw: spectrum: Protect driver from buggy firmware
  6. May 9, 20234y ago

    Red Hat releases RHEL 9 kernel fixes

    Red Hat released RHSA-2023:2458 for the RHEL 9 kernel and RHSA-2023:2148 for the RHEL 9 kernel-rt package, providing fixes for CVE-2021-47560.

    CVE-2021-47560 - Red Hat Customer Portal
Linked entities

Related entities

Vulnerabilities, threat actors, malware, products, organizations, and breaches Mallory has linked to this story.

Open in app →

Affected products

1 linked
Red Hat Enterprise Linux
Do you run this?See whether adversaries are exploiting this yet, and where the affected versions run in your environment.
Check Your Exposure
Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.