{
  "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-36957",
    "sourceURL": "https://www.cve.org/CVERecord?id=CVE-2024-36957",
    "idYear": 2024,
    "status": "PUBLISHED",
    "publishedAt": "2024-05-30T15:35:50.445Z",
    "updatedAt": "2026-05-23T15:47:48.972Z",
    "importedAt": "2026-10-24T01:57:11.582Z",
    "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": "octeontx2-af: avoid off-by-one read from userspace",
      "summary": "In the Linux kernel, the following vulnerability has been resolved:\n\nocteontx2-af: avoid off-by-one read from userspace\n\nWe try to access count + 1 byte from userspace with memdup_user(buffer,\ncount + 1). However, the userspace only provides buffer of count bytes and\nonly these count bytes are verified to be okay to access. To ensure the\ncopied buffer is NUL terminated, we use memdup_user_nul instead.",
      "affected": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "dae49384d0d7695540e2d75168f323cef1384810",
              "status": "affected",
              "versionType": "git",
              "lessThan": "bcdac70adceb44373da204c3c297f2a98e13216e"
            },
            {
              "version": "3a2eb515d1367c0f667b76089a6e727279c688b8",
              "status": "affected",
              "versionType": "git",
              "lessThan": "ec697fbd38cbe2eef0948b58673b146caa95402f"
            },
            {
              "version": "3a2eb515d1367c0f667b76089a6e727279c688b8",
              "status": "affected",
              "versionType": "git",
              "lessThan": "8f11fe3ea3fc261640cfc8a5addd838000407c67"
            },
            {
              "version": "3a2eb515d1367c0f667b76089a6e727279c688b8",
              "status": "affected",
              "versionType": "git",
              "lessThan": "0a0285cee11c7dcc2657bcd456e469958a5009e7"
            },
            {
              "version": "3a2eb515d1367c0f667b76089a6e727279c688b8",
              "status": "affected",
              "versionType": "git",
              "lessThan": "fc3e0076c1f82fe981d321e3a7bad4cbee542c19"
            },
            {
              "version": "3a2eb515d1367c0f667b76089a6e727279c688b8",
              "status": "affected",
              "versionType": "git",
              "lessThan": "f299ee709fb45036454ca11e90cb2810fe771878"
            },
            {
              "version": "c9a2ed3fdd037314a71e6a6ba5d99a3605f6f9c7",
              "status": "affected",
              "versionType": "git"
            },
            {
              "version": "5.10.20",
              "status": "affected",
              "versionType": "semver",
              "lessThan": "5.10.217"
            },
            {
              "version": "5.11.3",
              "status": "affected",
              "versionType": "semver",
              "lessThan": "5.12"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "versions": [
            {
              "version": "5.12",
              "status": "affected"
            },
            {
              "version": "0",
              "status": "unaffected",
              "versionType": "semver",
              "lessThan": "5.12"
            },
            {
              "version": "5.10.217",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.10.*"
            },
            {
              "version": "5.15.159",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.15.*"
            },
            {
              "version": "6.1.91",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.1.*"
            },
            {
              "version": "6.6.31",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.6.*"
            },
            {
              "version": "6.8.10",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.8.*"
            },
            {
              "version": "6.9",
              "status": "unaffected",
              "versionType": "original_commit_for_fix",
              "lessThanOrEqual": "*"
            }
          ]
        }
      ]
    }
  }
}