{"id":"CVE-2025-38704","aliases":["CVE-2025-38704"],"related":[],"kind":"vulnerability","state":"published","title":"rcu/nocb: Fix possible invalid rdp's->nocb_cb_kthread pointer access","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nrcu/nocb: Fix possible invalid rdp's->nocb_cb_kthread pointer access\n\nIn the preparation stage of CPU online, if the corresponding\nthe rdp's->nocb_cb_kthread does not exist, will be created,\nthere is a situation where the rdp's rcuop kthreads creation fails,\nand then de-offload this CPU's rdp, does not assign this CPU's\nrdp->nocb_cb_kthread pointer, but this rdp's->nocb_gp_rdp and\nrdp's->rdp_gp->nocb_gp_kthread is still valid.\n\nThis will cause the subsequent re-offload operation of this offline\nCPU, which will pass the conditional check and the kthread_unpark()\nwill access invalid rdp's->nocb_cb_kthread pointer.\n\nThis commit therefore use rdp's->nocb_gp_kthread instead of\nrdp_gp's->nocb_gp_kthread for safety check.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nrcu/nocb: Fix possible invalid rdp's->nocb_cb_kthread pointer access\n\nIn the preparation stage of CPU online, if the corresponding\nthe rdp's->nocb_cb_kthread does not exist, will be created,\nthere is a situation where the rdp's rcuop kthreads creation fails,\nand then de-offload this CPU's rdp, does not assign this CPU's\nrdp->nocb_cb_kthread pointer, but this rdp's->nocb_gp_rdp and\nrdp's->rdp_gp->nocb_gp_kthread is still valid.\n\nThis will cause the subsequent re-offload operation of this offline\nCPU, which will pass the conditional check and the kthread_unpark()\nwill access invalid rdp's->nocb_cb_kthread pointer.\n\nThis commit therefore use rdp's->nocb_gp_kthread instead of\nrdp_gp's->nocb_gp_kthread for safety check.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nrcu/nocb: Corrección de posible acceso inválido al puntero rdp's->nocb_cb_kthread\n\nEn la etapa de preparación de CPU online, si el rdp's->nocb_cb_kthread correspondiente no existe, será creado, existe una situación en la que la creación de los kthreads rcuop del rdp falla, y luego se des-descarga el rdp de esta CPU, no asigna el puntero rdp->nocb_cb_kthread de esta CPU, pero este rdp's->nocb_gp_rdp y rdp's->rdp_gp->nocb_gp_kthread siguen siendo válidos.\n\nEsto causará la operación de re-descarga posterior de esta CPU offline, que pasará la verificación condicional y el kthread_unpark() accederá a un puntero rdp's->nocb_cb_kthread inválido.\n\nEste commit, por lo tanto, usa rdp's->nocb_gp_kthread en lugar de rdp_gp's->nocb_gp_kthread para la verificación de seguridad.","source":"nvd"}],"published":"2025-09-04T15:32:55.718Z","modified":"2026-11-10T13:17:47.833Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"3a5761dc025da47960755ac64d9fbf1c32e8cd80","fixed":"b097ae798298885695c339d390b48b4e39619fa7","status":"affected"},{"type":"git","introduced":"3a5761dc025da47960755ac64d9fbf1c32e8cd80","fixed":"3da45ec1e485a1a5ad31fe9ddd467c7ee5ae4ef9","status":"affected"},{"type":"git","introduced":"3a5761dc025da47960755ac64d9fbf1c32e8cd80","fixed":"cce3d027227c69e85896af9fbc6fa9af5c68f067","status":"affected"},{"type":"git","introduced":"3a5761dc025da47960755ac64d9fbf1c32e8cd80","fixed":"1c951683a720b17c9ecaad1932bc95b29044611f","status":"affected"},{"type":"git","introduced":"3a5761dc025da47960755ac64d9fbf1c32e8cd80","fixed":"9b5ec8e6b31755288a07b3abeeab8cd38e9d3c9d","status":"affected"},{"type":"git","introduced":"3a5761dc025da47960755ac64d9fbf1c32e8cd80","fixed":"1bba3900ca18bdae28d1b9fa10f16a8f8cb2ada1","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.0","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.0","status":"unaffected"},{"type":"semver","introduced":"6.1.167","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.130","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.43","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.15.11","lastAffected":"6.15.*","status":"unaffected"},{"type":"semver","introduced":"6.16.2","lastAffected":"6.16.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.17","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"6.12.43"},{"status":"affected","introduced":"6.13","fixed":"6.15.11"},{"status":"affected","introduced":"6.16","fixed":"6.16.2"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/b097ae798298885695c339d390b48b4e39619fa7","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3da45ec1e485a1a5ad31fe9ddd467c7ee5ae4ef9","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/cce3d027227c69e85896af9fbc6fa9af5c68f067","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1c951683a720b17c9ecaad1932bc95b29044611f","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9b5ec8e6b31755288a07b3abeeab8cd38e9d3c9d","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/1bba3900ca18bdae28d1b9fa10f16a8f8cb2ada1","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-082556.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-019113.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-457936.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-784472.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-38704","url":"https://www.cve.org/CVERecord?id=CVE-2025-38704","licence":"CVE Terms of Use","modified":"2026-11-10T12:36:33.468Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-38704","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-38704","licence":"Public domain","modified":"2026-11-10T13:17:47.833Z"}],"updatedAt":"2026-11-25T22:59:04.148Z","epss":{"score":0.00208,"percentile":0.11617,"date":"2026-12-01T12:00:22.000Z"}}