memory: renesas-rpc-if: fix possible NULL pointer dereference of resource
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
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
From the CVE record · Linux
The Linux kernel's renesas-rpc-if memory driver can dereference a NULL resource pointer when platform_get_resource_byname() returns NULL. This can cause a NULL pointer dereference; the input does not establish an attacker route, authentication requirements, or user interaction.
Engineers running the Linux kernel with the renesas-rpc-if driver should check their kernel versions; affected versions were not provided.