CVE-2021-47102
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2021-47102 affects the Linux kernel and involves an incorrect structure access in the Marvell Prestera network driver. The vulnerability was discovered and disclosed in March 2024. The issue occurs in the net/marvell/prestera component where improper access to the upper_dev field, which is only meant for specific events (e.g., NETDEV_CHANGEUPPER), causes invalid memory access for other events when the pointer is not of type netdev_notifier_changeupper_info (Kernel Patch).

Technical details

The vulnerability is classified as an out-of-bounds read (CWE-125) with a CVSS v3.1 base score of 7.1 HIGH (Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H). The issue manifests as a stack-out-of-bounds error in the prestera_netdev_port_event.constprop.0 function, where improper access to the upper_dev field leads to invalid memory access when handling certain network device events (NVD).

Impact

The vulnerability can lead to unauthorized read access to kernel memory, potentially exposing sensitive information. The KASAN (Kernel Address Sanitizer) logs indicate that the issue can result in stack-out-of-bounds reads, which could compromise system security and potentially lead to system crashes (Kernel Patch).

Exploitability

The vulnerability requires local access with low privileges to exploit. The attack complexity is low, and no user interaction is required. The issue can be triggered during network device operations, particularly when handling device notifications (NVD).

Mitigation and workarounds

The vulnerability has been fixed in the Linux kernel through a patch that properly handles the structure access by using container_of to safely access the upper_dev field only when appropriate. The fix involves modifying the prestera_netdev_port_event function to correctly handle the structure access based on event types (Kernel Patch).

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-80904MEDIUM5.9
  • Linux Kernel logoLinux Kernel
  • linux-hwe-5.15
NoYesSep 04, 2026
CVE-2026-80905MEDIUM5.5
  • Linux Kernel logoLinux Kernel
  • linux-ibm-5.15
NoYesSep 04, 2026
CVE-2026-80913MEDIUM4.4
  • Linux Kernel logoLinux Kernel
  • linux-aws-fips
NoYesSep 04, 2026
CVE-2026-80912MEDIUM4.4
  • Linux Kernel logoLinux Kernel
  • linux-riscv-6.17
NoYesSep 04, 2026
CVE-2026-80906NONEN/A
  • Linux Kernel logoLinux Kernel
  • linux-nvidia
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