What’s Vulnerable › Vulnerabilities

CVE-2026-99790: NFSD: stop registering with rpcbind after a failure in listener_set

Description

In the Linux kernel, the following vulnerability has been resolved: NFSD: stop registering with rpcbind after a failure in listener_set nfsd_nl_listener_set_doit() calls svc_xprt_create_from_sa() once for each requested listener and passes flags of 0, so every listener registers with rpcbind on its own. A rpcbind that accepts the connection and never replies therefore costs one timeout for each entry. With the cap of 1024 entries the request can hold nfsd_mutex for about 34 minutes, which is roughly 17 times the hung-task threshold. One failure is enough to know that the next call will not fare better. Read svc_rpcb_failure_count() before the create loop, and pass SVC_SOCK_ANONYMOUS for the rest of the request once the count moves.

Affected products

How to fix

Upgrade to a fixed version: Linux 7.4-rc1. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-99790 or the next vulnerability affects your stack