ALSA: ctxfi: Add fallback to default RSR for S/PDIF
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 5.10.258, Kernel 5.15.209, Kernel 6.1.175 and 12 more.
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.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=2.6.31 <5.10.258, >=5.11 <5.15.209, >=5.16 <6.1.175, >=6.13 <6.18.27, >=6.19 <7.0.4, >=6.2 <6.6.140, >=6.7 <6.12.86, >=8cc72361481f00253f1e468ade5795427386d593 <25ded535ee261161bcf19dafd525c542e606559d, >=8cc72361481f00253f1e468ade5795427386d593 <30f9494c6f2b53a78822cfb653ffbb1d092d44c8, >=8cc72361481f00253f1e468ade5795427386d593 <615b7a5e5d8be68d52f262579906f7e015ba4606, >=8cc72361481f00253f1e468ade5795427386d593 <7d61662197ecdc458e33e475b6ada7f6da61d364, >=8cc72361481f00253f1e468ade5795427386d593 <95b1ee8442cabbde83b2848e7c6100df90f3a00d, >=8cc72361481f00253f1e468ade5795427386d593 <d0b53842211f73a10ea174100a213f7fa14b9f33, >=8cc72361481f00253f1e468ade5795427386d593 <dfc00979ff00d9dfdfa1df32144a272ee2728102, =2.6.31, >=8cc72361481f00253f1e468ade5795427386d593 <09496158f6ebba8830593f8972035c02f97124c1 | 5.10.258, 5.15.209, 6.1.175, 6.18.27, 7.0.4, 6.6.140, 6.12.86, 25ded535ee261161bcf19dafd525c542e606559d, 30f9494c6f2b53a78822cfb653ffbb1d092d44c8, 615b7a5e5d8be68d52f262579906f7e015ba4606, 7d61662197ecdc458e33e475b6ada7f6da61d364, 95b1ee8442cabbde83b2848e7c6100df90f3a00d, d0b53842211f73a10ea174100a213f7fa14b9f33, dfc00979ff00d9dfdfa1df32144a272ee2728102, 09496158f6ebba8830593f8972035c02f97124c1 |
| linux-kernel: Kernel | >=2.6.31 <5.10.258, >=5.11.0 <5.15.209, >=5.16.0 <6.1.175, >=6.13.0 <6.18.27, >=6.19.0 <7.0.4, >=6.2.0 <6.6.140, >=6.7.0 <6.12.86 | 5.10.258, 5.15.209, 6.1.175, 6.18.27, 7.0.4, 6.6.140, 6.12.86 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket