CVEvulnerability
CVE-2021-47050
5.5 MEDIUM
Official page ↗
- Status
- Analyzed
- Published
- 2024-02-28
- Last modified
- 2026-06-17
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- CVSS 3.1 ([email protected])
- 5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-476
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 configurations
• linux linux kernel (>= 5.9 < 5.10.37)
• linux linux kernel (>= 5.11 < 5.11.21)
• linux linux kernel (>= 5.12 < 5.12.4)
Related
Weakness · CWE (1)
- CWE-476 NULL Pointer Dereference weakness
References
- https://git.kernel.org/stable/c/59e27d7c94aa02da039b000d33c304c179395801 Patch
- https://git.kernel.org/stable/c/71bcc1b4a1743534d8abdcb57ff912e6bc390438 Patch
- https://git.kernel.org/stable/c/a74cb41af7dbe019e4096171f8bc641c7ce910ad Patch
- https://git.kernel.org/stable/c/e16acc3a37f09e18835dc5d8014942c2ef6ca957 Patch
- https://git.kernel.org/stable/c/59e27d7c94aa02da039b000d33c304c179395801 Patch
- https://git.kernel.org/stable/c/71bcc1b4a1743534d8abdcb57ff912e6bc390438 Patch
- https://git.kernel.org/stable/c/a74cb41af7dbe019e4096171f8bc641c7ce910ad Patch
- https://git.kernel.org/stable/c/e16acc3a37f09e18835dc5d8014942c2ef6ca957 Patch