{"id":"CVE-2022-48717","state":"PUBLISHED","title":"ASoC: max9759: fix underflow in speaker_gain_control_put()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nASoC: max9759: fix underflow in speaker_gain_control_put()\n\nCheck for negative values of \"priv->gain\" to prevent an out of bounds\naccess.  The concern is that these might come from the user via:\n  -> snd_ctl_elem_write_user()\n    -> snd_ctl_elem_write()\n      -> kctl->put()","publishedAt":"2024-06-20T11:13:09.959Z","updatedAt":"2026-08-05T08:51:54.801Z","severity":{"score":7.1,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","source":"Linux"},"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"fa8d915172b8c10ec0734c4021e99e9705023b07","status":"affected","lessThan":"a0f49d12547d45ea8b0f356a96632dd503941c1e","versionType":"git"},{"version":"fa8d915172b8c10ec0734c4021e99e9705023b07","status":"affected","lessThan":"71e60c170105d153e34d01766c1e4db26a4b24cc","versionType":"git"},{"version":"fa8d915172b8c10ec0734c4021e99e9705023b07","status":"affected","lessThan":"5a45448ac95b715173edb1cd090ff24b6586d921","versionType":"git"},{"version":"fa8d915172b8c10ec0734c4021e99e9705023b07","status":"affected","lessThan":"baead410e5db49e962a67fffc17ac30e44b50b7c","versionType":"git"},{"version":"fa8d915172b8c10ec0734c4021e99e9705023b07","status":"affected","lessThan":"f114fd6165dfb52520755cc4d1c1dfbd447b88b6","versionType":"git"},{"version":"fa8d915172b8c10ec0734c4021e99e9705023b07","status":"affected","lessThan":"4c907bcd9dcd233da6707059d777ab389dcbd964","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["sound/soc/codecs/max9759.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.17","status":"affected"},{"version":"0","status":"unaffected","lessThan":"4.17","versionType":"semver"},{"version":"4.19.228","status":"unaffected","lessThanOrEqual":"4.19.*","versionType":"semver"},{"version":"5.4.178","status":"unaffected","lessThanOrEqual":"5.4.*","versionType":"semver"},{"version":"5.10.99","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.22","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"5.16.8","status":"unaffected","lessThanOrEqual":"5.16.*","versionType":"semver"},{"version":"5.17","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["sound/soc/codecs/max9759.c"]}],"references":["https://git.kernel.org/stable/c/a0f49d12547d45ea8b0f356a96632dd503941c1e","https://git.kernel.org/stable/c/71e60c170105d153e34d01766c1e4db26a4b24cc","https://git.kernel.org/stable/c/5a45448ac95b715173edb1cd090ff24b6586d921","https://git.kernel.org/stable/c/baead410e5db49e962a67fffc17ac30e44b50b7c","https://git.kernel.org/stable/c/f114fd6165dfb52520755cc4d1c1dfbd447b88b6","https://git.kernel.org/stable/c/4c907bcd9dcd233da6707059d777ab389dcbd964"],"weaknesses":[],"ingestedAt":"2026-10-29T20:05:26.763Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2022/48xxx/CVE-2022-48717.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2022-48717","state":"PUBLISHED","datePublished":"2024-06-20T11:13:09.959Z","dateUpdated":"2026-08-05T08:51:54.801Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2024-06-20T11:09:39.050Z"},"containers":{"cna":{"title":"ASoC: max9759: fix underflow in speaker_gain_control_put()","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nASoC: max9759: fix underflow in speaker_gain_control_put()\n\nCheck for negative values of \"priv->gain\" to prevent an out of bounds\naccess.  The concern is that these might come from the user via:\n  -> snd_ctl_elem_write_user()\n    -> snd_ctl_elem_write()\n      -> kctl->put()"}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"fa8d915172b8c10ec0734c4021e99e9705023b07","status":"affected","lessThan":"a0f49d12547d45ea8b0f356a96632dd503941c1e","versionType":"git"},{"version":"fa8d915172b8c10ec0734c4021e99e9705023b07","status":"affected","lessThan":"71e60c170105d153e34d01766c1e4db26a4b24cc","versionType":"git"},{"version":"fa8d915172b8c10ec0734c4021e99e9705023b07","status":"affected","lessThan":"5a45448ac95b715173edb1cd090ff24b6586d921","versionType":"git"},{"version":"fa8d915172b8c10ec0734c4021e99e9705023b07","status":"affected","lessThan":"baead410e5db49e962a67fffc17ac30e44b50b7c","versionType":"git"},{"version":"fa8d915172b8c10ec0734c4021e99e9705023b07","status":"affected","lessThan":"f114fd6165dfb52520755cc4d1c1dfbd447b88b6","versionType":"git"},{"version":"fa8d915172b8c10ec0734c4021e99e9705023b07","status":"affected","lessThan":"4c907bcd9dcd233da6707059d777ab389dcbd964","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["sound/soc/codecs/max9759.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.17","status":"affected"},{"version":"0","status":"unaffected","lessThan":"4.17","versionType":"semver"},{"version":"4.19.228","status":"unaffected","lessThanOrEqual":"4.19.*","versionType":"semver"},{"version":"5.4.178","status":"unaffected","lessThanOrEqual":"5.4.*","versionType":"semver"},{"version":"5.10.99","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.22","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"5.16.8","status":"unaffected","lessThanOrEqual":"5.16.*","versionType":"semver"},{"version":"5.17","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["sound/soc/codecs/max9759.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/a0f49d12547d45ea8b0f356a96632dd503941c1e"},{"url":"https://git.kernel.org/stable/c/71e60c170105d153e34d01766c1e4db26a4b24cc"},{"url":"https://git.kernel.org/stable/c/5a45448ac95b715173edb1cd090ff24b6586d921"},{"url":"https://git.kernel.org/stable/c/baead410e5db49e962a67fffc17ac30e44b50b7c"},{"url":"https://git.kernel.org/stable/c/f114fd6165dfb52520755cc4d1c1dfbd447b88b6"},{"url":"https://git.kernel.org/stable/c/4c907bcd9dcd233da6707059d777ab389dcbd964"}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H","baseScore":7.1,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"AV:L - The bug is reached only via local ALSA mixer ioctls on /dev/snd/controlC* (SNDRV_CTL_IOCTL_ELEM_WRITE → snd_ctl_elem_write → speaker_gain_control_put); it is not reachable from network packets or adjacent-link protocols.\nAC:L - An attacker who can open the control device can reliably pass a negative gain value and force an out-of-bounds table index; no race or attacker-uncontrollable condition is required beyond the MAX9759 device being present.\nPR:L - ALSA control nodes are usable by ordinary unprivileged users with audio-group or session ACL access (typical on desktops, SBCs, and embedded media devices), and the put path has no CAP_* checks requiring real root.\nUI:N - The attacker opens the sound control device and issues SNDRV_CTL_IOCTL_ELEM_WRITE themselves; no separate victim action is required.\nS:U - Impact is confined to the local kernel (OOB read / possible oops); this is not a VM escape, IOMMU bypass, or other security-authority boundary cross.\nC:H - A negative user value truncates to an attacker-chosen unsigned index into speaker_gain_table, yielding an unbounded out-of-bounds read of adjacent kernel memory; guidance treats such OOB reads as High confidentiality impact.\nI:N - The bug is a read-only out-of-bounds access of bool table entries used solely as GPIO arguments; there is no OOB write, UAF, or control-flow hijack primitive.\nA:H - Indexing far past the 4-entry static table (e.g. with -1 → UINT_MAX) faults on unmapped memory and oops/panics the kernel, fully denying availability."}]}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-08-05T08:51:54.801Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.17","versionEndExcluding":"4.19.228"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.17","versionEndExcluding":"5.4.178"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.17","versionEndExcluding":"5.10.99"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.17","versionEndExcluding":"5.15.22"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.17","versionEndExcluding":"5.16.8"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.17","versionEndExcluding":"5.17"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://git.kernel.org/stable/c/a0f49d12547d45ea8b0f356a96632dd503941c1e","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/71e60c170105d153e34d01766c1e4db26a4b24cc","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/5a45448ac95b715173edb1cd090ff24b6586d921","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/baead410e5db49e962a67fffc17ac30e44b50b7c","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/f114fd6165dfb52520755cc4d1c1dfbd447b88b6","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/4c907bcd9dcd233da6707059d777ab389dcbd964","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T15:17:55.849Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2022-48717","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"version":"2.0.3","timestamp":"2024-09-10T17:11:22.587612Z"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-09-11T17:34:49.845Z"}}]}}}