CVE-2026-99351

sunrpc: treat empty auth.unix.gid replies as negative entries

No CVSS score yet EPSS 0.26%

Published 19 Nov 2026 Updated 23 Nov 2026 CNA: Linux

Check your servers for CVE-2026-99351

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-99351 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

Description

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

sunrpc: treat empty auth.unix.gid replies as negative entries

When rpc.mountd cannot resolve a uid (getpwuid() or getgrouplist() failure, e.g. while winbind or sssd is briefly unreachable), it answers the auth.unix.gid upcall with zero groups. unix_gid_parse() installs that as a valid positive entry, and svcauth_unix_set_client() then replaces the credential's group list with the empty one on every request, RPCSEC_GSS included via svcauth_gss_set_client(). One failed lookup strips that uid of all supplementary groups on every export for up to mountd's configured TTL (30 minutes by default), long after the NSS backend has recovered.

mountd cannot send an empty list for a successful lookup, since getgrouplist(3) always includes at least the user's primary group, so a zero-group reply can only mean the lookup failed. Record it as a negative entry: unix_gid_find() then returns -ENOENT and svcauth_unix_set_client() keeps the groups the RPC credential already carries. This is the fallback that commit 3fc605a2aa38 ("[PATCH] knfsd: allow the server to provide a gid list when using AUTH_UNIX authentication") promised when no answer is available, and the same state try_to_negate_entry() already creates when no listener holds the channel open.

Exploitation

EPSS 0.26%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 11.1% of all scored CVEs. Scores of 29 Nov 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 3fc605a2aa38899c12180ca311f1eeb61a6d867e, before 544d9ac0f6ea71ef743b249eb5dcd4af4fcf9497
affected from 3fc605a2aa38899c12180ca311f1eeb61a6d867e, before 7257ffbd64309a39b1c5febb8d1709072837e0e1
affected from 3fc605a2aa38899c12180ca311f1eeb61a6d867e, before d449a7448cf18f06eda673095be653d5cc44ae70
affected from 3fc605a2aa38899c12180ca311f1eeb61a6d867e, before c687133dce7fff425a943057b891e782719e112a
affected from 3fc605a2aa38899c12180ca311f1eeb61a6d867e, before 3a791bd9456839f8f13c4686b2287524a0a04141
affected from 3fc605a2aa38899c12180ca311f1eeb61a6d867e, before 8067c654ae8c6d88aa0d499e9974b59ab2fe5042
affected from 3fc605a2aa38899c12180ca311f1eeb61a6d867e, before 9d161fa805f49dd21d131065485065067bb96c8a
affected from 3fc605a2aa38899c12180ca311f1eeb61a6d867e, before a12cc0930235b86b934ade7c077a1935c2ac333d
Other versions: unaffected
Linux
affected 2.6.21
unaffected before 2.6.21
unaffected from 5.10.275 up to and including 5.10.*
unaffected from 5.15.226 up to and including 5.15.*
unaffected from 6.1.193 up to and including 6.1.*
unaffected from 6.6.163 up to and including 6.6.*
unaffected from 6.12.117 up to and including 6.12.*
unaffected from 6.18.61 up to and including 6.18.*
unaffected from 7.3.2 up to and including 7.3.*
unaffected 7.4-rc1 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-99351 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-99351

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2026-99351
trivy image --scanners vuln IMAGE | grep CVE-2026-99351

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2026-99351 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.