ntb: ntb_hw_switchtec: Fix array-index-out-of-bounds access
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ ec0467ccbdeb69a86c8729073057bda7bce00eec · < 2346856b74823a2a78109002e479a3d02526a9ce| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
ntb: ntb_hw_switchtec: Fix array-index-out-of-bounds access
Number of MW LUTs depends on NTB configuration and can be set to MAX_MWS, This patch protects against invalid index out of bounds access to mw_sizes When invalid access print message to user that configuration is not valid.
From the CVE record · Linux
The Linux kernel's ntb_hw_switchtec driver can access mw_sizes outside its bounds when the NTB configuration sets the number of memory-window LUTs to MAX_MWS. The input does not establish how an attacker could trigger this access or whether network access, authentication, or user interaction is required.
Engineers running Linux kernels with the ntb_hw_switchtec driver should check their versions; affected versions were not provided.