Linux
ALSA: pcm: Don't setup bogus iov_iter for silencing
In the Linux kernel, the following vulnerability has been resolved: ALSA: pcm: Don't setup bogus iov_iter for silencing At transition to the iov_iter for PCM data transfer, we blindly applied the iov_iter setup also for silencing (i.e. data = NULL), and it leads to a calculation of bogus iov_iter. Fortunately this didn't cause troubles on most of architectures but it goes wrong on RISC-V now, causing a NULL dereference. Handle the NULL data case to treat the silencing in interleaved_copy() for addressing the bug above. noninterleaved_copy() has already the NULL data handling, so it doesn't need changes.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= cf393babb37a1679a1ec1d864df1090353465e23, < 41a766c647294842c9b17672449f8e011048cba9
- >= cf393babb37a1679a1ec1d864df1090353465e23, < ce836587e594af39ff048d9b29dee0f5f10692c9
- >= cf393babb37a1679a1ec1d864df1090353465e23, < feff0251386aa6bb180a0a1cf7c1f91ba868113d
- >= cf393babb37a1679a1ec1d864df1090353465e23, < c9f6768515818d71bdfc20119a81f3332c53b9c6
- >= cf393babb37a1679a1ec1d864df1090353465e23, < e4d3386b74fba8e01280484b67ee481ece00201e
Fixed in 41a766c647294842c9b17672449f8e011048cba9, ce836587e594af39ff048d9b29dee0f5f10692c9, feff0251386aa6bb180a0a1cf7c1f91ba868113d, c9f6768515818d71bdfc20119a81f3332c53b9c6, e4d3386b74fba8e01280484b67ee481ece00201e
- 6.6
Fixed in 0, 6.6.142, 6.12.92, 6.18.34, 7.0.11, 7.1
Mitigation
Upgrade Linux to 41a766c647294842c9b17672449f8e011048cba9 or ce836587e594af39ff048d9b29dee0f5f10692c9 or feff0251386aa6bb180a0a1cf7c1f91ba868113d or c9f6768515818d71bdfc20119a81f3332c53b9c6 or e4d3386b74fba8e01280484b67ee481ece00201e or later.
Upgrade Linux to 0 or 6.6.142 or 6.12.92 or 6.18.34 or 7.0.11 or 7.1 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.