net: openvswitch: reallocate update replies for mismatched IDs

Summary

CVECVE-2026-74664
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-08-22 16:16:40 UTC
Updated2026-08-22 16:16:40 UTC
DescriptionIn 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.

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected 74ed7ab9264c54471c7f057409d352052820d750 bd8ca84d48cd9a4f6fc63df26512c55e1d339927 git Not specified
CNA Linux Linux affected 74ed7ab9264c54471c7f057409d352052820d750 00f987f066e802793a37dd2167459e67cf2cf2ec git Not specified
CNA Linux Linux affected 74ed7ab9264c54471c7f057409d352052820d750 696a0b9435fce9cf4f1e9ba7f6afa6bee96c97fc git Not specified
CNA Linux Linux affected 74ed7ab9264c54471c7f057409d352052820d750 87d0c0040b5d4b61de51ae39132c4c46709f2f77 git Not specified
CNA Linux Linux affected 74ed7ab9264c54471c7f057409d352052820d750 69f40ccf85074981340847d650a9cbf9adabfbbe git Not specified
CNA Linux Linux affected 74ed7ab9264c54471c7f057409d352052820d750 23716dd9d8d46a5908536b73dc085e62f2b5c237 git Not specified
CNA Linux Linux affected 74ed7ab9264c54471c7f057409d352052820d750 20751193d83be2e9735d4faee71375691c09cd13 git Not specified
CNA Linux Linux affected 74ed7ab9264c54471c7f057409d352052820d750 5d1c224dd914579524a183a514c12b95095d12ce git Not specified
CNA Linux Linux affected 4.0 Not specified
CNA Linux Linux unaffected 4.0 semver Not specified
CNA Linux Linux unaffected 5.10.265 5.10.* semver Not specified
CNA Linux Linux unaffected 5.15.216 5.15.* semver Not specified
CNA Linux Linux unaffected 6.1.183 6.1.* semver Not specified
CNA Linux Linux unaffected 6.6.152 6.6.* semver Not specified
CNA Linux Linux unaffected 6.12.104 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.45 6.18.* semver Not specified
CNA Linux Linux unaffected 7.1.9 7.1.* semver Not specified
CNA Linux Linux unaffected 7.2 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/69f40ccf85074981340847d650a9cbf9adabfbbe 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/23716dd9d8d46a5908536b73dc085e62f2b5c237 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/bd8ca84d48cd9a4f6fc63df26512c55e1d339927 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/5d1c224dd914579524a183a514c12b95095d12ce 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/20751193d83be2e9735d4faee71375691c09cd13 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/696a0b9435fce9cf4f1e9ba7f6afa6bee96c97fc 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/00f987f066e802793a37dd2167459e67cf2cf2ec 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/87d0c0040b5d4b61de51ae39132c4c46709f2f77 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report