NULL pointer dereference in Linux

CVE-2026-31544

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

firmware: arm_scmi: Fix NULL dereference on notify error path

Since commit b5daf93b809d1 ("firmware: arm_scmi: Avoid notifier
registration for unsupported events") the call chains leading to the helper
__scmi_event_handler_get_ops expect an ERR_PTR to be returned on failure to
get an handler for the requested event key, while the current helper can
still return a NULL when no handler could be found or created.

Fix by forcing an ERR_PTR return value when the handler reference is NULL.

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.001, 1.9th percentile (scored ); unchanged over 30 days. About EPSS.

Affected products

  • Linux — versions b5daf93b809d13a194f8a8eeacfab1cfa241bbc3, 6.17, 0
  • Linux Kernel — versions 7.0

Weakness classification (CWE)

References