net: do not pass flow_id to set_rps_cpu()
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 |
|
|
6.18.166.19.67.0In the Linux kernel, the following vulnerability has been resolved:
net: do not pass flow_id to set_rps_cpu()
Blamed commit made the assumption that the RPS table for each receive queue would have the same size, and that it would not change.
Compute flow_id in set_rps_cpu(), do not assume we can use the value computed by get_rps_cpu(). Otherwise we risk out-of-bound access and/or crashes.
From the CVE record · Linux
The Linux kernel can access memory out of bounds or crash when selecting an RPS CPU because it reuses a flow ID calculated for a receive-queue RPS table whose size may differ or change. The input does not specify how an attacker could trigger this, whether authentication is required, or whether user interaction is needed.
Anyone running the Linux kernel should check whether their kernel includes the affected change; affected versions were not provided.