sunrpc: clear XPRT_SOCK_UPD_TIMEOUT when reset transport
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 7196dbb02ea05835b9ee56910ee82cb55422c7f1 · < 638a8fa5a7e641f9401346c57e236f02379a0c40| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
sunrpc: clear XPRT_SOCK_UPD_TIMEOUT when reset transport
Since transport->sock has been set to NULL during reset transport, XPRT_SOCK_UPD_TIMEOUT also needs to be cleared. Otherwise, the xs_tcp_set_socket_timeouts() may be triggered in xs_tcp_send_request() to dereference the transport->sock that has been set to NULL.
From the CVE record · Linux
A transport reset can leave XPRT_SOCK_UPD_TIMEOUT set after the socket is cleared, allowing a later send request to dereference a NULL socket. The input does not describe how an attacker could trigger this or whether authentication, network access, or user interaction is required.
Engineers running Linux kernels with the affected sunrpc code should check their systems; affected versions are not specified.