{"id":"CVE-2026-74664","aliases":["CVE-2026-74664"],"related":[],"kind":"vulnerability","state":"published","title":"net: openvswitch: reallocate update replies for mismatched IDs","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: openvswitch: reallocate update replies for mismatched IDs\n\novs_flow_cmd_new() preallocates the optional reply skb before it takes\novs_mutex and before it knows which existing flow will be updated.\n\nThat is normally fine because the skb is sized from the request flow\nidentifier.  That identifier also becomes the inserted flow's identifier.\nFor updates, however, a request with a UFID may miss the UFID lookup and\nthen fall back to the flow key lookup.  That lookup can legitimately find\nan existing key-identified flow.  UFIDs are optional and the flow key is\nthe primary identifier.\n\nFor echoed replies, ovs_flow_cmd_fill_info() writes the matched flow's\nidentifier, not the request identifier used for the preallocation.  A short\nrequest UFID can therefore leave too little room for the key identifier.\nThe fill can then fail with -EMSGSIZE and hit the BUG_ON(error < 0) in the\nupdate path.\n\nOnce the update target has been resolved, reallocate the reply skb if the\nmatched flow needs a larger reply than the request identifier allowed.  Do\nthis before replacing the actions so the request can still fail cleanly if\nthe rare extra allocation fails.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: openvswitch: reallocate update replies for mismatched IDs\n\novs_flow_cmd_new() preallocates the optional reply skb before it takes\novs_mutex and before it knows which existing flow will be updated.\n\nThat is normally fine because the skb is sized from the request flow\nidentifier.  That identifier also becomes the inserted flow's identifier.\nFor updates, however, a request with a UFID may miss the UFID lookup and\nthen fall back to the flow key lookup.  That lookup can legitimately find\nan existing key-identified flow.  UFIDs are optional and the flow key is\nthe primary identifier.\n\nFor echoed replies, ovs_flow_cmd_fill_info() writes the matched flow's\nidentifier, not the request identifier used for the preallocation.  A short\nrequest UFID can therefore leave too little room for the key identifier.\nThe fill can then fail with -EMSGSIZE and hit the BUG_ON(error < 0) in the\nupdate path.\n\nOnce the update target has been resolved, reallocate the reply skb if the\nmatched flow needs a larger reply than the request identifier allowed.  Do\nthis before replacing the actions so the request can still fail cleanly if\nthe rare extra allocation fails.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad:\n\nnet: openvswitch: reasignar respuestas de actualización para IDs no coincidentes\n\novs_flow_cmd_new() preasigna el skb de respuesta opcional antes de tomar ovs_mutex y antes de saber qué flujo existente se actualizará.\n\nEsto normalmente está bien porque el skb se dimensiona a partir del identificador de flujo de la solicitud. Ese identificador también se convierte en el identificador del flujo insertado. Para las actualizaciones, sin embargo, una solicitud con un UFID puede fallar en la búsqueda de UFID y luego recurrir a la búsqueda de clave de flujo. Esa búsqueda puede encontrar legítimamente un flujo existente identificado por clave. Los UFID son opcionales y la clave de flujo es el identificador principal.\n\nPara las respuestas con eco, ovs_flow_cmd_fill_info() escribe el identificador del flujo coincidente, no el identificador de la solicitud utilizado para la preasignación. Un UFID de solicitud corto puede, por lo tanto, dejar muy poco espacio para el identificador de clave. El llenado puede entonces fallar con -EMSGSIZE y activar el BUG_ON(error < 0) en la ruta de actualización.\n\nUna vez que se ha resuelto el objetivo de actualización, reasigne el skb de respuesta si el flujo coincidente necesita una respuesta más grande de lo que permitía el identificador de la solicitud. Haga esto antes de reemplazar las acciones para que la solicitud aún pueda fallar limpiamente si la rara asignación adicional falla.","source":"nvd"}],"published":"2026-08-22T15:32:36.616Z","modified":"2026-11-06T17:19:53.153Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"74ed7ab9264c54471c7f057409d352052820d750","fixed":"bd8ca84d48cd9a4f6fc63df26512c55e1d339927","status":"affected"},{"type":"git","introduced":"74ed7ab9264c54471c7f057409d352052820d750","fixed":"00f987f066e802793a37dd2167459e67cf2cf2ec","status":"affected"},{"type":"git","introduced":"74ed7ab9264c54471c7f057409d352052820d750","fixed":"696a0b9435fce9cf4f1e9ba7f6afa6bee96c97fc","status":"affected"},{"type":"git","introduced":"74ed7ab9264c54471c7f057409d352052820d750","fixed":"87d0c0040b5d4b61de51ae39132c4c46709f2f77","status":"affected"},{"type":"git","introduced":"74ed7ab9264c54471c7f057409d352052820d750","fixed":"69f40ccf85074981340847d650a9cbf9adabfbbe","status":"affected"},{"type":"git","introduced":"74ed7ab9264c54471c7f057409d352052820d750","fixed":"23716dd9d8d46a5908536b73dc085e62f2b5c237","status":"affected"},{"type":"git","introduced":"74ed7ab9264c54471c7f057409d352052820d750","fixed":"20751193d83be2e9735d4faee71375691c09cd13","status":"affected"},{"type":"git","introduced":"74ed7ab9264c54471c7f057409d352052820d750","fixed":"5d1c224dd914579524a183a514c12b95095d12ce","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.0","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.0","status":"unaffected"},{"type":"semver","introduced":"5.10.265","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.216","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.183","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.152","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.104","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.45","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.1.9","lastAffected":"7.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/bd8ca84d48cd9a4f6fc63df26512c55e1d339927","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/00f987f066e802793a37dd2167459e67cf2cf2ec","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/696a0b9435fce9cf4f1e9ba7f6afa6bee96c97fc","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/87d0c0040b5d4b61de51ae39132c4c46709f2f77","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/69f40ccf85074981340847d650a9cbf9adabfbbe","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/23716dd9d8d46a5908536b73dc085e62f2b5c237","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/20751193d83be2e9735d4faee71375691c09cd13","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5d1c224dd914579524a183a514c12b95095d12ce","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-06T17:00:43.008Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-74664","url":"https://www.cve.org/CVERecord?id=CVE-2026-74664","licence":"CVE Terms of Use","modified":"2026-11-06T17:05:50.323Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-74664","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-74664","licence":"Public domain","modified":"2026-11-06T17:19:53.153Z"}],"updatedAt":"2026-11-25T22:59:34.923Z","epss":{"score":0.00177,"percentile":0.0763,"date":"2026-12-01T12:00:22.000Z"}}