# CVE-2026-139550

- Bağlantı: https://www.allsafe.com.tr/cve-2026-139550/
- Yayımlanma: 2026-11-30T17:19:34+03:00
- Yazar: Postmaster

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 fbnic_fw_parse_cap_resp() 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.

bmc_present, need_bmc_tcam_reinit, need_bmc_macda_sync and all_multi 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 anti_rollback_version.

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 smp_mb__before_atomic() on the raise with a test_and_clear_bit() on the consume.
Claiming the flag atomically also keeps a raise that lands mid-pass instead of dropping
it.

Commit all_multi 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.

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

Bu kayıt NIST NVD kaynağından aktarılmıştır. Etkilenen sürümler, güncel değerlendirme
ve üretici referansları için kaynak kaydı inceleyin.

Kaynak: [NIST NVD — özgün kaydı inceleyin ↗](https://nvd.nist.gov/vuln/detail/CVE-2026-139550)
