soc: qcom: qmi_encdec: Restrict string length in decode
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 4.19.295, 5.4.257, 5.10.195, 5.15.132, 6.1.54, and 1 more
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: none
- Automatable: no
- Technical impact: total
Summary
In the Linux kernel, the following vulnerability has been resolved: soc: qcom: qmi_encdec: Restrict string length in decode The QMI TLV value for strings in a lot of qmi element info structures account for null terminated strings with MAX_LEN + 1. If a string is actually MAX_LEN + 1 length, this will cause an out of bounds access when the NULL character is appended in decoding.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: total
- Record last updated
Affected versions
- Linux Linux
From 9b8a11e82615274d4133aab3cf5aa1c59191f0a2 · fixed in 6b58859e7c4ac357517a59f0801e8ce1b58a8ee2; From 9b8a11e82615274d4133aab3cf5aa1c59191f0a2 · fixed in 64c5e916fabe5ef7bef0210b8a59fa8941ee1b8e; From 9b8a11e82615274d4133aab3cf5aa1c59191f0a2 · fixed in 2ccab9f82772ead618689d17dbc6950d6bd1e741; From 9b8a11e82615274d4133aab3cf5aa1c59191f0a2 · fixed in b2f39b813d1eed4a522428d1e6acd7dfe9b81579; From 9b8a11e82615274d4133aab3cf5aa1c59191f0a2 · fixed in f6250ecb7fbb934b89539e7e2ba6c1d8555c0975; From 9b8a11e82615274d4133aab3cf5aa1c59191f0a2 · fixed in 22ee7c9c7f381be178b4457bc54530002e08e938; From 9b8a11e82615274d4133aab3cf5aa1c59191f0a2 · fixed in 8d207400fd6b79c92aeb2f33bb79f62dff904ea2
- Linux Linux
4.16
- KernelLinux
From 4.16.0 · fixed in 4.19.295; From 4.20.0 · fixed in 5.4.257; From 5.5.0 · fixed in 5.10.195; From 5.11.0 · fixed in 5.15.132; From 5.16.0 · fixed in 6.1.54; From 6.2.0 · fixed in 6.5.4
References 7
git.kernel.org
- stable/c/6b58859e7c4ac357517a59f0801e8ce1b58a8ee2
- stable/c/64c5e916fabe5ef7bef0210b8a59fa8941ee1b8e
- stable/c/2ccab9f82772ead618689d17dbc6950d6bd1e741
- stable/c/b2f39b813d1eed4a522428d1e6acd7dfe9b81579
- stable/c/f6250ecb7fbb934b89539e7e2ba6c1d8555c0975
- stable/c/22ee7c9c7f381be178b4457bc54530002e08e938
- stable/c/8d207400fd6b79c92aeb2f33bb79f62dff904ea2