CVE-2026-31544
JSON

5.5medium

firmware: arm_scmi: Fix NULL dereference on notify error path

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.13% (higher than 2% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom b5daf93b809d13a194f8a8eeacfab1cfa241bbc3 before 70d9bd9a2e683afe6200b0c20af22f06f1a199a4, from b5daf93b809d13a194f8a8eeacfab1cfa241bbc3 before 8414d2800c34528467df23ce6192c254a73e4459, from b5daf93b809d13a194f8a8eeacfab1cfa241bbc3 before 555317d6100164748f7d09f80142739bd29f0cda, 6.17
Not affected: before 6.17, from 6.18.20 up to 6.18.*, from 6.19.10 up to 6.19.*, from 7.0 up to *
CVE List
linux linux_kernelfrom 6.17 before 6.18.20, from 6.19 before 6.19.10, 7.0NVD

Classification

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: firmware: arm_scmi: Corrección de desreferencia NULL en la ruta de error de notificación Desde el commit b5daf93b809d1 (’firmware: arm_scmi: Evitar el registro de notificador para eventos no soportados’), las cadenas de llamadas que conducen al ayudante __scmi_event_handler_get_ops esperan que se devuelva un ERR_PTR al fallar en obtener un gestor para la clave de evento solicitada, mientras que el ayudante actual aún puede devolver un NULL cuando no se pudo encontrar o crear ningún gestor. Solución forzando un valor de retorno ERR_PTR cuando la referencia del gestor es NULL.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-31544 changed 2026-05-11CVE Terms of Use
NVDCVE-2026-31544 changed 2026-11-11Public domain