{"id":"CVE-2023-52976","summary":"efi: fix potential NULL deref in efi_mem_reserve_persistent","details":"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]","modified":"2026-04-02T09:43:31.253791Z","published":"2025-03-27T16:43:16.596Z","related":["SUSE-SU-2025:1176-1","SUSE-SU-2025:1183-1","SUSE-SU-2025:1195-1","SUSE-SU-2025:1241-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/52xxx/CVE-2023-52976.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/87d4ff18738fd71e7e3c10827c80257da6283697"},{"type":"WEB","url":"https://git.kernel.org/stable/c/966d47e1f27c45507c5df82b2a2157e5a4fd3909"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a2e6a9ff89f13666a1c3ff7195612ab949ea9afc"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d8fc0b5fb3e816a4a8684bcd3ed02cbef0fce23c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d92a25627bcdf264183670da73c9a60c0bac327e"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/52xxx/CVE-2023-52976.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-52976"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"18df7577adae6c6c778bf774b3aebcacbc1fb439"},{"fixed":"d92a25627bcdf264183670da73c9a60c0bac327e"},{"fixed":"87d4ff18738fd71e7e3c10827c80257da6283697"},{"fixed":"d8fc0b5fb3e816a4a8684bcd3ed02cbef0fce23c"},{"fixed":"a2e6a9ff89f13666a1c3ff7195612ab949ea9afc"},{"fixed":"966d47e1f27c45507c5df82b2a2157e5a4fd3909"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"0"},{"last_affected":"b5961ecad7121fec138ebee7d9eba4863f9dc6e7"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-52976.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"}]}