CVE-2026-45977

fbnic: close fw_log race between users and teardown

published May 27, 2026

CVSS
—
EPSS
0%
Percentile
4.8
In the wild
Unconfirmed
What it is

In the Linux kernel, the following vulnerability has been resolved:

fbnic: close fw_log race between users and teardown

Fixes a theoretical race on fw_log between the teardown path and fw_log

write functions.

fw_log is written inside fbnic_fw_log_write() and can be reached from

the mailbox handler fbnic_fw_msix_intr(), but fw_log is freed before

IRQ/MBX teardown during cleanup, resulting in a potential data race of

dereferencing a freed/null variable.

Possible Interleaving Scenario:

CPU0: fbnic_fw_msix_intr() // Entry

fbnic_fw_log_write()

if (fbnic_fw_log_ready()) // true

... preempt ...

CPU1: fbnic_remove() // Entry

fbnic_fw_log_free()

vfree(log->data_start);

log->data_start = NULL;

CPU0: continues, walks log->entries or writes to log->data_start

The initialization also has an incorrect order problem, as the fw_log

is currently allocated after MBX setup during initialization.

Fix the problems by adjusting the synchronization order to put

initialization in place before the mailbox is enabled, and not cleared

until after the mailbox has been disabled.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00160 · 4.8th percentile
Published
2026-05-27T12:18Z
EPSS history
Timeline
  • 27 MAY 12:18Z
    fbnic: close fw_log race between users and teardown
    cvelistv5