CVE-2021-47371
Linux Kernel vulnerability analysis and mitigation

Overview

In the Linux kernel, a memory leak vulnerability (CVE-2021-47371) was discovered in the nexthop notification chain listeners. The issue was identified when syzkaller discovered memory leaks that could be triggered by specific commands involving nexthop addition and device reload operations (Kernel Git).

Technical details

The vulnerability occurs during the reload flow when mlxsw unregisters its netdevs and then unregisters from the nexthop notification chain. Before unregistering from the notification chain, mlxsw receives delete notifications for nexthop objects using netdevs registered by mlxsw or their uppers, but fails to receive notifications for nexthops using netdevs that are not dismantled during the reload flow. For example, this affects blackhole nexthops that internally use the loopback netdev as their nexthop device. The issue has been assigned a CVSS v3.1 Base Score of 7.1 (HIGH) with vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H (NVD).

Impact

The vulnerability results in memory leaks in the kernel, which can lead to increased memory consumption and potential system instability over time. The issue specifically affects the nexthop notification chain listeners and can be triggered during device reload operations.

Exploitability

The vulnerability can be exploited using specific commands: 'ip nexthop add id 1 blackhole' followed by 'devlink dev reload pci/0000:06:00.0'. The attack requires local access with sufficient privileges to execute these networking commands (Kernel Git).

Mitigation and workarounds

The issue has been fixed by modifying the unregister_nexthop_notifier() function to replay delete notifications for the listener being unregistered, making it symmetric to the registration path and consistent with the netdev notification chain. The fix also includes changes to the VXLAN driver to prevent potential deadlocks by unregistering its nexthop listener without holding RTNL (Kernel Git).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-80913NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel6.12
NoYesSep 04, 2026
CVE-2026-80905NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel
NoYesSep 04, 2026
CVE-2026-80898NONEN/A
  • Linux Kernel logoLinux Kernel
  • kernel6.18
NoYesSep 04, 2026
CVE-2026-80897NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux
NoYesSep 04, 2026
CVE-2026-80892NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux
NoYesSep 04, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management