{"api_version":"1","generated_at":"2026-12-04T05:37:25+00:00","cve":"CVE-2026-143262","urls":{"html":"https://cve.report/CVE-2026-143262","api":"https://cve.report/api/cve/CVE-2026-143262.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-143262","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-143262"},"summary":{"title":"tcp: ipv6: free ireq->ipv6_opt after an RCU grace period","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ntcp: ipv6: free ireq->ipv6_opt after an RCU grace period\n\nireq->ipv6_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.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-12-03 10:18:08","updated_at":"2026-12-04 04:17:46"},"problem_types":[],"metrics":[{"version":"3.1","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","type":"Secondary","score":"8.1","severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","baseScore":8.1,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"}},{"version":"3.1","source":"CNA","type":"DECLARED","score":"8.1","severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","data":{"baseScore":8.1,"baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"}}],"references":[{"url":"https://git.kernel.org/stable/c/14f121b0dcd845b50bfc3baa98443f39c08b91af","name":"https://git.kernel.org/stable/c/14f121b0dcd845b50bfc3baa98443f39c08b91af","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/fafbc4051123d5459ea6950899cec08ed946e278","name":"https://git.kernel.org/stable/c/fafbc4051123d5459ea6950899cec08ed946e278","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/82378cf642bd722d552c200e40aca1596b12d132","name":"https://git.kernel.org/stable/c/82378cf642bd722d552c200e40aca1596b12d132","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/929a2b016ba9ba9c859a65038e212d2ce0ceee36","name":"https://git.kernel.org/stable/c/929a2b016ba9ba9c859a65038e212d2ce0ceee36","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/e1952acabcf9bf5b93150a38837b573186e0e299","name":"https://git.kernel.org/stable/c/e1952acabcf9bf5b93150a38837b573186e0e299","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-143262","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-143262","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected c905dee62232db583b50fe214080b98db623151e e1952acabcf9bf5b93150a38837b573186e0e299 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected c905dee62232db583b50fe214080b98db623151e 929a2b016ba9ba9c859a65038e212d2ce0ceee36 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected c905dee62232db583b50fe214080b98db623151e 14f121b0dcd845b50bfc3baa98443f39c08b91af git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected c905dee62232db583b50fe214080b98db623151e 82378cf642bd722d552c200e40aca1596b12d132 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected c905dee62232db583b50fe214080b98db623151e fafbc4051123d5459ea6950899cec08ed946e278 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5.14","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.14 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.15.227 5.15.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.120 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.66 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.7 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc2 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["net/ipv6/tcp_ipv6.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"e1952acabcf9bf5b93150a38837b573186e0e299","status":"affected","version":"c905dee62232db583b50fe214080b98db623151e","versionType":"git"},{"lessThan":"929a2b016ba9ba9c859a65038e212d2ce0ceee36","status":"affected","version":"c905dee62232db583b50fe214080b98db623151e","versionType":"git"},{"lessThan":"14f121b0dcd845b50bfc3baa98443f39c08b91af","status":"affected","version":"c905dee62232db583b50fe214080b98db623151e","versionType":"git"},{"lessThan":"82378cf642bd722d552c200e40aca1596b12d132","status":"affected","version":"c905dee62232db583b50fe214080b98db623151e","versionType":"git"},{"lessThan":"fafbc4051123d5459ea6950899cec08ed946e278","status":"affected","version":"c905dee62232db583b50fe214080b98db623151e","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["net/ipv6/tcp_ipv6.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"5.14"},{"lessThan":"5.14","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"5.15.*","status":"unaffected","version":"5.15.227","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.120","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.66","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.7","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.4-rc2","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"5.15.227","versionStartIncluding":"5.14","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.120","versionStartIncluding":"5.14","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.66","versionStartIncluding":"5.14","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.7","versionStartIncluding":"5.14","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc2","versionStartIncluding":"5.14","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\ntcp: ipv6: free ireq->ipv6_opt after an RCU grace period\n\nireq->ipv6_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."}],"metrics":[{"cvssV3_1":{"baseScore":8.1,"baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"scenarios":[{"lang":"en","value":"AV:N - A remote IPv6 TCP SYN enters tcp_v6_rcv() and tcp_v6_route_req(), and selinux_netlbl_inet_conn_request() calls calipso_req_setattr() to store CALIPSO hop options in ireq->ipv6_opt. A retransmitted SYN or ACK then reaches tcp_v6_send_synack() or tcp_v6_syn_recv_sock() while the migrated request's tcp_v6_reqsk_destructor() frees that block; ipv6_push_exthdr() copies those bytes into the SYN-ACK returned to the peer.\nAC:H - calipso_req_setattr() fills ireq->ipv6_opt only when netlbl_domhsh_getentry_af6() returns CALIPSO. inet_reqsk_clone() shares that pointer and reqsk_migrate_reset() clears the old owner only in reqsk_timer_handler() or inet_csk_complete_hashdance(), after the listener leaves TCP_LISTEN, which needs tcp_migrate_req (default 0) or BPF_SK_REUSEPORT_SELECT_OR_MIGRATE. The peer can retransmit the SYN but cannot close the listener or enable migration.\nPR:N - tcp_v6_rcv() and tcp_check_req() handle the SYN and the retransmitted SYN or ACK before accept(), and calipso_req_setattr() only requires a listening sock. The peer sends no uid, capability, or credential.\nUI:N - The peer sends the IPv6 SYN that tcp_v6_route_req() turns into a labeled request and the retransmitted SYN or ACK that tcp_v6_send_synack() or tcp_v6_syn_recv_sock() consumes. No other user mounts media, opens a file, or accepts a prompt.\nS:U - The kfree'd ipv6_txoptions and the child socket created by tcp_v6_syn_recv_sock() belong to the same host kernel that received the SYN. The corruption stays in that kernel.\nC:H - tcp_v6_reqsk_destructor() kfree()s the ipv6_txoptions still loaded by a CPU in tcp_v6_send_synack(). ip6_xmit() reads opt_nflen and opt_flen, and ipv6_push_exthdr() memcpy()s hopopt for ipv6_optlen() bytes into the SYN-ACK. ipv6_dup_options() sock_kmemdup()s opt->tot_len onto the child. Reclaiming that kmalloc slab returns heap contents to the peer.\nI:H - Reclaiming the kfree'd ipv6_txoptions lets the attacker set srcrt, hopopt and hdrlen. ipv6_push_nfrag_opts() then calls ipv6_push_rthdr0(), which with hdrlen 0 or 1 writes an in6_addr at phdr->addr[-1], before the pushed header, and ipv6_push_exthdr() memcpy()s through hopopt. ipv6_dup_options() also sock_kmemdup()s the sprayed tot_len into the child socket.\nA:H - Use of the kfree'd ipv6_txoptions in ip6_xmit() or ipv6_dup_options() faults or, when a sprayed hdrlen exceeds the SYN-ACK headroom, skb_push() in ipv6_push_exthdr() calls skb_under_panic(). Either path oopses the kernel."}]}],"providerMetadata":{"dateUpdated":"2026-12-04T03:31:57.946Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/e1952acabcf9bf5b93150a38837b573186e0e299"},{"url":"https://git.kernel.org/stable/c/929a2b016ba9ba9c859a65038e212d2ce0ceee36"},{"url":"https://git.kernel.org/stable/c/14f121b0dcd845b50bfc3baa98443f39c08b91af"},{"url":"https://git.kernel.org/stable/c/82378cf642bd722d552c200e40aca1596b12d132"},{"url":"https://git.kernel.org/stable/c/fafbc4051123d5459ea6950899cec08ed946e278"}],"title":"tcp: ipv6: free ireq->ipv6_opt after an RCU grace period","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-143262","datePublished":"2026-12-03T09:21:07.292Z","dateReserved":"2026-12-03T03:10:28.363Z","dateUpdated":"2026-12-04T03:31:57.946Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-12-03 10:18:08","lastModifiedDate":"2026-12-04 04:17:46","problem_types":[],"metrics":{"cvssMetricV31":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","baseScore":8.1,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":2.2,"impactScore":5.9}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"143262","Ordinal":"1","Title":"tcp: ipv6: free ireq->ipv6_opt after an RCU grace period","CVE":"CVE-2026-143262","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"143262","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\ntcp: ipv6: free ireq->ipv6_opt after an RCU grace period\n\nireq->ipv6_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.","Type":"Description","Title":"tcp: ipv6: free ireq->ipv6_opt after an RCU grace period"}]}}}