{"api_version":"1","generated_at":"2026-06-03T09:30:03+00:00","cve":"CVE-2026-45927","urls":{"html":"https://cve.report/CVE-2026-45927","api":"https://cve.report/api/cve/CVE-2026-45927.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-45927","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-45927"},"summary":{"title":"bpf: Require frozen map for calculating map hash","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Require frozen map for calculating map hash\n\nCurrently, bpf_map_get_info_by_fd calculates and caches the hash of the\nmap regardless of the map's frozen state.\n\nThis leads to a TOCTOU bug where userspace can call\nBPF_OBJ_GET_INFO_BY_FD to cache the hash and then modify the map\ncontents before freezing.\n\nTherefore, a trusted loader can be tricked into verifying the stale hash\nwhile loading the modified contents.\n\nFix this by returning -EPERM if the map is not frozen when the hash is\nrequested. This ensures the hash is only generated for the final,\nimmutable state of the map.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-05-27 14:17:08","updated_at":"2026-05-27 14:48:03"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/7752d36343862323bbeea4ce3adf0ec2ed86e122","name":"https://git.kernel.org/stable/c/7752d36343862323bbeea4ce3adf0ec2ed86e122","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/f415e114b58fe02c41191e47f24bdabb438daf72","name":"https://git.kernel.org/stable/c/f415e114b58fe02c41191e47f24bdabb438daf72","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/a2c86aa621c22f2a7e26c654f936d65cfff0aa91","name":"https://git.kernel.org/stable/c/a2c86aa621c22f2a7e26c654f936d65cfff0aa91","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-45927","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-45927","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected ea2e6467ac36bf3d785defc89e58269b15d182f7 7752d36343862323bbeea4ce3adf0ec2ed86e122 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected ea2e6467ac36bf3d785defc89e58269b15d182f7 f415e114b58fe02c41191e47f24bdabb438daf72 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected ea2e6467ac36bf3d785defc89e58269b15d182f7 a2c86aa621c22f2a7e26c654f936d65cfff0aa91 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.18","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.14 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.19.4 6.19.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.0 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":{"cve_year":"2026","cve_id":"45927","cve":"CVE-2026-45927","epss":"0.000170000","percentile":"0.042650000","score_date":"2026-06-01","updated_at":"2026-06-02 00:05:21"},"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["kernel/bpf/syscall.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"7752d36343862323bbeea4ce3adf0ec2ed86e122","status":"affected","version":"ea2e6467ac36bf3d785defc89e58269b15d182f7","versionType":"git"},{"lessThan":"f415e114b58fe02c41191e47f24bdabb438daf72","status":"affected","version":"ea2e6467ac36bf3d785defc89e58269b15d182f7","versionType":"git"},{"lessThan":"a2c86aa621c22f2a7e26c654f936d65cfff0aa91","status":"affected","version":"ea2e6467ac36bf3d785defc89e58269b15d182f7","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["kernel/bpf/syscall.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"6.18"},{"lessThan":"6.18","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.14","versionType":"semver"},{"lessThanOrEqual":"6.19.*","status":"unaffected","version":"6.19.4","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.0","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.14","versionStartIncluding":"6.18","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.19.4","versionStartIncluding":"6.18","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.0","versionStartIncluding":"6.18","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Require frozen map for calculating map hash\n\nCurrently, bpf_map_get_info_by_fd calculates and caches the hash of the\nmap regardless of the map's frozen state.\n\nThis leads to a TOCTOU bug where userspace can call\nBPF_OBJ_GET_INFO_BY_FD to cache the hash and then modify the map\ncontents before freezing.\n\nTherefore, a trusted loader can be tricked into verifying the stale hash\nwhile loading the modified contents.\n\nFix this by returning -EPERM if the map is not frozen when the hash is\nrequested. This ensures the hash is only generated for the final,\nimmutable state of the map."}],"providerMetadata":{"dateUpdated":"2026-05-27T12:17:46.284Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/7752d36343862323bbeea4ce3adf0ec2ed86e122"},{"url":"https://git.kernel.org/stable/c/f415e114b58fe02c41191e47f24bdabb438daf72"},{"url":"https://git.kernel.org/stable/c/a2c86aa621c22f2a7e26c654f936d65cfff0aa91"}],"title":"bpf: Require frozen map for calculating map hash","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-45927","datePublished":"2026-05-27T12:17:46.284Z","dateReserved":"2026-05-13T15:03:33.086Z","dateUpdated":"2026-05-27T12:17:46.284Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-05-27 14:17:08","lastModifiedDate":"2026-05-27 14:48:03","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"45927","Ordinal":"1","Title":"bpf: Require frozen map for calculating map hash","CVE":"CVE-2026-45927","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"45927","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Require frozen map for calculating map hash\n\nCurrently, bpf_map_get_info_by_fd calculates and caches the hash of the\nmap regardless of the map's frozen state.\n\nThis leads to a TOCTOU bug where userspace can call\nBPF_OBJ_GET_INFO_BY_FD to cache the hash and then modify the map\ncontents before freezing.\n\nTherefore, a trusted loader can be tricked into verifying the stale hash\nwhile loading the modified contents.\n\nFix this by returning -EPERM if the map is not frozen when the hash is\nrequested. This ensures the hash is only generated for the final,\nimmutable state of the map.","Type":"Description","Title":"bpf: Require frozen map for calculating map hash"}]}}}