Bugzilla – Bug 1220762
VUL-0: CVE-2021-47050: kernel: memory: renesas-rpc-if: fix possible NULL pointer dereference of resource
Last modified: 2024-04-19 13:02:09 UTC
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 References: http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-47050 https://www.cve.org/CVERecord?id=CVE-2021-47050 https://git.kernel.org/stable/c/59e27d7c94aa02da039b000d33c304c179395801 https://git.kernel.org/stable/c/71bcc1b4a1743534d8abdcb57ff912e6bc390438 https://git.kernel.org/stable/c/a74cb41af7dbe019e4096171f8bc641c7ce910ad https://git.kernel.org/stable/c/e16acc3a37f09e18835dc5d8014942c2ef6ca957 https://bugzilla.redhat.com/show_bug.cgi?id=2266735
All affected branches already contain the fix. Closing.
All done, closing.