All of lore.kernel.org
 help / color / mirror / Atom feed
* CVE-2022-49500: wl1251: dynamically allocate memory used for DMA
@ 2025-02-26  2:12 Greg Kroah-Hartman
  0 siblings, 0 replies; only message in thread
From: Greg Kroah-Hartman @ 2025-02-26  2:12 UTC (permalink / raw)
  To: linux-cve-announce; +Cc: Greg Kroah-Hartman

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.

The Linux kernel CVE team has assigned CVE-2022-49500 to this issue.


Affected and fixed versions
===========================

	Issue introduced in 5.18 with commit a1c510d0adc604bb143c86052bc5be48cbcfa17c and fixed in 5.18.3 with commit da03bbfbf5acd1ab0b074617e865ad1e8a5779ef
	Issue introduced in 5.18 with commit a1c510d0adc604bb143c86052bc5be48cbcfa17c and fixed in 5.19 with commit 454744754cbf2c21b3fc7344e46e10bee2768094

Please see https://www.kernel.org for a full list of currently supported
kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to
older supported kernel versions.  The official CVE entry at
	https://cve.org/CVERecord/?id=CVE-2022-49500
will be updated if fixes are backported, please check that for the most
up to date information about this issue.


Affected files
==============

The file(s) affected by this issue are:
	drivers/net/wireless/ti/wl1251/event.c
	drivers/net/wireless/ti/wl1251/io.c
	drivers/net/wireless/ti/wl1251/tx.c


Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest
stable kernel version for this, and many other bugfixes.  Individual
changes are never tested alone, but rather are part of a larger kernel
release.  Cherry-picking individual commits is not recommended or
supported by the Linux kernel community at all.  If however, updating to
the latest release is impossible, the individual changes to resolve this
issue can be found at these commits:
	https://git.kernel.org/stable/c/da03bbfbf5acd1ab0b074617e865ad1e8a5779ef
	https://git.kernel.org/stable/c/454744754cbf2c21b3fc7344e46e10bee2768094

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2025-02-26  2:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-26  2:12 CVE-2022-49500: wl1251: dynamically allocate memory used for DMA Greg Kroah-Hartman

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.