In the Linux kernel, the following vulnerability has been resolved: bnxt_en: Fix NULL pointer dereference PCIe errors detected by a Root Port or Downstream Port cause error recovery services to run on all subordinate devices regardless of administrative state. The .error_detected() callback, bnxt_io_error_detected(), disables and synchronizes IRQs via bnxt_disable_int_sync(), which calls bnxt_cp_num_to_irq_num() to map completion rings to IRQs using bp->bnapi. Since bp->bnapi is allocated on NIC open and freed on NIC close, PCIe error recovery on a closed NIC can dereference a NULL pointer. Check if bp->bnapi is NULL before disabling and synchronizing IRQs.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
| Attack Vector | LOCAL |
|---|---|
| Attack Complexity | LOW |
| Privileges Required | LOW |
| User Interaction | NONE |
| Scope | UNCHANGED |
| Confidentiality Impact | NONE |
| Integrity Impact | NONE |
| Availability Impact | HIGH |
| Source | Type | Description |
|---|---|---|
| [email protected] | Primary |
en
CWE-476
|
| Vendor | Product | Version | Update | Type |
|---|---|---|---|---|
| linux | linux_kernel | * | <built-in method update of dict object at 0x7fd2dbe955c0> | Operating System |
| linux | linux_kernel | * | <built-in method update of dict object at 0x7fd39c4e5880> | Operating System |
| linux | linux_kernel | * | <built-in method update of dict object at 0x7fd2dbe94240> | Operating System |
| linux | linux_kernel | * | <built-in method update of dict object at 0x7fd2dbe95e80> | Operating System |
| linux | linux_kernel | * | <built-in method update of dict object at 0x7fd2dbe97800> | Operating System |
| linux | linux_kernel | * | <built-in method update of dict object at 0x7fd2dbe96ac0> | Operating System |
| linux | linux_kernel | 7.1 | <built-in method update of dict object at 0x7fd2dbe96c40> | Operating System |
| linux | linux_kernel | 7.1 | <built-in method update of dict object at 0x7fd2dbd9cd00> | Operating System |
| linux | linux_kernel | 7.1 | <built-in method update of dict object at 0x7fd2dbe95540> | Operating System |
| linux | linux_kernel | 7.1 | <built-in method update of dict object at 0x7fd2dbe97080> | Operating System |
| linux | linux_kernel | 7.1 | <built-in method update of dict object at 0x7fd2dbe94340> | Operating System |
| linux | linux_kernel | 7.1 | <built-in method update of dict object at 0x7fd2dbe95500> | Operating System |
| linux | linux_kernel | 7.1 | <built-in method update of dict object at 0x7fd36945cdc0> | Operating System |
| Vulnerable | CPE |
|---|---|
| Yes | cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:7.1:rc1:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:7.1:rc2:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:7.1:rc3:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:7.1:rc4:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:7.1:rc5:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:7.1:rc6:*:*:*:*:*:* |
| Yes | cpe:2.3:o:linux:linux_kernel:7.1:rc7:*:*:*:*:*:* |