# CVE-2026-89547: SUNRPC: Check svc pool percpu counter allocation

- Severity: High 8.1 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.56%, higher than 48% of CVEs (2026-12-01)
- Published: 2026-09-11T19:44:22.644Z
- Modified: 2026-10-19T09:17:49.830Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

SUNRPC: Check svc pool percpu counter allocation

__svc_create() initializes three per-pool percpu_counter stats and
ignores every return value. On SMP, percpu_counter_init() fails when
__alloc_percpu_gfp() cannot satisfy the allocation, leaving the failed
counter with fbc->counters == NULL and its embedded raw_spinlock_t,
list_head, and count never initialized. __svc_create() returns the
half-constructed svc_serv to nfsd, lockd, or the NFS callback service
anyway.

Once that service is live, the hot-path increments in
svc_xprt_enqueue(), svc_handle_xprt(), and
svc_pool_wake_idle_thread() reach a counter whose backing pointer is
NULL. The pointer is a per-cpu offset, so the access does not fault:
it resolves to offset zero of the current CPU's per-cpu area and
silently corrupts whatever variable lives there. A
/proc/fs/nfsd/pool_stats read walks the same NULL per-cpu storage and
returns garbage, and on CONFIG_DEBUG_SPINLOCK or lockdep it splats on
the never-initialized lock.

Creating the broken service requires a percpu allocation failure during
RPC server startup, so it is reachable only by a local administrator
under memory pressure or fault injection; a remote peer cannot induce
the bad state on its own.

Check each percpu_counter_init() return value in __svc_create() and
fail when an allocation fails, unwinding the counters already set up
in the current pool and in every pool initialized before it. A
discrete percpu_counter_destroy() per counter at teardown frees each
per-cpu allocation exactly once.

(As written by CVE List.)

## Affected

- Linux Linux: from ccf08bed6e7a80519569456edd2ea21b7b1701c6 before 57ac7d899409b0a9b768cf417e3bb86bcca3d4c6; from ccf08bed6e7a80519569456edd2ea21b7b1701c6 before 3a2b7649de76376a69f1d3ed2a539fb15907cd4d; from ccf08bed6e7a80519569456edd2ea21b7b1701c6 before bd1ef2cfb44d72b7aa6943e87b206eb0e30fbd0c; from ccf08bed6e7a80519569456edd2ea21b7b1701c6 before b541a15046976e481618726cc23db0fb22d576db; from ccf08bed6e7a80519569456edd2ea21b7b1701c6 before 43e11e164704dde975c9edb370de1a06bec67270; 6.3 (not affected: before 6.3; from 6.6.157 up to 6.6.*; from 6.12.109 up to 6.12.*; from 6.18.50 up to 6.18.*; from 7.2.4 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/57ac7d899409b0a9b768cf417e3bb86bcca3d4c6>
- <https://git.kernel.org/stable/c/3a2b7649de76376a69f1d3ed2a539fb15907cd4d>
- <https://git.kernel.org/stable/c/bd1ef2cfb44d72b7aa6943e87b206eb0e30fbd0c>
- <https://git.kernel.org/stable/c/b541a15046976e481618726cc23db0fb22d576db>
- <https://git.kernel.org/stable/c/43e11e164704dde975c9edb370de1a06bec67270>

## Sources

- CVE List: [CVE-2026-89547](https://www.cve.org/CVERecord?id=CVE-2026-89547), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-89547](https://nvd.nist.gov/vuln/detail/CVE-2026-89547), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-89547 · Whole record: https://cve.day/CVE-2026-89547.json · Rebuilt by cve.day 2026-11-25T22:59:38.061Z
