NULL pointer dereference in Linux

CVE-2022-49055

In the Linux kernel, the following vulnerability has been resolved:

drm/amdkfd: Check for potential null return of kmalloc_array()

As the kmalloc_array() may return null, the 'event_waiters[i].wait' would lead to null-pointer dereference.
Therefore, it is better to check the return value of kmalloc_array() to avoid this confusion.

Published · last modified .

CVSS v3 metric

CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H.

EPSS exploit prediction

EPSS 0.003, 19.6th percentile (last changed ); unchanged over 30 days. About EPSS.

Affected products

  • Linux — versions f3a398183f7b9ef78f6b71ee9f7641e046403bcb, 4.2, 0
  • Linux Kernel — versions 5.18

Weakness classification (CWE)

References