{"id":"CVE-2026-89547","aliases":["CVE-2026-89547"],"related":[],"kind":"vulnerability","state":"published","title":"SUNRPC: Check svc pool percpu counter allocation","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nSUNRPC: Check svc pool percpu counter allocation\n\n__svc_create() initializes three per-pool percpu_counter stats and\nignores every return value. On SMP, percpu_counter_init() fails when\n__alloc_percpu_gfp() cannot satisfy the allocation, leaving the failed\ncounter with fbc->counters == NULL and its embedded raw_spinlock_t,\nlist_head, and count never initialized. __svc_create() returns the\nhalf-constructed svc_serv to nfsd, lockd, or the NFS callback service\nanyway.\n\nOnce that service is live, the hot-path increments in\nsvc_xprt_enqueue(), svc_handle_xprt(), and\nsvc_pool_wake_idle_thread() reach a counter whose backing pointer is\nNULL. The pointer is a per-cpu offset, so the access does not fault:\nit resolves to offset zero of the current CPU's per-cpu area and\nsilently corrupts whatever variable lives there. A\n/proc/fs/nfsd/pool_stats read walks the same NULL per-cpu storage and\nreturns garbage, and on CONFIG_DEBUG_SPINLOCK or lockdep it splats on\nthe never-initialized lock.\n\nCreating the broken service requires a percpu allocation failure during\nRPC server startup, so it is reachable only by a local administrator\nunder memory pressure or fault injection; a remote peer cannot induce\nthe bad state on its own.\n\nCheck each percpu_counter_init() return value in __svc_create() and\nfail when an allocation fails, unwinding the counters already set up\nin the current pool and in every pool initialized before it. A\ndiscrete percpu_counter_destroy() per counter at teardown frees each\nper-cpu allocation exactly once.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nSUNRPC: Check svc pool percpu counter allocation\n\n__svc_create() initializes three per-pool percpu_counter stats and\nignores every return value. On SMP, percpu_counter_init() fails when\n__alloc_percpu_gfp() cannot satisfy the allocation, leaving the failed\ncounter with fbc->counters == NULL and its embedded raw_spinlock_t,\nlist_head, and count never initialized. __svc_create() returns the\nhalf-constructed svc_serv to nfsd, lockd, or the NFS callback service\nanyway.\n\nOnce that service is live, the hot-path increments in\nsvc_xprt_enqueue(), svc_handle_xprt(), and\nsvc_pool_wake_idle_thread() reach a counter whose backing pointer is\nNULL. The pointer is a per-cpu offset, so the access does not fault:\nit resolves to offset zero of the current CPU's per-cpu area and\nsilently corrupts whatever variable lives there. A\n/proc/fs/nfsd/pool_stats read walks the same NULL per-cpu storage and\nreturns garbage, and on CONFIG_DEBUG_SPINLOCK or lockdep it splats on\nthe never-initialized lock.\n\nCreating the broken service requires a percpu allocation failure during\nRPC server startup, so it is reachable only by a local administrator\nunder memory pressure or fault injection; a remote peer cannot induce\nthe bad state on its own.\n\nCheck each percpu_counter_init() return value in __svc_create() and\nfail when an allocation fails, unwinding the counters already set up\nin the current pool and in every pool initialized before it. A\ndiscrete percpu_counter_destroy() per counter at teardown frees each\nper-cpu allocation exactly once.","source":"cvelist"}],"published":"2026-09-11T19:44:22.644Z","modified":"2026-10-19T09:17:49.830Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.1,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.1,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"ccf08bed6e7a80519569456edd2ea21b7b1701c6","fixed":"57ac7d899409b0a9b768cf417e3bb86bcca3d4c6","status":"affected"},{"type":"git","introduced":"ccf08bed6e7a80519569456edd2ea21b7b1701c6","fixed":"3a2b7649de76376a69f1d3ed2a539fb15907cd4d","status":"affected"},{"type":"git","introduced":"ccf08bed6e7a80519569456edd2ea21b7b1701c6","fixed":"bd1ef2cfb44d72b7aa6943e87b206eb0e30fbd0c","status":"affected"},{"type":"git","introduced":"ccf08bed6e7a80519569456edd2ea21b7b1701c6","fixed":"b541a15046976e481618726cc23db0fb22d576db","status":"affected"},{"type":"git","introduced":"ccf08bed6e7a80519569456edd2ea21b7b1701c6","fixed":"43e11e164704dde975c9edb370de1a06bec67270","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.3","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.3","status":"unaffected"},{"type":"semver","introduced":"6.6.157","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.109","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.50","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.4","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/57ac7d899409b0a9b768cf417e3bb86bcca3d4c6","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3a2b7649de76376a69f1d3ed2a539fb15907cd4d","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/bd1ef2cfb44d72b7aa6943e87b206eb0e30fbd0c","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b541a15046976e481618726cc23db0fb22d576db","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/43e11e164704dde975c9edb370de1a06bec67270","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-89547","url":"https://www.cve.org/CVERecord?id=CVE-2026-89547","licence":"CVE Terms of Use","modified":"2026-10-19T08:48:38.898Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-89547","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-89547","licence":"Public domain","modified":"2026-10-19T09:17:49.830Z"}],"updatedAt":"2026-11-25T22:59:38.061Z","epss":{"score":0.00561,"percentile":0.4803,"date":"2026-12-01T12:00:22.000Z"}}