{ "data_version": "4.0", "data_type": "CVE", "data_format": "MITRE", "CVE_data_meta": { "ID": "CVE-2024-27413", "ASSIGNER": "cve@kernel.org", "STATE": "PUBLIC" }, "description": { "description_data": [ { "lang": "eng", "value": "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." } ] }, "problemtype": { "problemtype_data": [ { "description": [ { "lang": "eng", "value": "n/a" } ] } ] }, "affects": { "vendor": { "vendor_data": [ { "vendor_name": "Linux", "product": { "product_data": [ { "product_name": "Linux", "version": { "version_data": [ { "version_affected": "<", "version_name": "f24c4d478013", "version_value": "00cf21ac5260" }, { "version_value": "not down converted", "x_cve_json_5_version_data": { "versions": [ { "version": "4.15", "status": "affected" }, { "version": "0", "lessThan": "4.15", "status": "unaffected", "versionType": "semver" }, { "version": "4.19.309", "lessThanOrEqual": "4.19.*", "status": "unaffected", "versionType": "semver" }, { "version": "5.4.271", "lessThanOrEqual": "5.4.*", "status": "unaffected", "versionType": "semver" }, { "version": "5.10.212", "lessThanOrEqual": "5.10.*", "status": "unaffected", "versionType": "semver" }, { "version": "5.15.151", "lessThanOrEqual": "5.15.*", "status": "unaffected", "versionType": "semver" }, { "version": "6.1.81", "lessThanOrEqual": "6.1.*", "status": "unaffected", "versionType": "semver" }, { "version": "6.6.21", "lessThanOrEqual": "6.6.*", "status": "unaffected", "versionType": "semver" }, { "version": "6.7.9", "lessThanOrEqual": "6.7.*", "status": "unaffected", "versionType": "semver" }, { "version": "6.8", "lessThanOrEqual": "*", "status": "unaffected", "versionType": "original_commit_for_fix" } ], "defaultStatus": "affected" } } ] } } ] } } ] } }, "references": { "reference_data": [ { "url": "https://git.kernel.org/stable/c/00cf21ac526011a29fc708f8912da446fac19f7b", "refsource": "MISC", "name": "https://git.kernel.org/stable/c/00cf21ac526011a29fc708f8912da446fac19f7b" }, { "url": "https://git.kernel.org/stable/c/950d4d74d311a18baed6878dbfba8180d7e5dddd", "refsource": "MISC", "name": "https://git.kernel.org/stable/c/950d4d74d311a18baed6878dbfba8180d7e5dddd" }, { "url": "https://git.kernel.org/stable/c/537e3f49dbe88881a6f0752beaa596942d9efd64", "refsource": "MISC", "name": "https://git.kernel.org/stable/c/537e3f49dbe88881a6f0752beaa596942d9efd64" }, { "url": "https://git.kernel.org/stable/c/4b73473c050a612fb4317831371073eda07c3050", "refsource": "MISC", "name": "https://git.kernel.org/stable/c/4b73473c050a612fb4317831371073eda07c3050" }, { "url": "https://git.kernel.org/stable/c/ddc547dd05a46720866c32022300f7376c40119f", "refsource": "MISC", "name": "https://git.kernel.org/stable/c/ddc547dd05a46720866c32022300f7376c40119f" }, { "url": "https://git.kernel.org/stable/c/11aabd7487857b8e7d768fefb092f66dfde68492", "refsource": "MISC", "name": "https://git.kernel.org/stable/c/11aabd7487857b8e7d768fefb092f66dfde68492" }, { "url": "https://git.kernel.org/stable/c/62a5dcd9bd3097e9813de62fa6f22815e84a0172", "refsource": "MISC", "name": "https://git.kernel.org/stable/c/62a5dcd9bd3097e9813de62fa6f22815e84a0172" }, { "url": "https://git.kernel.org/stable/c/fccfa646ef3628097d59f7d9c1a3e84d4b6bb45e", "refsource": "MISC", "name": "https://git.kernel.org/stable/c/fccfa646ef3628097d59f7d9c1a3e84d4b6bb45e" } ] }, "generator": { "engine": "bippy-9e1c9544281a" } }