Description
In the Linux kernel, the following vulnerability has been resolved: ALSA: line6: Fix potential OOB write in line6_capture_copy() line6_capture_copy() copies the data for the original byte size, but the buffer overwrap is checked against the frame size. Because of it, when the data size isn't aligned in frames, the remaining bytes might be still copied above the buffer size. For avoiding the potential OOB write, correct the copied data size in line6_capture_copy() to be aligned with frames.
Affected products and versions
Linux Linux1027f476f507ef7ed9919cd3e3d32310f3985da1 – < 6f1216d93b10752ad20c063fb58edb985ec76582 · 1027f476f507ef7ed9919cd3e3d32310f3985da1 – < 348da9d220aef28c29c9020ca83ebd1681057d38 · 1027f476f507ef7ed9919cd3e3d32310f3985da1 – < 1e32d4def75332119648dcbcafc643549a8bf382 · 1027f476f507ef7ed9919cd3e3d32310f3985da1 – < 2656b43dd1528834cd994d8f8fac63f027ff824d · 1027f476f507ef7ed9919cd3e3d32310f3985da1 – < e0945cffff241ac40187b4bbafeff3181f20a4e9 · 1027f476f507ef7ed9919cd3e3d32310f3985da1 – < 42f7d4c17af33474d932edb02c8ef9f24c4fbde6 · 1027f476f507ef7ed9919cd3e3d32310f3985da1 – < bfd741d059e156da3334467402662f42db01aef0 · 1027f476f507ef7ed9919cd3e3d32310f3985da1 – < d69798357b5d562bcda1af488cda3ead4d039f8fFixed in: 6f1216d93b10752ad20c063fb58edb985ec76582 · 348da9d220aef28c29c9020ca83ebd1681057d38 · 1e32d4def75332119648dcbcafc643549a8bf382 · 2656b43dd1528834cd994d8f8fac63f027ff824d · e0945cffff241ac40187b4bbafeff3181f20a4e9 · 42f7d4c17af33474d932edb02c8ef9f24c4fbde6 · bfd741d059e156da3334467402662f42db01aef0 · d69798357b5d562bcda1af488cda3ead4d039f8f
Linux Linux2.6.37Fixed in: 5.10.275 · 5.15.226 · 6.1.193 · 6.6.163 · 6.12.119 · 6.18.65 · 7.3.6 · 7.4-rc1
References
- git.kernel.org/stable/c/6f1216d93b10752ad20c063fb58edb985ec76582
- git.kernel.org/stable/c/348da9d220aef28c29c9020ca83ebd1681057d38
- git.kernel.org/stable/c/1e32d4def75332119648dcbcafc643549a8bf382
- git.kernel.org/stable/c/2656b43dd1528834cd994d8f8fac63f027ff824d
- git.kernel.org/stable/c/e0945cffff241ac40187b4bbafeff3181f20a4e9
- git.kernel.org/stable/c/42f7d4c17af33474d932edb02c8ef9f24c4fbde6
- git.kernel.org/stable/c/bfd741d059e156da3334467402662f42db01aef0
- git.kernel.org/stable/c/d69798357b5d562bcda1af488cda3ead4d039f8f
Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.