{"id":"CVE-2023-52976","state":"PUBLISHED","title":"efi: fix potential NULL deref in efi_mem_reserve_persistent","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nefi: fix potential NULL deref in efi_mem_reserve_persistent\n\nWhen iterating on a linked list, a result of memremap is dereferenced\nwithout checking it for NULL.\n\nThis patch adds a check that falls back on allocating a new page in\ncase memremap doesn't succeed.\n\nFound by Linux Verification Center (linuxtesting.org) with SVACE.\n\n[ardb: return -ENOMEM instead of breaking out of the loop]","publishedAt":"2025-03-27T16:43:16.596Z","updatedAt":"2026-05-23T15:27:38.596Z","severity":{"score":5.5,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","source":"CISA-ADP"},"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"18df7577adae6c6c778bf774b3aebcacbc1fb439","status":"affected","lessThan":"d92a25627bcdf264183670da73c9a60c0bac327e","versionType":"git"},{"version":"18df7577adae6c6c778bf774b3aebcacbc1fb439","status":"affected","lessThan":"87d4ff18738fd71e7e3c10827c80257da6283697","versionType":"git"},{"version":"18df7577adae6c6c778bf774b3aebcacbc1fb439","status":"affected","lessThan":"d8fc0b5fb3e816a4a8684bcd3ed02cbef0fce23c","versionType":"git"},{"version":"18df7577adae6c6c778bf774b3aebcacbc1fb439","status":"affected","lessThan":"a2e6a9ff89f13666a1c3ff7195612ab949ea9afc","versionType":"git"},{"version":"18df7577adae6c6c778bf774b3aebcacbc1fb439","status":"affected","lessThan":"966d47e1f27c45507c5df82b2a2157e5a4fd3909","versionType":"git"},{"version":"b5961ecad7121fec138ebee7d9eba4863f9dc6e7","status":"affected","versionType":"git"},{"version":"5.1.16","status":"affected","lessThan":"5.2","versionType":"semver"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/firmware/efi/efi.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.2","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.2","versionType":"semver"},{"version":"5.4.232","status":"unaffected","lessThanOrEqual":"5.4.*","versionType":"semver"},{"version":"5.10.168","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.93","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.11","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/firmware/efi/efi.c"]}],"references":["https://git.kernel.org/stable/c/d92a25627bcdf264183670da73c9a60c0bac327e","https://git.kernel.org/stable/c/87d4ff18738fd71e7e3c10827c80257da6283697","https://git.kernel.org/stable/c/d8fc0b5fb3e816a4a8684bcd3ed02cbef0fce23c","https://git.kernel.org/stable/c/a2e6a9ff89f13666a1c3ff7195612ab949ea9afc","https://git.kernel.org/stable/c/966d47e1f27c45507c5df82b2a2157e5a4fd3909"],"weaknesses":["CWE-476"],"ingestedAt":"2026-10-29T20:06:33.064Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2023/52xxx/CVE-2023-52976.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2023-52976","state":"PUBLISHED","datePublished":"2025-03-27T16:43:16.596Z","dateUpdated":"2026-05-23T15:27:38.596Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2025-03-27T16:40:15.738Z"},"containers":{"cna":{"title":"efi: fix potential NULL deref in efi_mem_reserve_persistent","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nefi: fix potential NULL deref in efi_mem_reserve_persistent\n\nWhen iterating on a linked list, a result of memremap is dereferenced\nwithout checking it for NULL.\n\nThis patch adds a check that falls back on allocating a new page in\ncase memremap doesn't succeed.\n\nFound by Linux Verification Center (linuxtesting.org) with SVACE.\n\n[ardb: return -ENOMEM instead of breaking out of the loop]"}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"18df7577adae6c6c778bf774b3aebcacbc1fb439","status":"affected","lessThan":"d92a25627bcdf264183670da73c9a60c0bac327e","versionType":"git"},{"version":"18df7577adae6c6c778bf774b3aebcacbc1fb439","status":"affected","lessThan":"87d4ff18738fd71e7e3c10827c80257da6283697","versionType":"git"},{"version":"18df7577adae6c6c778bf774b3aebcacbc1fb439","status":"affected","lessThan":"d8fc0b5fb3e816a4a8684bcd3ed02cbef0fce23c","versionType":"git"},{"version":"18df7577adae6c6c778bf774b3aebcacbc1fb439","status":"affected","lessThan":"a2e6a9ff89f13666a1c3ff7195612ab949ea9afc","versionType":"git"},{"version":"18df7577adae6c6c778bf774b3aebcacbc1fb439","status":"affected","lessThan":"966d47e1f27c45507c5df82b2a2157e5a4fd3909","versionType":"git"},{"version":"b5961ecad7121fec138ebee7d9eba4863f9dc6e7","status":"affected","versionType":"git"},{"version":"5.1.16","status":"affected","lessThan":"5.2","versionType":"semver"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/firmware/efi/efi.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.2","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.2","versionType":"semver"},{"version":"5.4.232","status":"unaffected","lessThanOrEqual":"5.4.*","versionType":"semver"},{"version":"5.10.168","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.93","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.11","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/firmware/efi/efi.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/d92a25627bcdf264183670da73c9a60c0bac327e"},{"url":"https://git.kernel.org/stable/c/87d4ff18738fd71e7e3c10827c80257da6283697"},{"url":"https://git.kernel.org/stable/c/d8fc0b5fb3e816a4a8684bcd3ed02cbef0fce23c"},{"url":"https://git.kernel.org/stable/c/a2e6a9ff89f13666a1c3ff7195612ab949ea9afc"},{"url":"https://git.kernel.org/stable/c/966d47e1f27c45507c5df82b2a2157e5a4fd3909"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-23T15:27:38.596Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.2","versionEndExcluding":"5.4.232"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.2","versionEndExcluding":"5.10.168"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.2","versionEndExcluding":"5.15.93"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.2","versionEndExcluding":"6.1.11"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.2","versionEndExcluding":"6.2"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.1.16"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":5.5,"attackVector":"LOCAL","baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","integrityImpact":"NONE","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"HIGH","privilegesRequired":"LOW","confidentialityImpact":"NONE"}},{"other":{"type":"ssvc","content":{"timestamp":"2025-10-01T17:22:07.723841Z","id":"CVE-2023-52976","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-476","type":"CWE","lang":"en","description":"CWE-476 NULL Pointer Dereference"}]}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-10-01T17:22:10.974Z"}}]}}}