SUNRPC: Fix null pointer dereference in svc_rqst_free()
Summary
| CVE | CVE-2021-47002 |
|---|---|
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2024-02-28 09:15:38 UTC |
| Updated | 2026-05-12 10:16:36 UTC |
| 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") |
Risk And Classification
Primary CVSS: v3.1 5.5 MEDIUM from [email protected]
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Problem Types: CWE-476
CVSS v3.1 Breakdown
Attack Vector
LocalAttack Complexity
LowPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
NoneIntegrity
NoneAvailability
HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Operating System | Linux | Linux Kernel | All | All | All | All |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Linux | Linux | affected 79e4e0d489c8e72b9efa388e504a036eec1550c6 3de81c1e84bf84803308da3272a829a7655c5336 git | Not specified |
| CNA | Linux | Linux | affected 5191955d6fc65e6d4efe8f4f10a6028298f57281 1e10f58f1c9a6b667b045513c7a4e6111c24fe7c git | Not specified |
| CNA | Linux | Linux | affected 5191955d6fc65e6d4efe8f4f10a6028298f57281 c664aaec9aee544538a78ba4893a44bc73a6d742 git | Not specified |
| CNA | Linux | Linux | affected 5191955d6fc65e6d4efe8f4f10a6028298f57281 b9f83ffaa0c096b4c832a43964fe6bff3acffe10 git | Not specified |
| CNA | Linux | Linux | affected 5.11 | Not specified |
| CNA | Linux | Linux | unaffected 5.11 semver | Not specified |
| CNA | Linux | Linux | unaffected 5.10.221 5.10.* semver | Not specified |
| CNA | Linux | Linux | unaffected 5.11.22 5.11.* semver | Not specified |
| CNA | Linux | Linux | unaffected 5.12.5 5.12.* semver | Not specified |
| CNA | Linux | Linux | unaffected 5.13 * original_commit_for_fix | Not specified |
| ADP | Siemens | SIMATIC S7-1500 TM MFP - GNU/Linux Subsystem | affected * custom | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| git.kernel.org/stable/c/b9f83ffaa0c096b4c832a43964fe6bff3acffe10 | af854a3a-2127-422b-91ae-364da2661108 | git.kernel.org | Patch |
| git.kernel.org/stable/c/c664aaec9aee544538a78ba4893a44bc73a6d742 | af854a3a-2127-422b-91ae-364da2661108 | git.kernel.org | Patch |
| cert-portal.siemens.com/productcert/html/ssa-265688.html | 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e | cert-portal.siemens.com | |
| git.kernel.org/stable/c/1e10f58f1c9a6b667b045513c7a4e6111c24fe7c | af854a3a-2127-422b-91ae-364da2661108 | git.kernel.org | Patch |
| git.kernel.org/stable/c/3de81c1e84bf84803308da3272a829a7655c5336 | af854a3a-2127-422b-91ae-364da2661108 | git.kernel.org | Patch |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.