{"id":"CVE-2025-38704","summary":"rcu/nocb: Fix possible invalid rdp's-\u003enocb_cb_kthread pointer access","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nrcu/nocb: Fix possible invalid rdp's-\u003enocb_cb_kthread pointer access\n\nIn the preparation stage of CPU online, if the corresponding\nthe rdp's-\u003enocb_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-\u003enocb_cb_kthread pointer, but this rdp's-\u003enocb_gp_rdp and\nrdp's-\u003erdp_gp-\u003enocb_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-\u003enocb_cb_kthread pointer.\n\nThis commit therefore use rdp's-\u003enocb_gp_kthread instead of\nrdp_gp's-\u003enocb_gp_kthread for safety check.","modified":"2026-04-02T12:48:05.466711Z","published":"2025-09-04T15:32:55.718Z","related":["SUSE-SU-2026:20207-1","SUSE-SU-2026:20220-1","SUSE-SU-2026:20228-1","openSUSE-SU-2026:20145-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38704.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/1bba3900ca18bdae28d1b9fa10f16a8f8cb2ada1"},{"type":"WEB","url":"https://git.kernel.org/stable/c/1c951683a720b17c9ecaad1932bc95b29044611f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/3da45ec1e485a1a5ad31fe9ddd467c7ee5ae4ef9"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9b5ec8e6b31755288a07b3abeeab8cd38e9d3c9d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b097ae798298885695c339d390b48b4e39619fa7"},{"type":"WEB","url":"https://git.kernel.org/stable/c/cce3d027227c69e85896af9fbc6fa9af5c68f067"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38704.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-38704"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"3a5761dc025da47960755ac64d9fbf1c32e8cd80"},{"fixed":"b097ae798298885695c339d390b48b4e39619fa7"},{"fixed":"3da45ec1e485a1a5ad31fe9ddd467c7ee5ae4ef9"},{"fixed":"cce3d027227c69e85896af9fbc6fa9af5c68f067"},{"fixed":"1c951683a720b17c9ecaad1932bc95b29044611f"},{"fixed":"9b5ec8e6b31755288a07b3abeeab8cd38e9d3c9d"},{"fixed":"1bba3900ca18bdae28d1b9fa10f16a8f8cb2ada1"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-38704.json"}}],"schema_version":"1.7.5"}