In the Linux kernel, the following vulnerability has been resolved:
net: marvell: prestera: fix incorrect structure access
In line:
upper = info->upper_dev;
We access upper_dev field, which is related only for particular events
(e.g. event == NETDEV_CHANGEUPPER). So, this line cause invalid memory
access for another events,
when ptr is not netdev_notifier_changeupper_info.
The KASAN logs are as follows:
[ 30.123165] BUG: KASAN: stack-out-of-bounds in prestera_netdev_port_event.constprop.0+0x68/0x538 [prestera]
[ 30.133336] Read of size 8 at addr ffff80000cf772b0 by task udevd/778
[ 30.139866]
[ 30.141398] CPU: 0 PID: 778 Comm: udevd Not tainted 5.16.0-rc3 #6
[ 30.147588] Hardware name: DNI AmazonGo1 A7040 board (DT)
[ 30.153056] Call trace:
[ 30.155547] dump_backtrace+0x0/0x2c0
[ 30.159320] show_stack+0x18/0x30
[ 30.162729] dump_stack_lvl+0x68/0x84
[ 30.166491] print_address_description.constprop.0+0x74/0x2b8
[ 30.172346] kasan_report+0x1e8/0x250
[ 30.176102] __asan_load8+0x98/0xe0
[ 30.179682] prestera_netdev_port_event.constprop.0+0x68/0x538 [prestera]
[ 30.186847] prestera_netdev_event_handler+0x1b4/0x1c0 [prestera]
[ 30.193313] raw_notifier_call_chain+0x74/0xa0
[ 30.197860] call_netdevice_notifiers_info+0x68/0xc0
[ 30.202924] register_netdevice+0x3cc/0x760
[ 30.207190] register_netdev+0x24/0x50
[ 30.211015] prestera_device_register+0x8a0/0xba0 [prestera]
Security readout for executives and security teams
Plain-English summary
This is a Linux kernel bug in the Marvell Prestera network driver. The driver can read the wrong notifier structure during some network-device events, causing invalid memory access. The public bundle shows a KASAN stack out-of-bounds report, but does not provide CVSS, a practical impact rating, or evidence of active exploitation.
Executive priority
Treat as a targeted kernel reliability risk, not a broad emergency from the provided evidence. Prioritize remediation where Marvell Prestera hardware or drivers exist, and fold validation into normal kernel update governance.
Technical view
The Prestera netdev event handler accessed info->upper_dev before confirming the event carried netdev_notifier_changeupper_info. For events other than NETDEV_CHANGEUPPER, that field access can read beyond the expected stack object. The source identifies fixes in Linux stable commits and affected Linux versions around 5.14 through 5.16 metadata.
Likely exposure
Exposure appears limited to systems running affected Linux kernels with the Marvell Prestera driver present and relevant hardware or module use. General Linux servers without this driver or hardware are less likely exposed, but kernel packaging should be checked.
Exploitation context
The bundle does not show KEV listing, active exploitation, exploit availability, or attacker-controlled trigger details. Evidence is limited to a KASAN crash report during device registration involving udevd and the prestera module.
Researcher notes
Key uncertainty is exploitability. The public description proves an invalid read from incorrect notifier structure handling, but not privilege boundary crossing, remote reachability, or impact beyond crash or memory-safety violation. Validate against downstream kernel backports rather than version strings alone.
Mitigation direction
Check vendor kernel advisories for CVE-2021-47102 applicability.
Update to a kernel build containing the referenced stable fixes.
Prioritize systems using Marvell Prestera switching hardware or the prestera module.
If unavailable, seek vendor guidance on disabling or avoiding the affected driver.
Validation and detection
Inventory kernels and identify hosts loading the prestera module.
Compare kernel package changelogs against the referenced stable commits.
Review boot and kernel logs for KASAN or prestera notifier crashes.
Confirm network hardware uses Marvell Prestera before prioritizing remediation.
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-2021-47102 mapping review
Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.
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.