bnxt: avoid overflow in bnxt_get_nvram_directory()
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:
bnxt: avoid overflow in bnxt_get_nvram_directory()
The value of an arithmetic expression is subject of possible overflow due to a failure to cast operands to a larger data type before performing arithmetic. Used macro for multiplication instead operator for avoiding overflow.
Found by Security Code and Linux Verification Center (linuxtesting.org) with SVACE.
From the CVE record · Linux
The Linux kernel's bnxt_get_nvram_directory() function has a possible arithmetic overflow because operands were not cast to a larger type before multiplication. The input does not describe what an attacker could do or specify network access, authentication, or user-interaction requirements.
Engineers running the Linux kernel should check whether their version includes the bnxt_get_nvram_directory() fix; affected versions are not specified.