In the Linux kernel, the following vulnerability has been resolved:
ASoC: max9759: fix underflow in speaker_gain_control_put()
Check for negative values of “priv->gain” to prevent an out of bounds
access. The concern is that these might come from the user via:
-> snd_ctl_elem_write_user()
-> snd_ctl_elem_write()
-> kctl->put()
[
{
"product": "Linux",
"vendor": "Linux",
"defaultStatus": "unaffected",
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"programFiles": [
"sound/soc/codecs/max9759.c"
],
"versions": [
{
"version": "fa8d915172b8",
"lessThan": "a0f49d12547d",
"status": "affected",
"versionType": "git"
},
{
"version": "fa8d915172b8",
"lessThan": "71e60c170105",
"status": "affected",
"versionType": "git"
},
{
"version": "fa8d915172b8",
"lessThan": "5a45448ac95b",
"status": "affected",
"versionType": "git"
},
{
"version": "fa8d915172b8",
"lessThan": "baead410e5db",
"status": "affected",
"versionType": "git"
},
{
"version": "fa8d915172b8",
"lessThan": "f114fd6165df",
"status": "affected",
"versionType": "git"
},
{
"version": "fa8d915172b8",
"lessThan": "4c907bcd9dcd",
"status": "affected",
"versionType": "git"
}
]
},
{
"product": "Linux",
"vendor": "Linux",
"defaultStatus": "affected",
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"programFiles": [
"sound/soc/codecs/max9759.c"
],
"versions": [
{
"version": "4.17",
"status": "affected"
},
{
"version": "0",
"lessThan": "4.17",
"status": "unaffected",
"versionType": "custom"
},
{
"version": "4.19.228",
"lessThanOrEqual": "4.19.*",
"status": "unaffected",
"versionType": "custom"
},
{
"version": "5.4.178",
"lessThanOrEqual": "5.4.*",
"status": "unaffected",
"versionType": "custom"
},
{
"version": "5.10.99",
"lessThanOrEqual": "5.10.*",
"status": "unaffected",
"versionType": "custom"
},
{
"version": "5.15.22",
"lessThanOrEqual": "5.15.*",
"status": "unaffected",
"versionType": "custom"
},
{
"version": "5.16.8",
"lessThanOrEqual": "5.16.*",
"status": "unaffected",
"versionType": "custom"
},
{
"version": "5.17",
"lessThanOrEqual": "*",
"status": "unaffected",
"versionType": "original_commit_for_fix"
}
]
}
]
git.kernel.org/stable/c/4c907bcd9dcd233da6707059d777ab389dcbd964
git.kernel.org/stable/c/5a45448ac95b715173edb1cd090ff24b6586d921
git.kernel.org/stable/c/71e60c170105d153e34d01766c1e4db26a4b24cc
git.kernel.org/stable/c/a0f49d12547d45ea8b0f356a96632dd503941c1e
git.kernel.org/stable/c/baead410e5db49e962a67fffc17ac30e44b50b7c
git.kernel.org/stable/c/f114fd6165dfb52520755cc4d1c1dfbd447b88b6