Linux mlxsw Spectrum Driver Flaw Allows Local Kernel Denial of Service
Vulnerability Disclosure · 2 sources · Updated 3mo ago · First seen Sep 24, 2024

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.


