Skip to content
Heist/ feed
Back to feed
HighFix available

soc: qcom: qmi_encdec: Restrict string length in decode

Type: advisorySources: OSV

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.

Products
Kernel
Affected versions
Not specified
Fixed versions
4.19.295, 5.10.195, 5.15.132, 5.4.257, 6.1.54, 6.5.4
CVEs
CVE-2023-53729
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 11:45 UTC · Revision 1

Source evidence

soc: qcom: qmi_encdec: Restrict string length in decode

core-osv · Original source

Published 22 Oct 2025, 13:23 UTC

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.

osv:CVE-2023-53729

Kernel

Fixed versions: 4.19.295, 5.4.257, 5.10.195, 5.15.132, 6.1.54, 6.5.4

Complete source record
{
  "id": "c97bd601a61daac9febab443679b4dbe220b17a3565a8b3f945f8aebc3efa39e",
  "url": "https://osv.dev/vulnerability/CVE-2023-53729",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "soc: qcom: qmi_encdec: Restrict string length in decode",
    "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.",
    "evidence": "osv:CVE-2023-53729",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "4.19.295",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.4.257",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.10.195",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "5.15.132",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.1.54",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.5.4",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "CVE-2023-53729",
      "aliases": [
        "CVE-2023-53729"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "9b8a11e82615274d4133aab3cf5aa1c59191f0a2"
                },
                {
                  "fixed": "6b58859e7c4ac357517a59f0801e8ce1b58a8ee2"
                },
                {
                  "fixed": "64c5e916fabe5ef7bef0210b8a59fa8941ee1b8e"
                },
                {
                  "fixed": "2ccab9f82772ead618689d17dbc6950d6bd1e741"
                },
                {
                  "fixed": "b2f39b813d1eed4a522428d1e6acd7dfe9b81579"
                },
                {
                  "fixed": "f6250ecb7fbb934b89539e7e2ba6c1d8555c0975"
                },
                {
                  "fixed": "22ee7c9c7f381be178b4457bc54530002e08e938"
                },
                {
                  "fixed": "8d207400fd6b79c92aeb2f33bb79f62dff904ea2"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-53729.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "4.16.0"
                },
                {
                  "fixed": "4.19.295"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "4.20.0"
                },
                {
                  "fixed": "5.4.257"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.5.0"
                },
                {
                  "fixed": "5.10.195"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.11.0"
                },
                {
                  "fixed": "5.15.132"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.16.0"
                },
                {
                  "fixed": "6.1.54"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.2.0"
                },
                {
                  "fixed": "6.5.4"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-53729.json"
          }
        }
      ],
      "modified": "2026-10-30T02:30:27.650721810Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/22ee7c9c7f381be178b4457bc54530002e08e938",
        "https://git.kernel.org/stable/c/2ccab9f82772ead618689d17dbc6950d6bd1e741",
        "https://git.kernel.org/stable/c/64c5e916fabe5ef7bef0210b8a59fa8941ee1b8e",
        "https://git.kernel.org/stable/c/6b58859e7c4ac357517a59f0801e8ce1b58a8ee2",
        "https://git.kernel.org/stable/c/8d207400fd6b79c92aeb2f33bb79f62dff904ea2",
        "https://git.kernel.org/stable/c/b2f39b813d1eed4a522428d1e6acd7dfe9b81579",
        "https://git.kernel.org/stable/c/f6250ecb7fbb934b89539e7e2ba6c1d8555c0975",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53729.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2023-53729",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53729.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2023-53729",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 502156,
  "published_at": "2025-10-22T13:23:57.739+00:00"
}