# CVE-2022-48876: wifi: mac80211: fix initialization of rx-\>link and rx-\>link\_sta

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.27% (percentile 12, 2026-11-26)
- **CWE:** CWE-476
- **Published:** 2024-08-21T06:10:07.310Z
- **Modified:** 2026-06-17T05:16:29.053Z

## Who should check

- Anyone running Linux \>= ccdde7c74ffd7e8bdd3cf685bbfa41231c8e3131, \< a57c981d9f24d2bd89eaa76dc477e8ca252e22e8; \>= ccdde7c74ffd7e8bdd3cf685bbfa41231c8e3131, \< e66b7920aa5ac5b1a1997a454004ba9246a3c005
- Anyone running Linux 6.1

## 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\]

## Affected and fixed versions

- Linux: \>= ccdde7c74ffd7e8bdd3cf685bbfa41231c8e3131, \< a57c981d9f24d2bd89eaa76dc477e8ca252e22e8; \>= ccdde7c74ffd7e8bdd3cf685bbfa41231c8e3131, \< e66b7920aa5ac5b1a1997a454004ba9246a3c005 (cvelist)
- Linux: 6.1 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2022-48876. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-48876.md
Affected: Linux >= ccdde7c74ffd7e8bdd3cf685bbfa41231c8e3131, < a57c981d9f24d2bd89eaa76dc477e8ca252e22e8; >= ccdde7c74ffd7e8bdd3cf685bbfa41231c8e3131, < e66b7920aa5ac5b1a1997a454004ba9246a3c005; Linux 6.1
Fixed in: no fixed version listed yet

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2022-48876 being exploited?

There is no confirmed exploitation: CVE-2022-48876 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.27% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2022-48876?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2022-48876?

Linux \>= ccdde7c74ffd7e8bdd3cf685bbfa41231c8e3131, \< a57c981d9f24d2bd89eaa76dc477e8ca252e22e8; \>= ccdde7c74ffd7e8bdd3cf685bbfa41231c8e3131, \< e66b7920aa5ac5b1a1997a454004ba9246a3c005; Linux 6.1.

### Is there a fix for CVE-2022-48876?

No fixed version is listed in the sources yet. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2022-48876?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/a57c981d9f24d2bd89eaa76dc477e8ca252e22e8>
- patch: <https://git.kernel.org/stable/c/e66b7920aa5ac5b1a1997a454004ba9246a3c005>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2022-48876>

HTML: <https://flawdb.com/CVE-2022-48876> · JSON: <https://flawdb.com/api/v1/entries/CVE-2022-48876>
