CVE-2025-40033
JSON

Not scored

remoteproc: pru: Fix potential NULL pointer dereference in pru_rproc_set_ctable()

Severity
Not scored
Exploit likelihood
0.28% (higher than 13% of CVEs)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: remoteproc: pru: Fix potential NULL pointer dereference in pru_rproc_set_ctable() pru_rproc_set_ctable() accessed rproc->priv before the IS_ERR_OR_NULL check, which could lead to a null pointer dereference. Move the pru assignment, ensuring we never dereference a NULL rproc pointer.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 102853400321baea2527917e6e89be33508c3e18 before 66821fdb723d55b25482a76b92d17d416efeae6b, from 102853400321baea2527917e6e89be33508c3e18 before c9b6d789591f2bd57b0cbd59592493e11e029ed4, from 102853400321baea2527917e6e89be33508c3e18 before f0164d89950120281f2446be9687cffa1e43dbcc, from 102853400321baea2527917e6e89be33508c3e18 before d41e075b077142bb9ae5df40b9ddf9fd7821a811, 6.3
Not affected: before 6.3, from 6.6.112 up to 6.6.*, from 6.12.53 up to 6.12.*, from 6.17.3 up to 6.17.*, from 6.18 up to *
CVE List

What each source says

CVE List

In the Linux kernel, the following vulnerability has been resolved: remoteproc: pru: Fix potential NULL pointer dereference in pru_rproc_set_ctable() pru_rproc_set_ctable() accessed rproc->priv before the IS_ERR_OR_NULL check, which could lead to a null pointer dereference. Move the pru assignment, ensuring we never dereference a NULL rproc pointer.

NVD (es)

En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: remoteproc: pru: Corrección de potencial desreferencia de puntero NULL en pru_rproc_set_ctable() pru_rproc_set_ctable() accedía a rproc->priv antes de la comprobación IS_ERR_OR_NULL, lo que podría llevar a una desreferencia de puntero NULL. Mover la asignación de pru, asegurando que nunca desreferenciemos un puntero rproc NULL.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-40033 changed 2026-05-11CVE Terms of Use
NVDCVE-2025-40033 changed 2026-10-19Public domain