remoteproc: pru: Fix potential NULL pointer dereference in pru_rproc_set_ctable()
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.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 6.12.53, 6.17.3, 6.6.112
- CVEs
- CVE-2025-40033
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 3 Nov 2026, 11:16 UTC · Revision 1
Source evidence
remoteproc: pru: Fix potential NULL pointer dereference in pru_rproc_set_ctable()
core-osv · Original sourcePublished 28 Oct 2025, 11:48 UTC
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.
osv:CVE-2025-40033
Kernel
Fixed versions: 6.6.112, 6.12.53, 6.17.3
Complete source record
{
"id": "ee66c1cef89f235eda7c63329e17398d03214972a382b7b1ea8ec333184e5779",
"url": "https://osv.dev/vulnerability/CVE-2025-40033",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "remoteproc: pru: Fix potential NULL pointer dereference in pru_rproc_set_ctable()",
"summary": "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.",
"evidence": "osv:CVE-2025-40033",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "6.6.112",
"evidence": "/affected/1/ranges"
},
{
"value": "6.12.53",
"evidence": "/affected/1/ranges"
},
{
"value": "6.17.3",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "CVE-2025-40033",
"aliases": [
"CVE-2025-40033"
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "102853400321baea2527917e6e89be33508c3e18"
},
{
"fixed": "66821fdb723d55b25482a76b92d17d416efeae6b"
},
{
"fixed": "c9b6d789591f2bd57b0cbd59592493e11e029ed4"
},
{
"fixed": "f0164d89950120281f2446be9687cffa1e43dbcc"
},
{
"fixed": "d41e075b077142bb9ae5df40b9ddf9fd7821a811"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-40033.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.3.0"
},
{
"fixed": "6.6.112"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.7.0"
},
{
"fixed": "6.12.53"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.13.0"
},
{
"fixed": "6.17.3"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-40033.json"
}
}
],
"modified": "2026-10-28T02:30:28.077034247Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/66821fdb723d55b25482a76b92d17d416efeae6b",
"https://git.kernel.org/stable/c/c9b6d789591f2bd57b0cbd59592493e11e029ed4",
"https://git.kernel.org/stable/c/d41e075b077142bb9ae5df40b9ddf9fd7821a811",
"https://git.kernel.org/stable/c/f0164d89950120281f2446be9687cffa1e43dbcc",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/40xxx/CVE-2025-40033.json",
"https://nvd.nist.gov/vuln/detail/CVE-2025-40033",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/40xxx/CVE-2025-40033.json"
}
},
"related_cves": [
{
"value": "CVE-2025-40033",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 494895,
"published_at": "2025-10-28T11:48:15.624+00:00"
}