{
  "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-35955",
    "sourceURL": "https://www.cve.org/CVERecord?id=CVE-2024-35955",
    "idYear": 2024,
    "status": "PUBLISHED",
    "publishedAt": "2024-05-20T09:41:48.607Z",
    "updatedAt": "2026-10-15T00:41:40.501Z",
    "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": "kprobes: Fix possible use-after-free issue on kprobe registration",
      "summary": "In the Linux kernel, the following vulnerability has been resolved:\n\nkprobes: Fix possible use-after-free issue on kprobe registration\n\nWhen unloading a module, its state is changing MODULE_STATE_LIVE ->\n MODULE_STATE_GOING -> MODULE_STATE_UNFORMED. Each change will take\na time. `is_module_text_address()` and `__module_text_address()`\nworks with MODULE_STATE_LIVE and MODULE_STATE_GOING.\nIf we use `is_module_text_address()` and `__module_text_address()`\nseparately, there is a chance that the first one is succeeded but the\nnext one is failed because module->state becomes MODULE_STATE_UNFORMED\nbetween those operations.\n\nIn `check_kprobe_address_safe()`, if the second `__module_text_address()`\nis failed, that is ignored because it expected a kernel_text address.\nBut it may have failed simply because module->state has been changed\nto MODULE_STATE_UNFORMED. In this case, arm_kprobe() will try to modify\nnon-exist module text address (use-after-free).\n\nTo fix this problem, we should not use separated `is_module_text_address()`\nand `__module_text_address()`, but use only `__module_text_address()`\nonce and do `try_module_get(module)` which is only available with\nMODULE_STATE_LIVE.",
      "affected": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "1c836bad43f3e2ff71cc397a6e6ccb4e7bd116f8",
              "status": "affected",
              "versionType": "git",
              "lessThan": "b5808d40093403334d939e2c3c417144d12a6f33"
            },
            {
              "version": "6a119c1a584aa7a2c6216458f1f272bf1bc93a93",
              "status": "affected",
              "versionType": "git",
              "lessThan": "93eb31e7c3399e326259f2caa17be1e821f5a412"
            },
            {
              "version": "2a49b025c36ae749cee7ccc4b7e456e02539cdc3",
              "status": "affected",
              "versionType": "git",
              "lessThan": "5062d1f4f07facbdade0f402d9a04a788f52e26d"
            },
            {
              "version": "a1edb85e60fdab1e14db63ae8af8db3f0d798fb6",
              "status": "affected",
              "versionType": "git",
              "lessThan": "2df2dd27066cdba8041e46a64362325626bdfb2e"
            },
            {
              "version": "28f6c37a2910f565b4f5960df52b2eccae28c891",
              "status": "affected",
              "versionType": "git",
              "lessThan": "62029bc9ff2c17a4e3a2478d83418ec575413808"
            },
            {
              "version": "28f6c37a2910f565b4f5960df52b2eccae28c891",
              "status": "affected",
              "versionType": "git",
              "lessThan": "d15023fb407337028a654237d8968fefdcf87c2f"
            },
            {
              "version": "28f6c37a2910f565b4f5960df52b2eccae28c891",
              "status": "affected",
              "versionType": "git",
              "lessThan": "36b57c7d2f8b7de224980f1a284432846ad71ca0"
            },
            {
              "version": "28f6c37a2910f565b4f5960df52b2eccae28c891",
              "status": "affected",
              "versionType": "git",
              "lessThan": "325f3fb551f8cd672dbbfc4cf58b14f9ee3fc9e8"
            },
            {
              "version": "4262b6eb057d86c7829168c541654fe0d48fdac8",
              "status": "affected",
              "versionType": "git"
            },
            {
              "version": "97e813e6a143edf4208e15c72199c495ed80cea5",
              "status": "affected",
              "versionType": "git"
            },
            {
              "version": "16a544f1e013ba0660612f3fe35393b143b19a84",
              "status": "affected",
              "versionType": "git"
            },
            {
              "version": "4.19.256",
              "status": "affected",
              "versionType": "semver",
              "lessThan": "4.19.313"
            },
            {
              "version": "5.4.211",
              "status": "affected",
              "versionType": "semver",
              "lessThan": "5.4.275"
            },
            {
              "version": "5.10.137",
              "status": "affected",
              "versionType": "semver",
              "lessThan": "5.10.216"
            },
            {
              "version": "5.15.61",
              "status": "affected",
              "versionType": "semver",
              "lessThan": "5.15.157"
            },
            {
              "version": "4.14.291",
              "status": "affected",
              "versionType": "semver",
              "lessThan": "4.15"
            },
            {
              "version": "5.18.18",
              "status": "affected",
              "versionType": "semver",
              "lessThan": "5.19"
            },
            {
              "version": "5.19.2",
              "status": "affected",
              "versionType": "semver",
              "lessThan": "5.20"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "versions": [
            {
              "version": "6.0",
              "status": "affected"
            },
            {
              "version": "0",
              "status": "unaffected",
              "versionType": "semver",
              "lessThan": "6.0"
            },
            {
              "version": "4.19.313",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "4.19.*"
            },
            {
              "version": "5.4.275",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.4.*"
            },
            {
              "version": "5.10.216",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.10.*"
            },
            {
              "version": "5.15.157",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.15.*"
            },
            {
              "version": "6.1.87",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.1.*"
            },
            {
              "version": "6.6.28",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.6.*"
            },
            {
              "version": "6.8.7",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.8.*"
            },
            {
              "version": "6.9",
              "status": "unaffected",
              "versionType": "original_commit_for_fix",
              "lessThanOrEqual": "*"
            }
          ]
        }
      ]
    }
  }
}