CVE-2026-143262 (GCVE-0-2026-143262)

Vulnerability from cvelistv5 – Published: 2026-12-03 09:21 – Updated: 2026-12-04 03:31
VLAI
Title
tcp: ipv6: free ireq->ipv6_opt after an RCU grace period
Summary
In the Linux kernel, the following vulnerability has been resolved: tcp: ipv6: free ireq->ipv6_opt after an RCU grace period ireq->ipv6_opt is only set by calipso_req_setattr(), when a CALIPSO NetLabel mapping is configured. Request socket migration (net.ipv4.tcp_migrate_req=1, or a BPF_SK_REUSEPORT_SELECT_OR_MIGRATE program) clones the request socket with inet_reqsk_clone(), so that the old request socket and its clone share the same ipv6_opt, then reqsk_migrate_reset() clears the pointer in the old one. Another cpu holding a reference on the old request socket can still be using these options, sending a SYNACK from tcp_v6_send_synack() or creating a child in tcp_v6_syn_recv_sock(), when the clone is freed. tcp_v6_reqsk_destructor() frees ipv6_opt with a plain kfree(), leading to a use-after-free. Both readers already run under RCU, like their IPv4 counterparts. Use kfree_rcu() in tcp_v6_reqsk_destructor(), as commit e3f33b0a1d89 ("ipv4: free inet_opt and ireq_opt after an RCU grace period") did for ireq_opt.
Assigner
Linux CNA under the mitre root
CNA scorecard D 52/100 over 8648 records in the last 180 days details
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: c905dee62232db583b50fe214080b98db623151e , < e1952acabcf9bf5b93150a38837b573186e0e299 (git)
Affected: c905dee62232db583b50fe214080b98db623151e , < 929a2b016ba9ba9c859a65038e212d2ce0ceee36 (git)
Affected: c905dee62232db583b50fe214080b98db623151e , < 14f121b0dcd845b50bfc3baa98443f39c08b91af (git)
Affected: c905dee62232db583b50fe214080b98db623151e , < 82378cf642bd722d552c200e40aca1596b12d132 (git)
Affected: c905dee62232db583b50fe214080b98db623151e , < fafbc4051123d5459ea6950899cec08ed946e278 (git)
guessed Create a notification for this product.
Linux Linux Affected: 5.14
Unaffected: 0 , < 5.14 (semver)
Unaffected: 5.15.227 , ≤ 5.15.* (semver)
Unaffected: 6.12.120 , ≤ 6.12.* (semver)
Unaffected: 6.18.66 , ≤ 6.18.* (semver)
Unaffected: 7.3.7 , ≤ 7.3.* (semver)
Unaffected: 7.4-rc2 , ≤ * (original_commit_for_fix)
guessed Create a notification for this product.
Show details on NVD website

{
  "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-\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."
        }
      ],
      "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-\u003eipv6_opt. A retransmitted SYN or ACK then reaches tcp_v6_send_synack() or tcp_v6_syn_recv_sock() while the migrated request\u0027s 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-\u003eipv6_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\u0027d 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-\u003etot_len onto the child. Reclaiming that kmalloc slab returns heap contents to the peer.\nI:H - Reclaiming the kfree\u0027d 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-\u003eaddr[-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\u0027d 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-\u003eipv6_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",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-143262",
      "date": "2026-12-04",
      "epss": "0.00501",
      "percentile": "0.4454"
    },
    "microsoft_vex": {
      "current_release_date": "2026-12-04T01:14:29.000Z",
      "cve": "CVE-2026-143262",
      "id": "msrc_CVE-2026-143262",
      "initial_release_date": "2026-12-03T18:55:12.000Z",
      "product_status:known_affected": "1",
      "product_status:under_investigation": "1",
      "source": "Microsoft CSAF VEX",
      "status": "final",
      "title": "tcp: ipv6: free ireq-\u003eipv6_opt after an RCU grace period",
      "url": "https://msrc.microsoft.com/csaf/vex/2026/msrc_cve-2026-143262.json",
      "version": "2"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "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"
                  }
                ]
              }
            ],
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
          }
        ],
        "cveTags": [],
        "descriptions": [
          {
            "lang": "en",
            "value": "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."
          }
        ],
        "id": "CVE-2026-143262",
        "lastModified": "2026-12-04T04:17:46.110",
        "metrics": {
          "cvssMetricV31": [
            {
              "cvssData": {
                "attackComplexity": "HIGH",
                "attackVector": "NETWORK",
                "availabilityImpact": "HIGH",
                "baseScore": 8.1,
                "baseSeverity": "HIGH",
                "confidentialityImpact": "HIGH",
                "integrityImpact": "HIGH",
                "privilegesRequired": "NONE",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H",
                "version": "3.1"
              },
              "exploitabilityScore": 2.2,
              "impactScore": 5.9,
              "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
              "type": "Secondary"
            }
          ]
        },
        "published": "2026-12-03T10:18:08.703",
        "references": [
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/14f121b0dcd845b50bfc3baa98443f39c08b91af"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/82378cf642bd722d552c200e40aca1596b12d132"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/929a2b016ba9ba9c859a65038e212d2ce0ceee36"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/e1952acabcf9bf5b93150a38837b573186e0e299"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/fafbc4051123d5459ea6950899cec08ed946e278"
          }
        ],
        "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "vulnStatus": "Received"
      }
    },
    "redhat_vex": {
      "aggregate_severity": "Important",
      "current_release_date": "2026-12-04T03:49:44+00:00",
      "cve": "CVE-2026-143262",
      "id": "CVE-2026-143262",
      "initial_release_date": "2026-12-03T09:21:07.292000+00:00",
      "product_status:known_affected": "189",
      "product_status:known_not_affected": "91",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: kernel: Denial of service via use-after-free in IPv6 TCP socket migration",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-143262.json",
      "version": "3"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline

Sightings and recorded dates, grouped by day · UTC

JSON
How durations are calculated

Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation. The method is described in a publication.

Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.

Events included in the timeline

Loading timeline…


    Loading…

    Loading…

    Loading…

    Related by attack behaviour

    Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.