CVE-2026-99790
NFSD: stop registering with rpcbind after a failure in listener_set
- CVSS
- —
- EPSS
- 0.16% (p5)
- Published
- 2026-11-20
- Age
- 14d old
- Modified
- 2026-11-20
- Product
- Linux Linux
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.
Fixed in
76ca00a4eca507550af13118289169bc4b508b82 · bf0f3a37e6ccb78ae80cc6eb2edde4f033c7574c · d7515faec4d1b3c67c1c18ec28abad83d90ef8c1 · f21188d163fe7a6c930ef387af5937b9f7322725
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| vendor | Linux | >=16a471177496c8e04a9793812c187a2c1a2192fa, <76ca00a4eca507550af13118289169bc4b508b82 | 76ca00a4eca507550af13118289169bc4b508b82 |
| vendor | Linux | >=16a471177496c8e04a9793812c187a2c1a2192fa, <bf0f3a37e6ccb78ae80cc6eb2edde4f033c7574c | bf0f3a37e6ccb78ae80cc6eb2edde4f033c7574c |
| vendor | Linux | >=16a471177496c8e04a9793812c187a2c1a2192fa, <d7515faec4d1b3c67c1c18ec28abad83d90ef8c1 | d7515faec4d1b3c67c1c18ec28abad83d90ef8c1 |
| vendor | Linux | >=16a471177496c8e04a9793812c187a2c1a2192fa, <f21188d163fe7a6c930ef387af5937b9f7322725 | f21188d163fe7a6c930ef387af5937b9f7322725 |
Sources
References
- https://git.kernel.org/stable/c/f21188d163fe7a6c930ef387af5937b9f7322725 other
- https://git.kernel.org/stable/c/d7515faec4d1b3c67c1c18ec28abad83d90ef8c1 other
- https://git.kernel.org/stable/c/76ca00a4eca507550af13118289169bc4b508b82 other
- https://git.kernel.org/stable/c/bf0f3a37e6ccb78ae80cc6eb2edde4f033c7574c other