{"id":"CVE-2024-47743","summary":"KEYS: prevent NULL pointer dereference in find_asymmetric_key()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nKEYS: prevent NULL pointer dereference in find_asymmetric_key()\n\nIn find_asymmetric_key(), if all NULLs are passed in the id_{0,1,2}\narguments, the kernel will first emit WARN but then have an oops\nbecause id_2 gets dereferenced anyway.\n\nAdd the missing id_2 check and move WARN_ON() to the final else branch\nto avoid duplicate NULL checks.\n\nFound by Linux Verification Center (linuxtesting.org) with Svace static\nanalysis tool.","modified":"2026-03-20T12:39:14.255079Z","published":"2024-10-21T12:14:11.173Z","related":["MGASA-2024-0344","MGASA-2024-0345","SUSE-SU-2024:3984-1","SUSE-SU-2024:3986-1","SUSE-SU-2024:4318-1","SUSE-SU-2024:4387-1","SUSE-SU-2025:20163-1","SUSE-SU-2025:20164-1","SUSE-SU-2025:20246-1","SUSE-SU-2025:20247-1","USN-7276-1","USN-7277-1","openSUSE-SU-2024:14500-1","openSUSE-SU-2025:14705-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/47xxx/CVE-2024-47743.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/0d3b0706ada15c333e6f9faf19590ff715e45d1e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/13b5b401ead95b5d8266f64904086c55b6024900"},{"type":"WEB","url":"https://git.kernel.org/stable/c/3322fa8f2aa40b0b3651034cd541647a600cc6c0"},{"type":"WEB","url":"https://git.kernel.org/stable/c/70fd1966c93bf3bfe3fe6d753eb3d83a76597eef"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a3765b497a4f5224cb2f7a6a2d3357d3066214ee"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/47xxx/CVE-2024-47743.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-47743"},{"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":"7d30198ee24f2ddcc4fefcd38a9b76bd8ab31360"},{"fixed":"3322fa8f2aa40b0b3651034cd541647a600cc6c0"},{"fixed":"a3765b497a4f5224cb2f7a6a2d3357d3066214ee"},{"fixed":"13b5b401ead95b5d8266f64904086c55b6024900"},{"fixed":"0d3b0706ada15c333e6f9faf19590ff715e45d1e"},{"fixed":"70fd1966c93bf3bfe3fe6d753eb3d83a76597eef"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-47743.json"}}],"schema_version":"1.7.5"}