VULNERABILITY INTELLIGENCE

CVE-2021-47380

CVSS score5.5 MEDIUM
EPSS probability0.22%
CISA KEVNot currently listed
Published2024-05-21
Last modified2026-08-04
CVSS vectorCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Description

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

Weakness classification

  • CWE-476: NULL Pointer Dereference

Primary references