net: mvneta: Prevent out of bounds read in mvneta_config_rss()
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ cad5d847a093077b499a8b0bbfe6804b9226c03e · < a6b30598fec84f8809f5417cde73071ca43e8471| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
net: mvneta: Prevent out of bounds read in mvneta_config_rss()
The pp->indir[0] value comes from the user. It is passed to:
if (cpu_online(pp->rxq_def))
inside the mvneta_percpu_elect() function. It needs bounds checkeding to ensure that it is not beyond the end of the cpu bitmap.
From the CVE record · Linux
The Linux kernel's mvneta RSS configuration path does not bounds-check a user-provided value before using it to check the CPU bitmap. A value beyond the bitmap can cause an out-of-bounds read. The input does not specify whether exploitation requires local access, authentication, or user interaction.
Engineers running Linux kernels with the mvneta driver should check their installations; affected versions are not specified.