Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected cf393babb37a1679a1ec1d864df1090353465e23 before 41a766c647294842c9b17672449f8e011048cba9; affected cf393babb37a1679a1ec1d864df1090353465e23 before ce836587e594af39ff048d9b29dee0f5f10692c9; affected cf393babb37a1679a1ec1d864df1090353465e23 before feff0251386aa6bb180a0a1cf7c1f91ba868113d; affected cf393babb37a1679a1ec1d864df1090353465e23 before c9f6768515818d71bdfc20119a81f3332c53b9c6; affected cf393babb37a1679a1ec1d864df1090353465e23 before e4d3386b74fba8e01280484b67ee481ece00201e |
| Linux / Linux | affected 6.6; unaffected 0 before 6.6; unaffected 6.6.142 through 6.6.*; unaffected 6.12.92 through 6.12.*; unaffected 6.18.34 through 6.18.*; unaffected 7.0.11 through 7.0.*; unaffected 7.1 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/41a766c647294842c9b17672449f8e011048cba9
- https://git.kernel.org/stable/c/ce836587e594af39ff048d9b29dee0f5f10692c9
- https://git.kernel.org/stable/c/feff0251386aa6bb180a0a1cf7c1f91ba868113d
- https://git.kernel.org/stable/c/c9f6768515818d71bdfc20119a81f3332c53b9c6
- https://git.kernel.org/stable/c/e4d3386b74fba8e01280484b67ee481ece00201e
ADP enrichment
No English description supplied.
No references supplied.