# CVE-2021-47050: memory: renesas-rpc-if: fix possible NULL pointer dereference of resource

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 15% of CVEs (2026-12-01)
- Published: 2024-02-28T08:13:52.801Z
- Modified: 2026-06-17T04:16:18.810Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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

(As written by CVE List.)

## Affected

- Linux Linux: from 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 *)
- linux linux_kernel: from 5.9 before 5.10.37; from 5.11 before 5.11.21; from 5.12 before 5.12.4

## References

- <https://git.kernel.org/stable/c/71bcc1b4a1743534d8abdcb57ff912e6bc390438> (patch)
- <https://git.kernel.org/stable/c/e16acc3a37f09e18835dc5d8014942c2ef6ca957> (patch)
- <https://git.kernel.org/stable/c/a74cb41af7dbe019e4096171f8bc641c7ce910ad> (patch)
- <https://git.kernel.org/stable/c/59e27d7c94aa02da039b000d33c304c179395801> (patch)

## Sources

- CVE List: [CVE-2021-47050](https://www.cve.org/CVERecord?id=CVE-2021-47050), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2021-47050](https://nvd.nist.gov/vuln/detail/CVE-2021-47050), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-47050 · Whole record: https://cve.day/CVE-2021-47050.json · Rebuilt by cve.day 2026-11-25T22:58:08.635Z
