Linux
bnxt_en: Fix RSS context delete logic
In the Linux kernel, the following vulnerability has been resolved: bnxt_en: Fix RSS context delete logic We need to free the corresponding RSS context VNIC in FW everytime an RSS context is deleted in driver. Commit 667ac333dbb7 added a check to delete the VNIC in FW only when netif_running() is true to help delete RSS contexts with interface down. Having that condition will make the driver leak VNICs in FW whenever close() happens with active RSS contexts. On the subsequent open(), as part of RSS context restoration, we will end up trying to create extra VNICs for which we did not make any reservation. FW can fail this request, thereby making us lose active RSS contexts. Suppose an RSS context is deleted already and we try to process a delete request again, then the HWRM functions will check for validity of the request and they simply return if the resource is already freed. So, even for delete-when-down cases, netif_running() check is not necessary. Remove the netif_running() condition check when deleting an RSS context.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 667ac333dbb7e265b3f5bc4bc94e236f64682c86, < 348a5f8d06c7bdf954e13c17ad5f80b59a075604
- >= 667ac333dbb7e265b3f5bc4bc94e236f64682c86, < 079986d6db1f8e3d50c55f400cf998ac9690d2c8
- >= 667ac333dbb7e265b3f5bc4bc94e236f64682c86, < 9a9b89eea4a9cc7726702946ff688d716962fabd
- >= 667ac333dbb7e265b3f5bc4bc94e236f64682c86, < e123d9302d223767bd910bfbcfe607bae909f8ac
Fixed in 348a5f8d06c7bdf954e13c17ad5f80b59a075604, 079986d6db1f8e3d50c55f400cf998ac9690d2c8, 9a9b89eea4a9cc7726702946ff688d716962fabd, e123d9302d223767bd910bfbcfe607bae909f8ac
- 6.11
Fixed in 0, 6.12.75, 6.18.16, 6.19.6, 7.0
Mitigation
Upgrade Linux to 348a5f8d06c7bdf954e13c17ad5f80b59a075604 or 079986d6db1f8e3d50c55f400cf998ac9690d2c8 or 9a9b89eea4a9cc7726702946ff688d716962fabd or e123d9302d223767bd910bfbcfe607bae909f8ac or later.
Upgrade Linux to 0 or 6.12.75 or 6.18.16 or 6.19.6 or 7.0 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.