Description
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.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
9b8a11e82615274d4133aab3cf5aa1c59191f0a2 to < 6b58859e7c4ac357517a59f0801e8ce1b58a8ee2affected9b8a11e82615274d4133aab3cf5aa1c59191f0a2 to < 64c5e916fabe5ef7bef0210b8a59fa8941ee1b8eaffected9b8a11e82615274d4133aab3cf5aa1c59191f0a2 to < 2ccab9f82772ead618689d17dbc6950d6bd1e741affected9b8a11e82615274d4133aab3cf5aa1c59191f0a2 to < b2f39b813d1eed4a522428d1e6acd7dfe9b81579affected9b8a11e82615274d4133aab3cf5aa1c59191f0a2 to < f6250ecb7fbb934b89539e7e2ba6c1d8555c0975affected9b8a11e82615274d4133aab3cf5aa1c59191f0a2 to < 22ee7c9c7f381be178b4457bc54530002e08e938affected9b8a11e82615274d4133aab3cf5aa1c59191f0a2 to < 8d207400fd6b79c92aeb2f33bb79f62dff904ea2affected
Linux Linux
Default version status: affected
4.16affected0 to < 4.16unaffected4.19.295 to ≤ 4.19.*unaffected5.4.257 to ≤ 5.4.*unaffected5.10.195 to ≤ 5.10.*unaffected5.15.132 to ≤ 5.15.*unaffected6.1.54 to ≤ 6.1.*unaffected6.5.4 to ≤ 6.5.*unaffected6.6 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/6b58859e7c4ac357517a59f0801e8ce1b58a8ee2 ↗
- https://git.kernel.org/stable/c/64c5e916fabe5ef7bef0210b8a59fa8941ee1b8e ↗
- https://git.kernel.org/stable/c/2ccab9f82772ead618689d17dbc6950d6bd1e741 ↗
- https://git.kernel.org/stable/c/b2f39b813d1eed4a522428d1e6acd7dfe9b81579 ↗
- https://git.kernel.org/stable/c/f6250ecb7fbb934b89539e7e2ba6c1d8555c0975 ↗
- https://git.kernel.org/stable/c/22ee7c9c7f381be178b4457bc54530002e08e938 ↗
- https://git.kernel.org/stable/c/8d207400fd6b79c92aeb2f33bb79f62dff904ea2 ↗