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

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2022-48876— wifi: mac80211: fix initialization of rx->link and rx->link_sta

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 存在安全漏洞,该漏洞源于 wifi/mac80211 组件在初始化rx-link和rx-link_sta时存在问题。

AI Predicted 5.9 Difficulty: Moderate EPSS 0.21% · P11

Possible ATT&CK Techniques 1 AI

T1059 · Command and Scripting Interpreter

Affected Version Matrix 6

VendorProduct Version RangeStatus
Linux Linux ccdde7c74ffd7e8bdd3cf685bbfa41231c8e3131< a57c981d9f24d2bd89eaa76dc477e8ca252e22e8 affected
ccdde7c74ffd7e8bdd3cf685bbfa41231c8e3131< e66b7920aa5ac5b1a1997a454004ba9246a3c005 affected
6.1 affected
< 6.1 unaffected
6.1.8≤ 6.1.* unaffected
6.2≤ * unaffected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2022-48876

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
wifi: mac80211: fix initialization of rx->link and rx->link_sta
Source: CVE Program / CVE List V5
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: wifi: mac80211: fix initialization of rx->link and rx->link_sta There are some codepaths that do not initialize rx->link_sta properly. This causes a crash in places which assume that rx->link_sta is valid if rx->sta is valid. One known instance is triggered by __ieee80211_rx_h_amsdu being called from fast-rx. It results in a crash like this one: BUG: kernel NULL pointer dereference, address: 00000000000000a8 #PF: supervisor write access in kernel mode #PF: error_code(0x0002) - not-present page PGD 0 P4D 0 Oops: 0002 [#1] PREEMPT SMP PTI CPU: 1 PID: 506 Comm: mt76-usb-rx phy Tainted: G E 6.1.0-debian64x+1.7 #3 Hardware name: ZOTAC ZBOX-ID92/ZBOX-IQ01/ZBOX-ID92/ZBOX-IQ01, BIOS B220P007 05/21/2014 RIP: 0010:ieee80211_deliver_skb+0x62/0x1f0 [mac80211] Code: 00 48 89 04 24 e8 9e a7 c3 df 89 c0 48 03 1c c5 a0 ea 39 a1 4c 01 6b 08 48 ff 03 48 83 7d 28 00 74 11 48 8b 45 30 48 63 55 44 <48> 83 84 d0 a8 00 00 00 01 41 8b 86 c0 11 00 00 8d 50 fd 83 fa 01 RSP: 0018:ffff999040803b10 EFLAGS: 00010286 RAX: 0000000000000000 RBX: ffffb9903f496480 RCX: 0000000000000000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffff999040803ce0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffff8d21828ac900 R13: 000000000000004a R14: ffff8d2198ed89c0 R15: ffff8d2198ed8000 FS: 0000000000000000(0000) GS:ffff8d24afe80000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000000000a8 CR3: 0000000429810002 CR4: 00000000001706e0 Call Trace: <TASK> __ieee80211_rx_h_amsdu+0x1b5/0x240 [mac80211] ? ieee80211_prepare_and_rx_handle+0xcdd/0x1320 [mac80211] ? __local_bh_enable_ip+0x3b/0xa0 ieee80211_prepare_and_rx_handle+0xcdd/0x1320 [mac80211] ? prepare_transfer+0x109/0x1a0 [xhci_hcd] ieee80211_rx_list+0xa80/0xda0 [mac80211] mt76_rx_complete+0x207/0x2e0 [mt76] mt76_rx_poll_complete+0x357/0x5a0 [mt76] mt76u_rx_worker+0x4f5/0x600 [mt76_usb] ? mt76_get_min_avg_rssi+0x140/0x140 [mt76] __mt76_worker_fn+0x50/0x80 [mt76] kthread+0xed/0x120 ? kthread_complete_and_exit+0x20/0x20 ret_from_fork+0x22/0x30 Since the initialization of rx->link and rx->link_sta is rather convoluted and duplicated in many places, clean it up by using a helper function to set it. [remove unnecessary rx->sta->sta.mlo check]
Source: CVE Program / CVE List V5
CVSS Information
N/A
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 存在安全漏洞,该漏洞源于 wifi/mac80211 组件在初始化rx-link和rx-link_sta时存在问题。
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 ccdde7c74ffd7e8bdd3cf685bbfa41231c8e3131 ~ a57c981d9f24d2bd89eaa76dc477e8ca252e22e8 -
Linux Linux 6.1 -

II. Public POCs for CVE-2022-48876

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

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2022-48876

登录查看更多情报信息。

Other References for CVE-2022-48876 (2)

Same Patch Batch · Linux · 2024-08-21 · 68 CVEs total

CVE-2023-52910 8.8 HIGH iommu/iova: Fix alloc iova overflows issue
CVE-2024-43881 8.8 HIGH wifi: ath12k: change DMA direction while mapping reinjected packets
CVE-2022-48871 8.8 HIGH tty: serial: qcom-geni-serial: fix slab-out-of-bounds on RX FIFO buffer
CVE-2024-43878 8.1 HIGH xfrm: Fix input error path memory access
CVE-2022-48883 7.8 HIGH net/mlx5e: IPoIB, Block PKEY interfaces with less rx queues than parent
CVE-2023-52913 7.8 HIGH drm/i915: Fix potential context UAFs
CVE-2024-43880 7.8 HIGH mlxsw: spectrum_acl_erp: Fix object nesting warning
CVE-2022-48892 7.8 HIGH sched/core: Fix use-after-free bug in dup_user_cpus_ptr()
CVE-2024-43877 7.8 HIGH media: pci: ivtv: Add check for DMA map result
CVE-2024-43882 7.8 HIGH exec: Fix ToCToU between perm check and set-uid/gid usage
CVE-2022-48899 7.8 HIGH drm/virtio: Fix GEM handle creation UAF
CVE-2022-48872 7.8 HIGH misc: fastrpc: Fix use-after-free race condition for maps
CVE-2022-48873 7.8 HIGH misc: fastrpc: Don't remove map on creater_process and device_release
CVE-2022-48874 7.8 HIGH misc: fastrpc: Fix use-after-free and race in fastrpc_map_find
CVE-2023-52903 7.8 HIGH io_uring: lock overflowing for IOPOLL
CVE-2022-48878 7.8 HIGH Bluetooth: hci_qca: Fix driver shutdown on closed serdev
CVE-2022-48887 7.8 HIGH drm/vmwgfx: Remove rcu locks from user resources
CVE-2023-52907 7.8 HIGH nfc: pn533: Wait for out_urb's completion in pn533_usb_send_frame()
CVE-2024-43872 7.5 HIGH RDMA/hns: Fix soft lockup under heavy CEQE load
CVE-2023-52909 7.5 HIGH nfsd: fix handling of cached open files in nfsd4_open codepath

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

IV. Related Vulnerabilities

V. Comments for CVE-2022-48876

No comments yet


Leave a comment