CVE-2022-48875
Vulnerability Summary
Timeline
Description
In the Linux kernel, the following vulnerability has been resolved: wifi: mac80211: sdata can be NULL during AMPDU start ieee80211_tx_ba_session_handle_start() may get NULL for sdata when a deauthentication is ongoing. Here a trace triggering the race with the hostapd test multi_ap_fronthaul_on_ap: (gdb) list *drv_ampdu_action+0x46 0x8b16 is in drv_ampdu_action (net/mac80211/driver-ops.c:396). 391 int ret = -EOPNOTSUPP; 392 393 might_sleep(); 394 395 sdata = get_bss_sdata(sdata); 396 if (!check_sdata_in_driver(sdata)) 397 return -EIO; 398 399 trace_drv_ampdu_action(local, sdata, params); 400 wlan0: moving STA 02:00:00:00:03:00 to state 3 wlan0: associated wlan0: deauthenticating from 02:00:00:00:03:00 by local choice (Reason: 3=DEAUTH_LEAVING) wlan3.sta1: Open BA session requested for 02:00:00:00:00:00 tid 0 wlan3.sta1: dropped frame to 02:00:00:00:00:00 (unauthorized port) wlan0: moving STA 02:00:00:00:03:00 to state 2 wlan0: moving STA 02:00:00:00:03:00 to state 1 wlan0: Removed STA 02:00:00:00:03:00 wlan0: Destroyed STA 02:00:00:00:03:00 BUG: unable to handle page fault for address: fffffffffffffb48 PGD 11814067 P4D 11814067 PUD 11816067 PMD 0 Oops: 0000 [#1] PREEMPT SMP PTI CPU: 2 PID: 133397 Comm: kworker/u16:1 Tainted: G W 6.1.0-rc8-wt+ #59 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.0-20220807_005459-localhost 04/01/2014 Workqueue: phy3 ieee80211_ba_session_work [mac80211] RIP: 0010:drv_ampdu_action+0x46/0x280 [mac80211] Code: 53 48 89 f3 be 89 01 00 00 e8 d6 43 bf ef e8 21 46 81 f0 83 bb a0 1b 00 00 04 75 0e 48 8b 9b 28 0d 00 00 48 81 eb 10 0e 00 00 <8b> 93 58 09 00 00 f6 c2 20 0f 84 3b 01 00 00 8b 05 dd 1c 0f 00 85 RSP: 0018:ffffc900025ebd20 EFLAGS: 00010287 RAX: 0000000000000000 RBX: fffffffffffff1f0 RCX: ffff888102228240 RDX: 0000000080000000 RSI: ffffffff918c5de0 RDI: ffff888102228b40 RBP: ffffc900025ebd40 R08: 0000000000000001 R09: 0000000000000001 R10: 0000000000000001 R11: 0000000000000000 R12: ffff888118c18ec0 R13: 0000000000000000 R14: ffffc900025ebd60 R15: ffff888018b7efb8 FS: 0000000000000000(0000) GS:ffff88817a600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: fffffffffffffb48 CR3: 0000000105228006 CR4: 0000000000170ee0 Call Trace: <TASK> ieee80211_tx_ba_session_handle_start+0xd0/0x190 [mac80211] ieee80211_ba_session_work+0xff/0x2e0 [mac80211] process_one_work+0x29f/0x620 worker_thread+0x4d/0x3d0 ? process_one_work+0x620/0x620 kthread+0xfb/0x120 ? kthread_complete_and_exit+0x20/0x20 ret_from_fork+0x22/0x30 </TASK>
CVSS Metrics
- v3.1•MEDIUM•Score: 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS Trends
Current EPSS score: 0.24%• Percentile: 16%
Techniques & Countermeasures
- CWE-476•NULL Pointer Dereference
The product dereferences a pointer that it expects to be valid but is NULL.
Affected Systems
- debian•linux
< 5.10.178-1 | < 6.1.8-1 | < 6.1.8-1 | < 6.1.8-1
- ubuntu•linux
all | < 4.4.0-278.312 | < 4.15.0-247.259 | < 5.4.0-227.247 | < 5.15.0-70.77
- ubuntu•linux-allwinner-5.19
all
- ubuntu•linux-aws
< 4.4.0-1152.158 | < 4.4.0-1190.205 | < 4.15.0-1189.202 | < 5.4.0-1156.166 | < 5.15.0-1034.38
- ubuntu•linux-aws-5.0
all
- ubuntu•linux-aws-5.11
all
- ubuntu•linux-aws-5.13
all
- ubuntu•linux-aws-5.15
< 5.15.0-1034.38~20.04.1
- ubuntu•linux-aws-5.19
all
- ubuntu•linux-aws-5.3
all
- ubuntu•linux-aws-5.4
< 5.4.0-1156.166~18.04.1
- ubuntu•linux-aws-5.8
all
- ubuntu•linux-aws-6.2
all
- ubuntu•linux-aws-6.5
all
- ubuntu•linux-aws-fips
< 4.15.0-2127.133 | all | < 5.4.0-1155.165+fips1
- ubuntu•linux-aws-hwe
< 4.15.0-1189.202~16.04.1
- ubuntu•linux-azure
< 4.15.0-1197.212~14.04.1 | < 4.15.0-1197.212~16.04.1 | all | < 5.4.0-1160.166 | < 5.15.0-1036.43
- ubuntu•linux-azure-4.15
< 4.15.0-1197.212
- ubuntu•linux-azure-5.11
all
- ubuntu•linux-azure-5.13
all
- ubuntu•linux-azure-5.15
< 5.15.0-1036.43~20.04.1
- ubuntu•linux-azure-5.19
all
- ubuntu•linux-azure-5.3
all
- ubuntu•linux-azure-5.4
< 5.4.0-1161.167~18.04.1
- ubuntu•linux-azure-5.8
all
- ubuntu•linux-azure-6.2
all
- ubuntu•linux-azure-6.5
all
- ubuntu•linux-azure-edge
all
- ubuntu•linux-azure-fde
all | < 5.15.0-1036.43.1
- ubuntu•linux-azure-fde-5.19
all
- ubuntu•linux-azure-fde-6.2
all
- ubuntu•linux-azure-fips
< 4.15.0-2106.112 | all | < 5.4.0-1160.166+fips1
- ubuntu•linux-bluefield
all | < 5.4.0-1116.123 | < 5.15.0-1015.17
- ubuntu•linux-fips
< 4.4.0-1122.129 | all | < 4.15.0-1144.156 | < 5.4.0-1130.140
- ubuntu•linux-gcp
< 4.15.0-1182.199~16.04.1 | all | < 5.4.0-1159.168 | < 5.15.0-1032.40
- ubuntu•linux-gcp-4.15
< 4.15.0-1182.199
- ubuntu•linux-gcp-5.11
all
- ubuntu•linux-gcp-5.13
all
- ubuntu•linux-gcp-5.15
< 5.15.0-1032.40~20.04.1
- ubuntu•linux-gcp-5.19
all
- ubuntu•linux-gcp-5.3
all
- ubuntu•linux-gcp-5.4
< 5.4.0-1159.168~18.04.1
- ubuntu•linux-gcp-5.8
all
- ubuntu•linux-gcp-6.2
all
- ubuntu•linux-gcp-6.5
all
- ubuntu•linux-gcp-fips
< 4.15.0-2090.96 | all | < 5.4.0-1159.168+fips1
- ubuntu•linux-gke
all | < 5.15.0-1031.36
- ubuntu•linux-gke-4.15
all
- ubuntu•linux-gke-5.15
all
- ubuntu•linux-gke-5.4
all
Showing first 50 affected entries in server-rendered view.
References (29)
- https://git.kernel.org/stable/c/187523fa7c2d4c780f775cb869216865c4a909ef
- https://git.kernel.org/stable/c/a12fd43bd175fa52c82f9740179d38c34ca1b62e
- https://git.kernel.org/stable/c/c838df8461a601b20dc1b9fb1834d2aad8e2f949
- https://git.kernel.org/stable/c/69403bad97aa0162e3d7911b27e25abe774093df
- https://ubuntu.com/security/CVE-2022-48875
- https://www.cve.org/CVERecord?id=CVE-2022-48875
- https://git.kernel.org/linus/69403bad97aa0162e3d7911b27e25abe774093df
- https://ubuntu.com/security/notices/USN-8070-1
- https://ubuntu.com/security/notices/USN-8070-2
- https://ubuntu.com/security/notices/USN-8070-3
- https://ubuntu.com/security/notices/USN-8098-1
- https://ubuntu.com/security/notices/USN-8098-2
- https://ubuntu.com/security/notices/USN-8098-3
- https://ubuntu.com/security/notices/USN-8107-1
- https://ubuntu.com/security/notices/USN-8112-1
- https://ubuntu.com/security/notices/USN-8112-2
- https://ubuntu.com/security/notices/USN-8098-4
- https://ubuntu.com/security/notices/USN-8112-3
- https://ubuntu.com/security/notices/USN-8112-4
- https://ubuntu.com/security/notices/USN-8112-5
- https://ubuntu.com/security/notices/USN-8098-5
- https://ubuntu.com/security/notices/USN-8098-6
- https://ubuntu.com/security/notices/USN-8098-7
- https://ubuntu.com/security/notices/USN-8098-8
- https://ubuntu.com/security/notices/USN-8098-9
- https://ubuntu.com/security/notices/USN-8098-10
- https://ubuntu.com/security/notices/USN-8201-1
- https://ubuntu.com/security/notices/USN-8224-1
- https://security-tracker.debian.org/tracker/CVE-2022-48875