What’s Vulnerable › Vulnerabilities

CVE-2021-47002: SUNRPC: Fix null pointer dereference in svc_rqst_free()

Description

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")

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 5.10.221, 5.11.22, 5.12.5. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2021-47002 or the next vulnerability affects your stack