{"id":"CVE-2026-89487","aliases":["CVE-2026-89487"],"related":[],"kind":"vulnerability","state":"published","title":"openvswitch: only skb_tx_error() a packet we are about to drop","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nopenvswitch: only skb_tx_error() a packet we are about to drop\n\nqueue_userspace_packet() borrows the packet skb -- it only copies it into\na private netlink message (user_skb) and does not own it; on return\ndo_execute_actions() keeps forwarding it through the flow's remaining\nactions. Its error path nevertheless calls skb_tx_error(skb), which via\nskb_zcopy_clear() does skb_shinfo(skb)->flags &= ~SKBFL_ALL_ZEROCOPY,\nstripping SKBFL_SHARED_FRAG from that live skb (skb_tx_error()'s kerneldoc\nsays \"skb must be freed afterwards\").\n\nFor a MSG_ZEROCOPY skb carrying page-cache frags, SKBFL_SHARED_FRAG is\nwhat makes esp_input() skb_cow_data() before in-place AEAD; once it is\nstripped a later local ESP-in-UDP delivery decrypts in place over pages\nthe sender does not own -- an unprivileged page-cache write (the\n\"Fragnesia\" primitive).\ndo_execute_actions() ignores output_userspace()'s return value, so any\naction after a failed USERSPACE upcall inherits the stripped skb.\n\nMove the skb_tx_error() to the flow-miss drop path - the \"default\"\nbranch of ovs_dp_process_packet()'s switch(error), before kfree_skb().\n\nThe call has been here since commit 36d5fe6a0007 (\"core, nfqueue,\nopenvswitch: Orphan frags in skb_zerocopy and handle errors\") but was\nharmless until esp_input() began relying on SKBFL_SHARED_FRAG to gate\nin-place decrypt; only then did stripping it on a still-forwarded skb\nbecome a page-cache write primitive.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nopenvswitch: only skb_tx_error() a packet we are about to drop\n\nqueue_userspace_packet() borrows the packet skb -- it only copies it into\na private netlink message (user_skb) and does not own it; on return\ndo_execute_actions() keeps forwarding it through the flow's remaining\nactions. Its error path nevertheless calls skb_tx_error(skb), which via\nskb_zcopy_clear() does skb_shinfo(skb)->flags &= ~SKBFL_ALL_ZEROCOPY,\nstripping SKBFL_SHARED_FRAG from that live skb (skb_tx_error()'s kerneldoc\nsays \"skb must be freed afterwards\").\n\nFor a MSG_ZEROCOPY skb carrying page-cache frags, SKBFL_SHARED_FRAG is\nwhat makes esp_input() skb_cow_data() before in-place AEAD; once it is\nstripped a later local ESP-in-UDP delivery decrypts in place over pages\nthe sender does not own -- an unprivileged page-cache write (the\n\"Fragnesia\" primitive).\ndo_execute_actions() ignores output_userspace()'s return value, so any\naction after a failed USERSPACE upcall inherits the stripped skb.\n\nMove the skb_tx_error() to the flow-miss drop path - the \"default\"\nbranch of ovs_dp_process_packet()'s switch(error), before kfree_skb().\n\nThe call has been here since commit 36d5fe6a0007 (\"core, nfqueue,\nopenvswitch: Orphan frags in skb_zerocopy and handle errors\") but was\nharmless until esp_input() began relying on SKBFL_SHARED_FRAG to gate\nin-place decrypt; only then did stripping it on a still-forwarded skb\nbecome a page-cache write primitive.","source":"cvelist"}],"published":"2026-09-11T19:43:40.776Z","modified":"2026-10-19T09:17:42.307Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"36d5fe6a000790f56039afe26834265db0a3ad4c","fixed":"5de5d554141a15b3f1f5c978fd9f7f4fd6d0600a","status":"affected"},{"type":"git","introduced":"36d5fe6a000790f56039afe26834265db0a3ad4c","fixed":"48db11e115d1b232edc5591604adc6eda95cd545","status":"affected"},{"type":"git","introduced":"36d5fe6a000790f56039afe26834265db0a3ad4c","fixed":"4477222e2916a18e273edc139c955ade6bbb7a69","status":"affected"},{"type":"git","introduced":"36d5fe6a000790f56039afe26834265db0a3ad4c","fixed":"4d5c460ef8754be1d43b16dbf02695b008b207d6","status":"affected"},{"type":"git","introduced":"36d5fe6a000790f56039afe26834265db0a3ad4c","fixed":"6767d70cf46f65807a6a4c4406a518e6c12e36ae","status":"affected"},{"type":"git","introduced":"36d5fe6a000790f56039afe26834265db0a3ad4c","fixed":"e41a59fc056f63a7a1f42788913c53cc48d744aa","status":"affected"},{"type":"git","introduced":"36d5fe6a000790f56039afe26834265db0a3ad4c","fixed":"5d85eef222cfd28e73deed7402c100229e8b9e6e","status":"affected"},{"type":"git","introduced":"36d5fe6a000790f56039afe26834265db0a3ad4c","fixed":"0dbc2398fca3bb33eda963849f865ddb1b3aa05e","status":"affected"},{"type":"git","version":"c5f0c0e7525443add533495e93ba8de6feab2396","status":"affected"},{"type":"git","version":"1674b4bf3eea3cac51b70778e89f8025f7cfe695","status":"affected"},{"type":"semver","introduced":"3.10.51","fixed":"3.11","status":"affected"},{"type":"semver","introduced":"3.12.40","fixed":"3.13","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"3.14","status":"affected"},{"type":"semver","introduced":"0","fixed":"3.14","status":"unaffected"},{"type":"semver","introduced":"5.10.270","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.221","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.188","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.157","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.109","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.50","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.4","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","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/5de5d554141a15b3f1f5c978fd9f7f4fd6d0600a","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/48db11e115d1b232edc5591604adc6eda95cd545","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4477222e2916a18e273edc139c955ade6bbb7a69","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4d5c460ef8754be1d43b16dbf02695b008b207d6","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6767d70cf46f65807a6a4c4406a518e6c12e36ae","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e41a59fc056f63a7a1f42788913c53cc48d744aa","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5d85eef222cfd28e73deed7402c100229e8b9e6e","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0dbc2398fca3bb33eda963849f865ddb1b3aa05e","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-10-16T19:22:44.373Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-89487","url":"https://www.cve.org/CVERecord?id=CVE-2026-89487","licence":"CVE Terms of Use","modified":"2026-10-19T08:47:37.837Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-89487","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-89487","licence":"Public domain","modified":"2026-10-19T09:17:42.307Z"}],"updatedAt":"2026-11-25T22:59:38.036Z","epss":{"score":0.00129,"percentile":0.0278,"date":"2026-12-02T12:00:21.000Z"}}