NULL pointer dereference in Linux

CVE-2021-47002

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

Published · last modified .

CVSS v3 metric

CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H.

EPSS exploit prediction

EPSS 0.002, 14.7th percentile (last changed ); unchanged over 30 days. About EPSS.

Affected products

  • Linux — versions 5.10.220, 5.11.22, 79e4e0d489c8e72b9efa388e504a036eec1550c6
  • Linux Kernel

Weakness classification (CWE)

References