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

Medium 5.5 Published Updated

A null pointer dereference in the Linux kernel SUNRPC module can cause a system crash, requiring a kernel patch to fix.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2021-47002?

CVE-2021-47002 is a medium-severity vulnerability in Linux kernel, published on 28 Feb 2024. It can only be exploited from the same machine or local network, with no action from the victim.

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

Weakness: CWE-476

Which versions are affected by CVE-2021-47002?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2021-47002?

No fix has been published for CVE-2021-47002 yet. Limit exposure of the affected software until one is available.

Is CVE-2021-47002 being exploited?

There is no known exploitation of CVE-2021-47002 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as GHSA-wqm6-ppvq-v664, UBUNTU-CVE-2021-47002.

Is CVE-2021-47002 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free