CVE Catalog

CVE-2026-74664

Unknown
Published: Translated: NVD NIST

Summary

In the Linux kernel Open vSwitch, when updating a flow with a UFID that misses and falls back to key lookup, the preallocated reply may be too small. This can cause -EMSGSIZE and trigger BUG_ON in the update path.

Risk Assessment

This vulnerability could cause a system crash (panic) due to BUG_ON, potentially enabling a denial of service.

Recommendation

Install the kernel patch that reallocates the reply when the matched flow requires a larger reply than preallocated.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

In the Linux kernel, the following vulnerability has been resolved: net: openvswitch: reallocate update replies for mismatched IDs ovs_flow_cmd_new() preallocates the optional reply skb before it takes ovs_mutex and before it knows which existing flow will be updated. That is normally fine because the skb is sized from the request flow identifier. That identifier also becomes the inserted flow's identifier. For updates, however, a request with a UFID may miss the UFID lookup and then fall back to the flow key lookup. That lookup can legitimately find an existing key-identified flow. UFIDs are optional and the flow key is the primary identifier. For echoed replies, ovs_flow_cmd_fill_info() writes the matched flow's identifier, not the request identifier used for the preallocation. A short request UFID can therefore leave too little room for the key identifier. The fill can then fail with -EMSGSIZE and hit the BUG_ON(error < 0) in the update path. Once the update target has been resolved, reallocate the reply skb if the matched flow needs a larger reply than the request identifier allowed. Do this before replacing the actions so the request can still fail cleanly if the rare extra allocation fails.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS