title: 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:
{
product: Linux
vendor: Linux
defaultStatus: unaffected
repo: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
versions:
version: 5191955d6fc6, lessThan: 1e10f58f1c9a, status: affected, versionType: git
version: 5191955d6fc6, lessThan: c664aaec9aee, status: affected, versionType: git
version: 5191955d6fc6, lessThan: b9f83ffaa0c0, status: affected, versionType: git
}
{
product: Linux
vendor: Linux
defaultStatus: affected
repo: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
versions:
version: 5.11, status: affected
version: 0, lessThan: 5.11, status: unaffected, versionType: custom
version: 5.11.22, lessThanOrEqual: 5.11.*, status: unaffected, versionType: custom
version: 5.12.5, lessThanOrEqual: 5.12.*, status: unaffected, versionType: custom
version: 5.13, lessThanOrEqual: *, status: unaffected, versionType: original_commit_for_fix
}
