In the Linux kernel, the following vulnerability has been resolved: NFSD: stop registering with rpcbind after a failure in listener_set nfsd_nl_list...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| Debian:13linux |
< 6.12.118-1→ 6.12.118-1 |
6.12.118-1 |
| Debian:14linux |
< 7.3.5-1→ 7.3.5-1 |
7.3.5-1 |
| Debian:12linux-6.12 |
< 6.12.118-1~deb12u1→ 6.12.118-1~deb12u1 |
6.12.118-1~deb12u1 |
Original description The description as published by the source.
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.
Source: OSV.dev (Open Source Vulnerabilities) OSV
References
- advisory security-tracker.debian.org