CVE-2021-47380

Severity CVSS v4.0:
Pending analysis
Type:
CWE-476 NULL Pointer Dereference
Publication date:
21/05/2024
Last modified:
23/12/2024

Description

In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> HID: amd_sfh: Fix potential NULL pointer dereference<br /> <br /> devm_add_action_or_reset() can suddenly invoke amd_mp2_pci_remove() at<br /> registration that will cause NULL pointer dereference since<br /> corresponding data is not initialized yet. The patch moves<br /> initialization of data before devm_add_action_or_reset().<br /> <br /> Found by Linux Driver Verification project (linuxtesting.org).<br /> <br /> [jkosina@suse.cz: rebase]

Vulnerable products and versions

CPE From Up to
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 5.14.10 (excluding)
cpe:2.3:o:linux:linux_kernel:5.15:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.15:rc2:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:5.15:rc3:*:*:*:*:*:*