CVE-2021-47050

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

State
Published
Severity
Not scored
Published
Feb 28, 2024
Updated
May 11, 2026
Reserved
Feb 27, 2024

Read the record on cve.org

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

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • ca7d8b980b67f133317525c4273e144116ee1ae5 to before 71bcc1b4a1743534d8abdcb57ff912e6bc390438Affected
  • ca7d8b980b67f133317525c4273e144116ee1ae5 to before e16acc3a37f09e18835dc5d8014942c2ef6ca957Affected
  • ca7d8b980b67f133317525c4273e144116ee1ae5 to before a74cb41af7dbe019e4096171f8bc641c7ce910adAffected
  • ca7d8b980b67f133317525c4273e144116ee1ae5 to before 59e27d7c94aa02da039b000d33c304c179395801Affected
LinuxLinux
  • 5.9Affected
  • before 5.9Not affected
  • 5.10.37 through 5.10.*Not affected
  • 5.11.21 through 5.11.*Not affected
  • 5.12.4 through 5.12.*Not affected
  • 5.13 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.