CVE-2021-47050
JSON

5.5medium

memory: renesas-rpc-if: fix possible NULL pointer dereference of resource

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.24% (higher than 15% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: memory: renesas-rpc-if: fix possible NULL pointer dereference of resource The platform_get_resource_byname() can return NULL which would be immediately dereferenced by resource_size(). Instead dereference it after validating the resource. Addresses-Coverity: Dereference null return value

Affected

Product or packageVersionsReported by
Linux Linuxfrom ca7d8b980b67f133317525c4273e144116ee1ae5 before 71bcc1b4a1743534d8abdcb57ff912e6bc390438, from ca7d8b980b67f133317525c4273e144116ee1ae5 before e16acc3a37f09e18835dc5d8014942c2ef6ca957, from ca7d8b980b67f133317525c4273e144116ee1ae5 before a74cb41af7dbe019e4096171f8bc641c7ce910ad, from ca7d8b980b67f133317525c4273e144116ee1ae5 before 59e27d7c94aa02da039b000d33c304c179395801, 5.9
Not affected: before 5.9, from 5.10.37 up to 5.10.*, from 5.11.21 up to 5.11.*, from 5.12.4 up to 5.12.*, from 5.13 up to *
CVE List
linux linux_kernelfrom 5.9 before 5.10.37, from 5.11 before 5.11.21, from 5.12 before 5.12.4NVD

Classification

CWE-476

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

In the Linux kernel, the following vulnerability has been resolved: memory: renesas-rpc-if: fix possible NULL pointer dereference of resource The platform_get_resource_byname() can return NULL which would be immediately dereferenced by resource_size(). Instead dereference it after validating the resource. Addresses-Coverity: Dereference null return value

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: memoria: renesas-rpc-if: corrige posible desreferencia del puntero NULL del recurso Platform_get_resource_byname() puede devolver NULL, que sería inmediatamente desreferenciado por Resource_size(). En su lugar, elimine la referencia después de validar el recurso. Direcciones-Cobertura: Desreferencia valor de retorno nulo

References

Sources

SourceRecordLicence
CVE ListCVE-2021-47050 changed 2026-05-11CVE Terms of Use
NVDCVE-2021-47050 changed 2026-06-17Public domain