{"id":"CVE-2026-143262","summary":"tcp: ipv6: free ireq-\u003eipv6_opt after an RCU grace period","details":"In the Linux kernel, the following vulnerability has been resolved:\n\ntcp: ipv6: free ireq-\u003eipv6_opt after an RCU grace period\n\nireq-\u003eipv6_opt is only set by calipso_req_setattr(), when a CALIPSO\nNetLabel mapping is configured.\n\nRequest socket migration (net.ipv4.tcp_migrate_req=1, or a\nBPF_SK_REUSEPORT_SELECT_OR_MIGRATE program) clones the request\nsocket with inet_reqsk_clone(), so that the old request socket and\nits clone share the same ipv6_opt, then reqsk_migrate_reset() clears\nthe pointer in the old one.\n\nAnother cpu holding a reference on the old request socket can still\nbe using these options, sending a SYNACK from tcp_v6_send_synack()\nor creating a child in tcp_v6_syn_recv_sock(), when the clone\nis freed. tcp_v6_reqsk_destructor() frees ipv6_opt with a plain\nkfree(), leading to a use-after-free.\n\nBoth readers already run under RCU, like their IPv4 counterparts.\nUse kfree_rcu() in tcp_v6_reqsk_destructor(), as commit e3f33b0a1d89\n(\"ipv4: free inet_opt and ireq_opt after an RCU grace period\") did\nfor ireq_opt.","modified":"2026-12-03T11:01:52.056039516Z","published":"2026-12-03T09:21:07.292Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143262.json","cna_assigner":"Linux"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/14f121b0dcd845b50bfc3baa98443f39c08b91af"},{"type":"WEB","url":"https://git.kernel.org/stable/c/82378cf642bd722d552c200e40aca1596b12d132"},{"type":"WEB","url":"https://git.kernel.org/stable/c/929a2b016ba9ba9c859a65038e212d2ce0ceee36"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e1952acabcf9bf5b93150a38837b573186e0e299"},{"type":"WEB","url":"https://git.kernel.org/stable/c/fafbc4051123d5459ea6950899cec08ed946e278"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/143xxx/CVE-2026-143262.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-143262"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"c905dee62232db583b50fe214080b98db623151e"},{"fixed":"e1952acabcf9bf5b93150a38837b573186e0e299"},{"fixed":"929a2b016ba9ba9c859a65038e212d2ce0ceee36"},{"fixed":"14f121b0dcd845b50bfc3baa98443f39c08b91af"},{"fixed":"82378cf642bd722d552c200e40aca1596b12d132"},{"fixed":"fafbc4051123d5459ea6950899cec08ed946e278"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143262.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.14.0"},{"fixed":"5.15.227"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.12.120"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.66"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.7"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-143262.json"}}],"schema_version":"1.9.2"}