CVE-2024-47743

Severity CVSS v4.0:
Pending analysis
Type:
CWE-476 NULL Pointer Dereference
Publication date:
21/10/2024
Last modified:
03/11/2025

Description

In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> KEYS: prevent NULL pointer dereference in find_asymmetric_key()<br /> <br /> In find_asymmetric_key(), if all NULLs are passed in the id_{0,1,2}<br /> arguments, the kernel will first emit WARN but then have an oops<br /> because id_2 gets dereferenced anyway.<br /> <br /> Add the missing id_2 check and move WARN_ON() to the final else branch<br /> to avoid duplicate NULL checks.<br /> <br /> Found by Linux Verification Center (linuxtesting.org) with Svace static<br /> analysis tool.

Vulnerable products and versions

CPE From Up to
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 5.17 (including) 6.1.113 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.2 (including) 6.6.54 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.7 (including) 6.10.13 (excluding)
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.11 (including) 6.11.2 (excluding)