CVE-2025-37895

Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
20/05/2025
Last modified:
21/05/2025

Description

In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> bnxt_en: Fix error handling path in bnxt_init_chip()<br /> <br /> WARN_ON() is triggered in __flush_work() if bnxt_init_chip() fails<br /> because we call cancel_work_sync() on dim work that has not been<br /> initialized.<br /> <br /> WARNING: CPU: 37 PID: 5223 at kernel/workqueue.c:4201 __flush_work.isra.0+0x212/0x230<br /> <br /> The driver relies on the BNXT_STATE_NAPI_DISABLED bit to check if dim<br /> work has already been cancelled. But in the bnxt_open() path,<br /> BNXT_STATE_NAPI_DISABLED is not set and this causes the error<br /> path to think that it needs to cancel the uninitalized dim work.<br /> Fix it by setting BNXT_STATE_NAPI_DISABLED during initialization.<br /> The bit will be cleared when we enable NAPI and initialize dim work.

Impact