Skip to contentSkip to conversation

CVE-2026-46049: ALSA: ctxfi: Add fallback to default RSR for S/PDIF

DISCUSSION Greg Kroah-Hartman 1 participant 1 message May 27

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

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

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

ALSA: ctxfi: Add fallback to default RSR for S/PDIF

spdif_passthru_playback_get_resources() uses atc->pll_rate as the RSR for the MSR calculation loop. However, pll_rate is only updated in atc_pll_init() and not in hw_pll_init(), so it remains 0 after the card init.

When spdif_passthru_playback_setup() skips atc_pll_init() for 32000 Hz, (rsr * desc.msr) always becomes 0, causing the loop to spin indefinitely.

Add fallback to use atc->rsr when atc->pll_rate is 0. This reflects the hardware state, since hw_card_init() already configures the PLL to the default RSR.

The Linux kernel CVE team has assigned CVE-2026-46049 to this issue.

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

	Issue introduced in 2.6.31 with commit 8cc72361481f00253f1e468ade5795427386d593 and fixed in 6.6.140 with commit 25ded535ee261161bcf19dafd525c542e606559d
	Issue introduced in 2.6.31 with commit 8cc72361481f00253f1e468ade5795427386d593 and fixed in 6.12.86 with commit 30f9494c6f2b53a78822cfb653ffbb1d092d44c8
	Issue introduced in 2.6.31 with commit 8cc72361481f00253f1e468ade5795427386d593 and fixed in 6.18.27 with commit 09496158f6ebba8830593f8972035c02f97124c1
	Issue introduced in 2.6.31 with commit 8cc72361481f00253f1e468ade5795427386d593 and fixed in 7.0.4 with commit 95b1ee8442cabbde83b2848e7c6100df90f3a00d
	Issue introduced in 2.6.31 with commit 8cc72361481f00253f1e468ade5795427386d593 and fixed in 7.1-rc1 with commit 7d61662197ecdc458e33e475b6ada7f6da61d364

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-2026-46049

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/pci/ctxfi/ctatc.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/25ded535ee261161bcf19dafd525c542e606559d
	https://git.kernel.org/stable/c/30f9494c6f2b53a78822cfb653ffbb1d092d44c8
	https://git.kernel.org/stable/c/09496158f6ebba8830593f8972035c02f97124c1
	https://git.kernel.org/stable/c/95b1ee8442cabbde83b2848e7c6100df90f3a00d
	https://git.kernel.org/stable/c/7d61662197ecdc458e33e475b6ada7f6da61d364