[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025022614-CVE-2022-49615-e815@gregkh>
Date: Wed, 26 Feb 2025 03:22:58 +0100
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Subject: CVE-2022-49615: ASoC: rt711-sdca: fix kernel NULL pointer dereference when IO error
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
Powered by blists - more mailing lists