All of lore.kernel.org
 help / color / mirror / Atom feed
* CVE-2022-49615: ASoC: rt711-sdca: fix kernel NULL pointer dereference when IO error
@ 2025-02-26  2:22 Greg Kroah-Hartman
  0 siblings, 0 replies; only message in thread
From: Greg Kroah-Hartman @ 2025-02-26  2:22 UTC (permalink / raw)
  To: linux-cve-announce; +Cc: Greg Kroah-Hartman

Description
===========

In the Linux kernel, the following vulnerability has been resolved:

ASoC: rt711-sdca: fix kernel NULL pointer dereference when IO error

The initial settings will be written before the codec probe function.
But, the rt711->component doesn't be assigned yet.
If IO error happened during initial settings operations, it will cause the kernel panic.
This patch changed component->dev to slave->dev to fix this issue.

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


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

	Fixed in 5.15.56 with commit 269be8b2907378adf72d7347cfa43ef230351a06
	Fixed in 5.18.13 with commit 7bb71133cae88d3003a3490b97864af76533072b
	Fixed in 5.19 with commit 1df793d479bef546569fc2e409ff8bb3f0fb8e99

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-49615
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:
	sound/soc/codecs/rt711-sdca.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/269be8b2907378adf72d7347cfa43ef230351a06
	https://git.kernel.org/stable/c/7bb71133cae88d3003a3490b97864af76533072b
	https://git.kernel.org/stable/c/1df793d479bef546569fc2e409ff8bb3f0fb8e99

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

only message in thread, other threads:[~2025-02-26  2:24 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:22 CVE-2022-49615: ASoC: rt711-sdca: fix kernel NULL pointer dereference when IO error 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.