RDMA/bnxt_re: Fix out of bound check
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.6.596.11.66.12In the Linux kernel, the following vulnerability has been resolved:
RDMA/bnxt_re: Fix out of bound check
Driver exports pacing stats only on GenP5 and P7 adapters. But while parsing the pacing stats, driver has a check for "rdev->dbr_pacing". This caused a trace when KASAN is enabled.
BUG: KASAN: slab-out-of-bounds in bnxt_re_get_hw_stats+0x2b6a/0x2e00 [bnxt_re] Write of size 8 at addr ffff8885942a6340 by task modprobe/4809
From the CVE record · Linux
The Linux kernel's bnxt_re driver uses an incorrect check while parsing pacing statistics, which are exported only on GenP5 and P7 adapters. This can cause an out-of-bounds write and a trace when KASAN is enabled. The input does not establish an attacker path, authentication requirement, or user-interaction condition.
Engineers running the Linux kernel with the bnxt_re driver should check their installations; affected versions are not specified.