{
  "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-36016",
    "sourceURL": "https://www.cve.org/CVERecord?id=CVE-2024-36016",
    "idYear": 2024,
    "status": "PUBLISHED",
    "publishedAt": "2024-05-29T18:46:34.778Z",
    "updatedAt": "2026-08-05T11:31:37.096Z",
    "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": "tty: n_gsm: fix possible out-of-bounds in gsm0_receive()",
      "summary": "In the Linux kernel, the following vulnerability has been resolved:\n\ntty: n_gsm: fix possible out-of-bounds in gsm0_receive()\n\nAssuming the following:\n- side A configures the n_gsm in basic option mode\n- side B sends the header of a basic option mode frame with data length 1\n- side A switches to advanced option mode\n- side B sends 2 data bytes which exceeds gsm->len\n  Reason: gsm->len is not used in advanced option mode.\n- side A switches to basic option mode\n- side B keeps sending until gsm0_receive() writes past gsm->buf\n  Reason: Neither gsm->state nor gsm->len have been reset after\n  reconfiguration.\n\nFix this by changing gsm->count to gsm->len comparison from equal to less\nthan. Also add upper limit checks against the constant MAX_MRU in\ngsm0_receive() and gsm1_receive() to harden against memory corruption of\ngsm->len and gsm->mru.\n\nAll other checks remain as we still need to limit the data according to the\nuser configuration and actual payload size.",
      "affected": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "e1eaea46bb4020b38a141b84f88565d4603f8dd0",
              "status": "affected",
              "versionType": "git",
              "lessThan": "9513d4148950b05bc99fa7314dc883cc0e1605e5"
            },
            {
              "version": "e1eaea46bb4020b38a141b84f88565d4603f8dd0",
              "status": "affected",
              "versionType": "git",
              "lessThan": "b229bc6c6ea9fe459fc3fa94fd0a27a2f32aca56"
            },
            {
              "version": "e1eaea46bb4020b38a141b84f88565d4603f8dd0",
              "status": "affected",
              "versionType": "git",
              "lessThan": "0fb736c9931e02dbc7d9a75044c8e1c039e50f04"
            },
            {
              "version": "e1eaea46bb4020b38a141b84f88565d4603f8dd0",
              "status": "affected",
              "versionType": "git",
              "lessThan": "4c267110fc110390704cc065edb9817fdd10ff54"
            },
            {
              "version": "e1eaea46bb4020b38a141b84f88565d4603f8dd0",
              "status": "affected",
              "versionType": "git",
              "lessThan": "46f52c89a7e7d2691b97a9728e4591d071ca8abc"
            },
            {
              "version": "e1eaea46bb4020b38a141b84f88565d4603f8dd0",
              "status": "affected",
              "versionType": "git",
              "lessThan": "774d83b008eccb1c48c14dc5486e7aa255731350"
            },
            {
              "version": "e1eaea46bb4020b38a141b84f88565d4603f8dd0",
              "status": "affected",
              "versionType": "git",
              "lessThan": "f126ce7305fe88f49cdabc6db4168b9318898ea3"
            },
            {
              "version": "e1eaea46bb4020b38a141b84f88565d4603f8dd0",
              "status": "affected",
              "versionType": "git",
              "lessThan": "b890d45aaf02b564e6cae2d2a590f9649330857d"
            },
            {
              "version": "e1eaea46bb4020b38a141b84f88565d4603f8dd0",
              "status": "affected",
              "versionType": "git",
              "lessThan": "47388e807f85948eefc403a8a5fdc5b406a65d5a"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "versions": [
            {
              "version": "2.6.35",
              "status": "affected"
            },
            {
              "version": "0",
              "status": "unaffected",
              "versionType": "semver",
              "lessThan": "2.6.35"
            },
            {
              "version": "4.19.316",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "4.19.*"
            },
            {
              "version": "5.4.278",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.4.*"
            },
            {
              "version": "5.10.219",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.10.*"
            },
            {
              "version": "5.15.161",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.15.*"
            },
            {
              "version": "6.1.93",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.1.*"
            },
            {
              "version": "6.6.33",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.6.*"
            },
            {
              "version": "6.8.12",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.8.*"
            },
            {
              "version": "6.9.3",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.9.*"
            },
            {
              "version": "6.10",
              "status": "unaffected",
              "versionType": "original_commit_for_fix",
              "lessThanOrEqual": "*"
            }
          ]
        }
      ]
    }
  }
}