CVE-2022-49500
published high CVSS 3.1 · 8.8wl1251: dynamically allocate memory used for DMA
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxa1c510d0adc604bb143c86052bc5be48cbcfa17c to < da03bbfbf5acd1ab0b074617e865ad1e8a5779ef · a1c510d0adc604bb143c86052bc5be48cbcfa17c to < 454744754cbf2c21b3fc7344e46e10bee2768094 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux5.18 (affected) · 0 to < 5.18 (unaffected · semver) · 5.18.3 through 5.18.* (unaffected · semver) · 5.19 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
Description
In the Linux kernel, the following vulnerability has been resolved: wl1251: dynamically allocate memory used for DMA With introduction of vmap'ed stacks, stack parameters can no longer be used for DMA and now leads to kernel panic. It happens at several places for the wl1251 (e.g. when accessed through SDIO) making it unuseable on e.g. the OpenPandora. We solve this by allocating temporary buffers or use wl1251_read32(). Tested on v5.18-rc5 with OpenPandora.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:A - The vulnerable DMA-to-stack paths run in wl1251 IRQ work on TX-result and firmware event mailbox reads; an on-channel attacker can induce those interrupts via wireless activity (deauth/BSS loss, beacon loss, or elicited TX completions), matching Adjacent WiFi reachability used for other wl1251 CVEs. AC:L - With VMAP_STACK (default where supported), any SDIO/SPI DMA through the stack-backed buffers deterministically mis-translates via virt_to_page and corrupts host memory; an adjacent attacker can reliably force TX-result/event handling without races or attacker-uncontrollable layout conditions. PR:N - TX-complete and event-handle run in driver IRQ/worker context with no credential or capability check on the wireless trigger path; a radio-adjacent attacker needs no account or privileges on the victim. UI:N - Once the wl1251 interface is operating, firmware interrupts and completion processing run automatically; the attacker does not need the victim to mount, open a device, or otherwise interact. S:U - Corruption stays in host kernel memory managed by the same OS security authority; this is not a VM escape or intentional IOMMU/DMA isolation boundary bypass. C:H - DMA into a VMAP stack buffer uses virt_to_page on a non-linear address, so device DMA writes into the wrong physical page; that kernel memory corruption is defensibly leveraged for arbitrary disclosure under high-severity tie-break (same class as other DMA-to-stack scores). I:H - The same wrong-page DMA write (and related stack/cacheline hazards on DMA-capable SDIO/SPI) corrupts arbitrary host kernel memory and can yield write/control-flow primitives, so integrity impact is High. A:H - The fix commit documents kernel panic from this DMA-to-stack misuse on SDIO platforms (e.g. OpenPandora), and wrong-page DMA corruption can oops/panic the kernel even without full exploitation.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | a1c510d0adc604bb143c86052bc5be48cbcfa17c to < da03bbfbf5acd1ab0b074617e865ad1e8a5779ef (affected · git)a1c510d0adc604bb143c86052bc5be48cbcfa17c to < 454744754cbf2c21b3fc7344e46e10bee2768094 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 5.18 (affected)0 to < 5.18 (unaffected · semver)5.18.3 through 5.18.* (unaffected · semver)5.19 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
2Provider assertions
1Linux · cna
wl1251: dynamically allocate memory used for DMA
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 9b8b4a3c053d3ba1f75bb5724f0093f829ef9ccd2c3cb83cfa95156ae248d965
- Ingested
- 23 Sep 2026, 08:04:12 UTC
- Source record
- Official CVE record