{"id":"CVE-2026-80848","published":"2026-09-04T15:54:58Z","modified":"2026-10-19T08:44:42Z","title":"xfrm: espintcp: fix UAF during close","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nxfrm: espintcp: fix UAF during close\n\nZDI reported and analyzed a race condition during close for espintcp\nsockets:\n\n    espintcp_close() frees emsg->skb via kfree_skb() without holding\n    any socket lock. Concurrently, the xfrm_trans_reinject work queue\n    invokes esp_output_tcp_finish() -> espintcp_push_skb() ->\n    espintcp_push_msgs() -> skb_send_sock_locked(), which reads the\n    same skb as a data source.\n\nFix this by adding a synchronize_rcu() call after resetting sk_prot,\nsince esp_output_tcp_finish() runs under RCU and won't use a socket\nwith sk_prot == &tcp_prot.  Simply taking the socket lock in\nespintcp_close() could lead to leaks, if esp_output_tcp_finish()\nre-adds an skb in the slot we just freed. After this, the existing\nbarrier() is no longer needed.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00195,"percentile":0.09116,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/29121c5e6591da527e8e36ddac7120dc527f574d","tags":[]},{"url":"https://git.kernel.org/stable/c/ed5d9102190c45fc70121c036b0626b740040b75","tags":[]},{"url":"https://git.kernel.org/stable/c/4bc0dfa28dca6fc0084203732695968049c44072","tags":[]},{"url":"https://git.kernel.org/stable/c/ff8dd7a932f34409a56e1b91a1219340f17457e9","tags":[]},{"url":"https://git.kernel.org/stable/c/4b31a875693c480c611519faca46216514e3e052","tags":[]},{"url":"https://git.kernel.org/stable/c/24efebecf415ba264adba0f0491cec436463a14f","tags":[]},{"url":"https://git.kernel.org/stable/c/eb3bbf29c723fe75c0eb92be14f0ec92971fe272","tags":[]},{"url":"https://git.kernel.org/stable/c/54b41ad14da9a981131ab6e4d3f79321a503ea5d","tags":[]},{"url":"https://git.kernel.org/stable/c/deb232e884877bf10b4ce2580909eedec986c284","tags":[]}],"priority":{"score":1.8,"factors":[{"name":"EPSS percentile","points":1.82}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= e27cca96cd68fa2c6814c90f9a1cfd36bb68c593, < 29121c5e6591da527e8e36ddac7120dc527f574d",">= e27cca96cd68fa2c6814c90f9a1cfd36bb68c593, < ed5d9102190c45fc70121c036b0626b740040b75",">= e27cca96cd68fa2c6814c90f9a1cfd36bb68c593, < 4bc0dfa28dca6fc0084203732695968049c44072",">= e27cca96cd68fa2c6814c90f9a1cfd36bb68c593, < ff8dd7a932f34409a56e1b91a1219340f17457e9",">= e27cca96cd68fa2c6814c90f9a1cfd36bb68c593, < 4b31a875693c480c611519faca46216514e3e052",">= e27cca96cd68fa2c6814c90f9a1cfd36bb68c593, < 24efebecf415ba264adba0f0491cec436463a14f",">= e27cca96cd68fa2c6814c90f9a1cfd36bb68c593, < eb3bbf29c723fe75c0eb92be14f0ec92971fe272",">= e27cca96cd68fa2c6814c90f9a1cfd36bb68c593, < 54b41ad14da9a981131ab6e4d3f79321a503ea5d",">= e27cca96cd68fa2c6814c90f9a1cfd36bb68c593, < deb232e884877bf10b4ce2580909eedec986c284"]},{"vendor":"Linux","product":"Linux","versions":["5.6"]}],"euvd":{"id":"EUVD-2026-71298","exploited":false,"provenance":"source"}}