bnxt_en: Fix NULL pointer dereference
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 5.15.210, Kernel 6.1.176, Kernel 6.18.36 and 12 more.
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.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=4.17 <5.15.210, >=5.16 <6.1.176, >=6.13 <6.18.36, >=6.19 <7.0.13, >=6.2 <6.6.143, >=6.7 <6.12.94, =7.1, >=e5811b8c09df9bc80eabc95339fceded23f16289 <1449177b87f768353909e930a99b902675119b2b, >=e5811b8c09df9bc80eabc95339fceded23f16289 <1a418ad0e5e525d1d117dd1601681f75455af320, >=e5811b8c09df9bc80eabc95339fceded23f16289 <3884976f87448e269908ae61bd5d62d54ce9c0c7, >=e5811b8c09df9bc80eabc95339fceded23f16289 <580844a9683afe7974856dd5b7886447435b3474, >=e5811b8c09df9bc80eabc95339fceded23f16289 <59c5a3e69c7630a811565937e64be70b08436761, >=e5811b8c09df9bc80eabc95339fceded23f16289 <964b1c3eb71afe58bb61c8b984164447e000ae8a, >=e5811b8c09df9bc80eabc95339fceded23f16289 <d930276f2cddd0b7294cac7a8fe7b877f6d9e08d, =4.17, >=e5811b8c09df9bc80eabc95339fceded23f16289 <08e57d014ea19f303d5d57a849beb846f37788b7 | 5.15.210, 6.1.176, 6.18.36, 7.0.13, 6.6.143, 6.12.94, 1449177b87f768353909e930a99b902675119b2b, 1a418ad0e5e525d1d117dd1601681f75455af320, 3884976f87448e269908ae61bd5d62d54ce9c0c7, 580844a9683afe7974856dd5b7886447435b3474, 59c5a3e69c7630a811565937e64be70b08436761, 964b1c3eb71afe58bb61c8b984164447e000ae8a, d930276f2cddd0b7294cac7a8fe7b877f6d9e08d, 08e57d014ea19f303d5d57a849beb846f37788b7 |
| linux-kernel: Kernel | >=4.17.0 <5.10.260, >=5.11.0 <5.15.210, >=5.16.0 <6.1.176, >=6.13.0 <6.18.36, >=6.19.0 <7.0.13, >=6.2.0 <6.6.143, >=6.7.0 <6.12.94 | 5.10.260, 5.15.210, 6.1.176, 6.18.36, 7.0.13, 6.6.143, 6.12.94 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket