Linux
ASoC: codecs: fs210x: fix possible buffer overflow
In the Linux kernel, the following vulnerability has been resolved: ASoC: codecs: fs210x: fix possible buffer overflow In fs210x_effect_scene_info(), a string was copied like this: strscpy(DST, SRC, strlen(SRC) + 1); A buffer overflow would happen if strlen(SRC) >= sizeof(DST). Actually, strscpy() must be used this way: strscpy(DST, SRC, sizeof(DST)); strscpy(DST, SRC); // defaults to sizeof(DST)
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 75611770177965ae902c87c96eace07542beff07, < 1ddf678bb75b6383c775ece61d40956c441d8a26
- >= 75611770177965ae902c87c96eace07542beff07, < 6daefdf1cd3c56483f61970a76c0ad6028e4118f
- >= 75611770177965ae902c87c96eace07542beff07, < 0d435a7ebcd4e97e47673c1ab6fb27f973a053ec
Fixed in 1ddf678bb75b6383c775ece61d40956c441d8a26, 6daefdf1cd3c56483f61970a76c0ad6028e4118f, 0d435a7ebcd4e97e47673c1ab6fb27f973a053ec
- 6.18
Fixed in 0, 6.18.34, 7.0.11, 7.1
Mitigation
Upgrade Linux to 1ddf678bb75b6383c775ece61d40956c441d8a26 or 6daefdf1cd3c56483f61970a76c0ad6028e4118f or 0d435a7ebcd4e97e47673c1ab6fb27f973a053ec or later.
Upgrade Linux to 0 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.