Bug 1220676 (CVE-2021-47002) - VUL-0: CVE-2021-47002: kernel: SUNRPC: null pointer dereference in svc_rqst_free()
Summary: VUL-0: CVE-2021-47002: kernel: SUNRPC: null pointer dereference in svc_rqst_f...
Status: RESOLVED FIXED
Alias: CVE-2021-47002
Product: SUSE Security Incidents
Classification: Novell Products
Component: Incidents (show other bugs)
Version: unspecified
Hardware: Other Other
: P3 - Medium : Normal
Target Milestone: ---
Assignee: Kernel Bugs
QA Contact: Security Team bot
URL: https://smash.suse.de/issue/395451/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-02-29 13:10 UTC by SMASH SMASH
Modified: 2024-02-29 13:17 UTC (History)
1 user (show)

See Also:
Found By: Security Response Team
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description SMASH SMASH 2024-02-29 13:10:33 UTC
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")

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-47002
https://git.kernel.org/stable/c/b9f83ffaa0c096b4c832a43964fe6bff3acffe10
https://git.kernel.org/stable/c/c664aaec9aee544538a78ba4893a44bc73a6d742
https://www.cve.org/CVERecord?id=CVE-2021-47002
https://git.kernel.org/stable/c/1e10f58f1c9a6b667b045513c7a4e6111c24fe7c
Comment 1 Thomas Leroy 2024-02-29 13:11:01 UTC
Affected branches (SLE15-SP6, cve/linux-5.14, stable) already
fixed, closing
Comment 2 Thomas Leroy 2024-02-29 13:17:45 UTC
closing