{
  "schemaVersion": 1,
  "attribution": [
    {
      "source": "CISA Known Exploited Vulnerabilities",
      "url": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog",
      "licence": "US government work"
    },
    {
      "source": "GitHub Advisory Database",
      "url": "https://github.com/advisories",
      "licence": "CC BY 4.0"
    },
    {
      "source": "Have I Been Pwned",
      "url": "https://haveibeenpwned.com/",
      "licence": "CC BY 4.0"
    },
    {
      "source": "CVE Program (CVE records)",
      "url": "https://www.cve.org/Legal/TermsOfUse",
      "licence": "CVE Terms of Use",
      "notice": "Copyright © 1999-2026, The MITRE Corporation. CVE is a trademark and the CVE logo is a registered trademark of The MITRE Corporation.",
      "terms": "CVE Usage: MITRE hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute Common Vulnerabilities and Exposures (CVE™). Any copy you make for such purposes is authorized provided that you reproduce MITRE's copyright designation and this license in any such copy."
    },
    {
      "source": "FIRST EPSS",
      "url": "https://www.first.org/epss/",
      "licence": "free to use; FIRST requests attribution"
    }
  ],
  "record": {
    "id": "CVE-2024-58007",
    "sourceURL": "https://www.cve.org/CVERecord?id=CVE-2024-58007",
    "idYear": 2024,
    "status": "PUBLISHED",
    "publishedAt": "2025-02-27T02:12:03.593Z",
    "updatedAt": "2026-05-11T21:01:59.707Z",
    "importedAt": "2026-10-24T01:57:20.494Z",
    "snapshot": {
      "id": "cve_2026-10-24_midnight_baseline",
      "at": "2026-10-24T00:00:00.000Z",
      "source": "https://github.com/CVEProject/cvelistV5/releases/tag/cve_2026-10-24_0100Z"
    },
    "facts": {
      "title": "soc: qcom: socinfo: Avoid out of bounds read of serial number",
      "summary": "In the Linux kernel, the following vulnerability has been resolved:\n\nsoc: qcom: socinfo: Avoid out of bounds read of serial number\n\nOn MSM8916 devices, the serial number exposed in sysfs is constant and does\nnot change across individual devices. It's always:\n\n  db410c:/sys/devices/soc0$ cat serial_number\n  2644893864\n\nThe firmware used on MSM8916 exposes SOCINFO_VERSION(0, 8), which does not\nhave support for the serial_num field in the socinfo struct. There is an\nexisting check to avoid exposing the serial number in that case, but it's\nnot correct: When checking the item_size returned by SMEM, we need to make\nsure the *end* of the serial_num is within bounds, instead of comparing\nwith the *start* offset. The serial_number currently exposed on MSM8916\ndevices is just an out of bounds read of whatever comes after the socinfo\nstruct in SMEM.\n\nFix this by changing offsetof() to offsetofend(), so that the size of the\nfield is also taken into account.",
      "affected": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "efb448d0a3fca01bb987dd70963da6185b81751e",
              "status": "affected",
              "versionType": "git",
              "lessThan": "7445fa05317534bbd8b373c0eff8319187916030"
            },
            {
              "version": "efb448d0a3fca01bb987dd70963da6185b81751e",
              "status": "affected",
              "versionType": "git",
              "lessThan": "2495c6598731b6d7f565140f2bd63ef4bc36ce7d"
            },
            {
              "version": "efb448d0a3fca01bb987dd70963da6185b81751e",
              "status": "affected",
              "versionType": "git",
              "lessThan": "2d09d3c9afa2fc422ac3df7c9b8534f350ee19dd"
            },
            {
              "version": "efb448d0a3fca01bb987dd70963da6185b81751e",
              "status": "affected",
              "versionType": "git",
              "lessThan": "9c88b3a3fae4d60641c3a45be66269d00eff33cd"
            },
            {
              "version": "efb448d0a3fca01bb987dd70963da6185b81751e",
              "status": "affected",
              "versionType": "git",
              "lessThan": "47470acd719d45c4c8c418c07962f74cc995652b"
            },
            {
              "version": "efb448d0a3fca01bb987dd70963da6185b81751e",
              "status": "affected",
              "versionType": "git",
              "lessThan": "407c928305c1a37232a63811c400ef616f85ccbc"
            },
            {
              "version": "efb448d0a3fca01bb987dd70963da6185b81751e",
              "status": "affected",
              "versionType": "git",
              "lessThan": "0a92feddae0634a0b87c04b19d343f6af97af700"
            },
            {
              "version": "efb448d0a3fca01bb987dd70963da6185b81751e",
              "status": "affected",
              "versionType": "git",
              "lessThan": "22cf4fae6660b6e1a583a41cbf84e3046ca9ccd0"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "versions": [
            {
              "version": "5.4",
              "status": "affected"
            },
            {
              "version": "0",
              "status": "unaffected",
              "versionType": "semver",
              "lessThan": "5.4"
            },
            {
              "version": "5.4.291",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.4.*"
            },
            {
              "version": "5.10.235",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.10.*"
            },
            {
              "version": "5.15.179",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.15.*"
            },
            {
              "version": "6.1.129",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.1.*"
            },
            {
              "version": "6.6.78",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.6.*"
            },
            {
              "version": "6.12.14",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.12.*"
            },
            {
              "version": "6.13.3",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.13.*"
            },
            {
              "version": "6.14",
              "status": "unaffected",
              "versionType": "original_commit_for_fix",
              "lessThanOrEqual": "*"
            }
          ]
        }
      ]
    }
  }
}