CVE-2026-74664

net: openvswitch: reallocate update replies for mismatched IDs

State
Published
Severity
Not scored
Published
Aug 22, 2026
Updated
Aug 22, 2026
Reserved
Aug 15, 2026

Read the record on cve.org

Description

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 74ed7ab9264c54471c7f057409d352052820d750 to before bd8ca84d48cd9a4f6fc63df26512c55e1d339927Affected
  • 74ed7ab9264c54471c7f057409d352052820d750 to before 00f987f066e802793a37dd2167459e67cf2cf2ecAffected
  • 74ed7ab9264c54471c7f057409d352052820d750 to before 696a0b9435fce9cf4f1e9ba7f6afa6bee96c97fcAffected
  • 74ed7ab9264c54471c7f057409d352052820d750 to before 87d0c0040b5d4b61de51ae39132c4c46709f2f77Affected
  • 74ed7ab9264c54471c7f057409d352052820d750 to before 69f40ccf85074981340847d650a9cbf9adabfbbeAffected
  • 74ed7ab9264c54471c7f057409d352052820d750 to before 23716dd9d8d46a5908536b73dc085e62f2b5c237Affected
  • 74ed7ab9264c54471c7f057409d352052820d750 to before 20751193d83be2e9735d4faee71375691c09cd13Affected
  • 74ed7ab9264c54471c7f057409d352052820d750 to before 5d1c224dd914579524a183a514c12b95095d12ceAffected
LinuxLinux
  • 4.0Affected
  • before 4.0Not affected
  • 5.10.265 through 5.10.*Not affected
  • 5.15.216 through 5.15.*Not affected
  • 6.1.183 through 6.1.*Not affected
  • 6.6.152 through 6.6.*Not affected
  • 6.12.104 through 6.12.*Not affected
  • 6.18.45 through 6.18.*Not affected
  • 7.1.9 through 7.1.*Not affected
  • 7.2 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.