{
  "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-27413",
    "sourceURL": "https://www.cve.org/CVERecord?id=CVE-2024-27413",
    "idYear": 2024,
    "status": "PUBLISHED",
    "publishedAt": "2024-05-17T11:50:53.780Z",
    "updatedAt": "2026-05-23T15:42:38.950Z",
    "importedAt": "2026-10-24T01:57:07.518Z",
    "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": "efi/capsule-loader: fix incorrect allocation size",
      "summary": "In the Linux kernel, the following vulnerability has been resolved:\n\nefi/capsule-loader: fix incorrect allocation size\n\ngcc-14 notices that the allocation with sizeof(void) on 32-bit architectures\nis not enough for a 64-bit phys_addr_t:\n\ndrivers/firmware/efi/capsule-loader.c: In function 'efi_capsule_open':\ndrivers/firmware/efi/capsule-loader.c:295:24: error: allocation of insufficient size '4' for type 'phys_addr_t' {aka 'long long unsigned int'} with size '8' [-Werror=alloc-size]\n  295 |         cap_info->phys = kzalloc(sizeof(void *), GFP_KERNEL);\n      |                        ^\n\nUse the correct type instead here.",
      "affected": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "f24c4d478013d82bd1b943df566fff3561d52864",
              "status": "affected",
              "versionType": "git",
              "lessThan": "00cf21ac526011a29fc708f8912da446fac19f7b"
            },
            {
              "version": "f24c4d478013d82bd1b943df566fff3561d52864",
              "status": "affected",
              "versionType": "git",
              "lessThan": "950d4d74d311a18baed6878dbfba8180d7e5dddd"
            },
            {
              "version": "f24c4d478013d82bd1b943df566fff3561d52864",
              "status": "affected",
              "versionType": "git",
              "lessThan": "537e3f49dbe88881a6f0752beaa596942d9efd64"
            },
            {
              "version": "f24c4d478013d82bd1b943df566fff3561d52864",
              "status": "affected",
              "versionType": "git",
              "lessThan": "4b73473c050a612fb4317831371073eda07c3050"
            },
            {
              "version": "f24c4d478013d82bd1b943df566fff3561d52864",
              "status": "affected",
              "versionType": "git",
              "lessThan": "ddc547dd05a46720866c32022300f7376c40119f"
            },
            {
              "version": "f24c4d478013d82bd1b943df566fff3561d52864",
              "status": "affected",
              "versionType": "git",
              "lessThan": "11aabd7487857b8e7d768fefb092f66dfde68492"
            },
            {
              "version": "f24c4d478013d82bd1b943df566fff3561d52864",
              "status": "affected",
              "versionType": "git",
              "lessThan": "62a5dcd9bd3097e9813de62fa6f22815e84a0172"
            },
            {
              "version": "f24c4d478013d82bd1b943df566fff3561d52864",
              "status": "affected",
              "versionType": "git",
              "lessThan": "fccfa646ef3628097d59f7d9c1a3e84d4b6bb45e"
            },
            {
              "version": "95a362c9a6892085f714eb6e31eea6a0e3aa93bf",
              "status": "affected",
              "versionType": "git"
            },
            {
              "version": "4.14.13",
              "status": "affected",
              "versionType": "semver",
              "lessThan": "4.15"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "versions": [
            {
              "version": "4.15",
              "status": "affected"
            },
            {
              "version": "0",
              "status": "unaffected",
              "versionType": "semver",
              "lessThan": "4.15"
            },
            {
              "version": "4.19.309",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "4.19.*"
            },
            {
              "version": "5.4.271",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.4.*"
            },
            {
              "version": "5.10.212",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.10.*"
            },
            {
              "version": "5.15.151",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "5.15.*"
            },
            {
              "version": "6.1.81",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.1.*"
            },
            {
              "version": "6.6.21",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.6.*"
            },
            {
              "version": "6.7.9",
              "status": "unaffected",
              "versionType": "semver",
              "lessThanOrEqual": "6.7.*"
            },
            {
              "version": "6.8",
              "status": "unaffected",
              "versionType": "original_commit_for_fix",
              "lessThanOrEqual": "*"
            }
          ]
        }
      ]
    }
  }
}