{"id":"CVE-2026-89547","published":"2026-09-11T19:44:22Z","modified":"2026-10-19T08:48:38Z","title":"SUNRPC: Check svc pool percpu counter allocation","vendor":"Linux","product":"Linux","tier":"tail","description":{"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00568,"percentile":0.4086,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/57ac7d899409b0a9b768cf417e3bb86bcca3d4c6","tags":[]},{"url":"https://git.kernel.org/stable/c/3a2b7649de76376a69f1d3ed2a539fb15907cd4d","tags":[]},{"url":"https://git.kernel.org/stable/c/bd1ef2cfb44d72b7aa6943e87b206eb0e30fbd0c","tags":[]},{"url":"https://git.kernel.org/stable/c/b541a15046976e481618726cc23db0fb22d576db","tags":[]},{"url":"https://git.kernel.org/stable/c/43e11e164704dde975c9edb370de1a06bec67270","tags":[]}],"priority":{"score":13.8,"factors":[{"name":"EPSS percentile","points":8.17},{"name":"CVSS severity","points":5.67}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= ccf08bed6e7a80519569456edd2ea21b7b1701c6, < 57ac7d899409b0a9b768cf417e3bb86bcca3d4c6",">= ccf08bed6e7a80519569456edd2ea21b7b1701c6, < 3a2b7649de76376a69f1d3ed2a539fb15907cd4d",">= ccf08bed6e7a80519569456edd2ea21b7b1701c6, < bd1ef2cfb44d72b7aa6943e87b206eb0e30fbd0c",">= ccf08bed6e7a80519569456edd2ea21b7b1701c6, < b541a15046976e481618726cc23db0fb22d576db",">= ccf08bed6e7a80519569456edd2ea21b7b1701c6, < 43e11e164704dde975c9edb370de1a06bec67270"]},{"vendor":"Linux","product":"Linux","versions":["6.3"]}],"euvd":{"id":"EUVD-2026-76458","exploited":false,"provenance":"source"}}