SUNRPC: Fix null pointer dereference in svc_rqst_free()
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
SUNRPC: Fix null pointer dereference in svc_rqst_free()
When alloc_pages_node() returns null in svc_rqst_alloc(), the null rq_scratch_page pointer will be dereferenced when calling put_page() in svc_rqst_free(). Fix it by adding a null check.
Addresses-Coverity: ("Dereference after null check")
From the CVE record · Linux
In the Linux kernel's SUNRPC code, a failed page allocation can leave a null pointer that is dereferenced when a request is freed. This can cause a crash; the input does not establish whether an attacker can trigger it or whether network access, authentication, or user interaction is required.
Teams running the Linux kernel should check their deployments; affected versions are not specified.