eth: fbnic: Set AW_FLUSH_MODE alongside AW_FLUSH when flushing the mailbox
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 6.12.112, 6.15, 6.18.55, 7.2.9
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
In the Linux kernel, the following vulnerability has been resolved: eth: fbnic: Set AW_FLUSH_MODE alongside AW_FLUSH when flushing the mailbox When tearing down the FW mailbox Rx ring, fbnic_mbx_reset_desc_ring() writes AW_CFG with FLUSH set and everything else, BME included, cleared. Clearing BME halts the device's writes to the host but leaves the staged requests parked in the PUL write pipeline rather than draining them, so on the write path FLUSH alone never terminates the outstanding requests and the flush the firmware waits on never completes. Add the FLUSH_MODE definition and set both bits so the staged writes drain out of the pipeline on their own. BME stays cleared, so nothing lands on the host; it is restored later in fbnic_mbx_init_desc_ring() when the ring is rebuilt, once the outstanding writes are gone. The read path is unaffected. AR_CFG has no equivalent mode bit and AR_FLUSH terminates the outstanding reads by itself, so it is left as is. Both writes remain plain stores rather than read-modify-writes. That is deliberate: the matching write in fbnic_mbx_init_desc_ring() restores BME and the TLP attributes, and clears both flush bits as a side effect.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From fea860a2a6136658708fb530a82d59d29f708b74 · fixed in ed4163f6ba9b52bfd6216d5215ee7b8eb5072411; From 3b12f00ddd08e888273b2ac0488d396d90a836fc · fixed in 8a052cd4b2caee1f90cf0e3874377066939c90e7; From 3b12f00ddd08e888273b2ac0488d396d90a836fc · fixed in a969db6548a1b046cd1423701f5f9c3f5794e90d; From 3b12f00ddd08e888273b2ac0488d396d90a836fc · fixed in 8947f13e436a4ff5eed9f8f019b2865a07af4bb2; From 6.12.29 · fixed in 6.12.112; From 6.14.7 · fixed in 6.15
- Linux Linux
6.15
- KernelLinux
fixed in 6.12.112; From 6.13.0 · fixed in 6.18.55; From 6.15.0 · fixed in 7.2.9