CVE-2026-74664

Source
https://cve.org/CVERecord?id=CVE-2026-74664
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-74664.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-74664
Downstream
Published
2026-08-22T15:32:36.616Z
Modified
2026-08-24T11:47:18.093572913Z
Summary
net: openvswitch: reallocate update replies for mismatched IDs
Details

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

net: openvswitch: reallocate update replies for mismatched IDs

ovsflowcmdnew() preallocates the optional reply skb before it takes ovsmutex 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, ovsflowcmdfillinfo() 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.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/74xxx/CVE-2026-74664.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
74ed7ab9264c54471c7f057409d352052820d750
Fixed
bd8ca84d48cd9a4f6fc63df26512c55e1d339927
Fixed
00f987f066e802793a37dd2167459e67cf2cf2ec
Fixed
696a0b9435fce9cf4f1e9ba7f6afa6bee96c97fc
Fixed
87d0c0040b5d4b61de51ae39132c4c46709f2f77
Fixed
69f40ccf85074981340847d650a9cbf9adabfbbe
Fixed
23716dd9d8d46a5908536b73dc085e62f2b5c237
Fixed
20751193d83be2e9735d4faee71375691c09cd13
Fixed
5d1c224dd914579524a183a514c12b95095d12ce

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-74664.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.0.0
Fixed
5.10.265
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.216
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.183
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.152
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.104
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.45
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.1.9

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-74664.json"