Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2021-47102— net: marvell: prestera: fix incorrect structure access

Quick assessment

Affected
Linux Linux
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于存在不正确的结构访问,会导致其他事件的内存访问无效。

CVSS 7.1 · High EPSS 0.33% · P24

Possible ATT&CK Techniques 1 AI

T1203 · Exploitation for Client Execution

Affected Version Matrix 6

VendorProduct Version RangeStatus
Linux Linux 3d5048cc54bd250cfbb358c37fcc011135977887< 5c553a0cd1263e4da5f220d80fa713fc3959c1d0 affected
3d5048cc54bd250cfbb358c37fcc011135977887< 2efc2256febf214e7b2bdaa21fe6c3c3146acdcb affected
5.14 affected
< 5.14 unaffected
5.15.12≤ 5.15.* unaffected
5.16≤ * unaffected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2021-47102

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
net: marvell: prestera: fix incorrect structure access
Source: CVE Program / CVE List V5
Vulnerability Description
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]
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
N/A
Source: CVE Program / CVE List V5
Vulnerability Title
Linux kernel 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于存在不正确的结构访问,会导致其他事件的内存访问无效。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
Linux Linux 3d5048cc54bd250cfbb358c37fcc011135977887 ~ 5c553a0cd1263e4da5f220d80fa713fc3959c1d0 -
Linux Linux 5.14 -

II. Public POCs for CVE-2021-47102

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2021-47102

请登录查看更多情报信息。

Other References for CVE-2021-47102 (2)

Same Patch Batch · Linux · 2024-03-04 · 26 CVEs total

CVE-2021-47107 9.8 CRITICAL NFSD: Fix READDIR buffer overflow
CVE-2021-47103 9.8 CRITICAL inet: fully convert sk->sk_rx_dst to RCU rules
CVE-2021-47082 7.8 HIGH tun: avoid double free in tun_free_netdev
CVE-2021-47087 7.8 HIGH tee: optee: Fix incorrect page free bug
CVE-2021-47106 7.8 HIGH netfilter: nf_tables: fix use-after-free in nft_set_catchall_destroy()
CVE-2021-47094 7.8 HIGH KVM: x86/mmu: Don't advance iterator after restart due to yielding
CVE-2021-47099 7.8 HIGH veth: ensure skb entering GRO are not cloned.
CVE-2021-47083 7.1 HIGH pinctrl: mediatek: fix global-out-of-bounds issue
CVE-2021-47095 ipmi: ssif: initialize ssif_info->client early
CVE-2021-47108 drm/mediatek: hdmi: Perform NULL pointer check for mtk_hdmi_conf
CVE-2021-47105 ice: xsk: return xsk buffers back to pool when cleaning the ring
CVE-2021-47104 IB/qib: Fix memory leak in qib_user_sdma_queue_pkts()
CVE-2021-47101 asix: fix uninit-value in asix_mdio_read()
CVE-2021-47100 ipmi: Fix UAF when uninstall ipmi_si and ipmi_msghandler module
CVE-2021-47098 hwmon: (lm90) Prevent integer overflow/underflow in hysteresis calculations
CVE-2021-47097 Input: elantech - fix stack out of bound access in elantech_change_report_id()
CVE-2021-47096 ALSA: rawmidi - fix the uninitalized user_pversion
CVE-2024-26622 tomoyo: fix UAF write bug in tomoyo_write_control()
CVE-2021-47093 platform/x86: intel_pmc_core: fix memleak on registration failure
CVE-2021-47092 KVM: VMX: Always clear vmx->fail on emulation_required

Showing top 20 of 26 CVEs. View all on vendor page &rarr; →

IV. Related Vulnerabilities

V. Comments for CVE-2021-47102

No comments yet


Leave a comment