soc: qcom: qmi_encdec: Restrict string length in decode (Linux Linux)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.15 % · percentile 4 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- Linux
- NVD status
- Deferred
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.
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
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | Linux |
| CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | NVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary) |
European references
- ENISA EUVD · EUVD-2023-59999
- GCVE · GCVE-0-2023-53729
CERT-FR advisories
- CERTFR-2025-AVI-1073 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2025-AVI-1047 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2025-AVI-1032 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
- CERTFR-2025-AVI-1009 — Multiples vulnérabilités dans le noyau Linux de SUSE · cert.ssi.gouv.fr
Affected products
| Product | Versions |
|---|---|
| Linux · Linux | affected 9b8a11e82615274d4133aab3cf5aa1c59191f0a2 < 6b58859e7c4ac357517a59f0801e8ce1b58a8ee2 ; affected 9b8a11e82615274d4133aab3cf5aa1c59191f0a2 < 64c5e916fabe5ef7bef0210b8a59fa8941ee1b8e ; affected 9b8a11e82615274d4133aab3cf5aa1c59191f0a2 < 2ccab9f82772ead618689d17dbc6950d6bd1e741 ; affected 9b8a11e82615274d4133aab3cf5aa1c59191f0a2 < b2f39b813d1eed4a522428d1e6acd7dfe9b81579 ; affected 9b8a11e82615274d4133aab3cf5aa1c59191f0a2 < f6250ecb7fbb934b89539e7e2ba6c1d8555c0975 ; affected 9b8a11e82615274d4133aab3cf5aa1c59191f0a2 < 22ee7c9c7f381be178b4457bc54530002e08e938 |
| Linux · Linux | affected 4.16 ; unaffected 0 < 4.16 ; unaffected 4.19.295 ≤ 4.19.* ; unaffected 5.4.257 ≤ 5.4.* ; unaffected 5.10.195 ≤ 5.10.* ; unaffected 5.15.132 ≤ 5.15.* |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |