misc: fastrpc: fix memory corruption on probe
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
misc: fastrpc: fix memory corruption on probe
Add the missing sanity check on the probed-session count to avoid corrupting memory beyond the fixed-size slab-allocated session array when there are more than FASTRPC_MAX_SESSIONS sessions defined in the devicetree.
From the CVE record · Linux
The Linux kernel's fastrpc probe lacked a check on the number of sessions defined in the devicetree. If that count exceeds FASTRPC_MAX_SESSIONS, probing can corrupt memory beyond a fixed-size session array. The input does not establish whether an attacker can control the devicetree, whether authentication is needed, or whether user interaction is required.
Engineers running Linux kernels with fastrpc should check their versions; affected versions are not specified.