# CVE-2025-40033: remoteproc: pru: Fix potential NULL pointer dereference in pru_rproc_set_ctable()

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.28%, higher than 13% of CVEs (2026-11-30)
- Published: 2025-10-28T11:48:15.624Z
- Modified: 2026-10-19T21:10:00.160Z
- 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 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 *)

## References

- <https://git.kernel.org/stable/c/66821fdb723d55b25482a76b92d17d416efeae6b>
- <https://git.kernel.org/stable/c/c9b6d789591f2bd57b0cbd59592493e11e029ed4>
- <https://git.kernel.org/stable/c/f0164d89950120281f2446be9687cffa1e43dbcc>
- <https://git.kernel.org/stable/c/d41e075b077142bb9ae5df40b9ddf9fd7821a811>

## Sources

- CVE List: [CVE-2025-40033](https://www.cve.org/CVERecord?id=CVE-2025-40033), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2025-40033](https://nvd.nist.gov/vuln/detail/CVE-2025-40033), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2025-40033 · Whole record: https://cve.day/CVE-2025-40033.json · Rebuilt by cve.day 2026-11-25T22:59:06.926Z
