CVE-2026-139550: fbnic: Rework the BMC state pulled from the capabilities message

Published Nov 30, 2026
·
Updated

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

fbnic: Rework the BMC state pulled from the capabilities message

The BMC side of the RPC configuration is driven entirely out of the capabilities message: it carries the BMC presence, its MAC addresses and the all-multi request, and the reinit flag raised off it is what gets the service task to reprogram the MACDA and action TCAMs. Pull that out of fbnicfwparsecapresp() into a helper and rework the state it publishes.

The firmware reports the BMC present as soon as its NC-SI channel is enabled, before the BMC has been assigned a MAC address. Such a message carries no BMC MAC array and is rejected with -EINVAL, discarding the rest of it. Treat a present BMC with no MAC as absent instead. There is no entry to steer traffic to without one, so the BMC paths stay disabled either way, and the link speed, FEC and anti-rollback version in the same message are no longer thrown out with it.

bmcpresent, needbmctcamreinit, needbmcmacdasync and allmulti are single bit members of one bitfield, so every write to one is a read-modify-write of all four. The mailbox writes three of them and the service task writes the other two. Move them into an unsigned long state field driven by the atomic bitops. Putting it at the top of the struct keeps the cost to the word itself: 152 bytes grows to 160, still three cachelines, with a 1 byte hole left ahead of antirollbackversion.

Order the reinit handoff while there. The mailbox publishes the BMC state before raising the flag and the service task tests the flag before consuming it, so pair an smpmbbeforeatomic() on the raise with a testandclearbit() on the consume. Claiming the flag atomically also keeps a raise that lands mid-pass instead of dropping it.

Commit allmulti unconditionally rather than only when the firmware supplied the attribute. An absent attribute means the BMC is not asking for all-multi, so holding the previous value just kept stale state. It is read out of the message only when a BMC is present, so it is never set on its own and the three callers that paired it with the presence check can test it alone.

fbnicwritemacda() tests the reinit flag to force a MACDA sync and now always sees it clear when reached from fbnicbmcrpccheck(). That path is unaffected, as fbnicbmcrpcinit() unconditionally marks the broadcast entry, so the update count is never zero while a BMC is present.

Affected Software

1 affected component
Linux Linux kernel

Event History

Nov 30, 2026
CVE Published
via MITRE·01:35 PM
Data Sourced
via MITRE·01:35 PM
Description
Data Sourced
via NVD·02:19 PM
Description

Frequently Asked Questions

1

Which systems are exposed to this condition?

Systems using the fbnic driver with a BMC whose NC-SI channel is enabled before the BMC has been assigned a MAC address are exposed. In that state, firmware can report the BMC as present while supplying no BMC MAC array.

2

What happens when the affected capabilities message is received?

The message can be rejected with -EINVAL because it lacks a BMC MAC array, causing the rest of the capabilities information in that message to be discarded. This can also discard reported link speed, FEC, and anti-rollback version information.

3

How does the fix handle a BMC reported without a MAC address?

It treats a BMC reported as present but without a MAC address as absent. The BMC traffic paths remain disabled because there is no MAC entry available to steer traffic to, while the other capabilities data can still be processed.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203