CVE-2026-143203 (GCVE-0-2026-143203)

Vulnerability from cvelistv5 – Published: 2026-12-03 09:20 – Updated: 2026-12-04 03:30
VLAI
Title
tcp: do not resurrect a former listener with SO_ATTACH_REUSEPORT_[CE]BPF
Summary
In the Linux kernel, the following vulnerability has been resolved: tcp: do not resurrect a former listener with SO_ATTACH_REUSEPORT_[CE]BPF After listen() + shutdown(), a TCP socket is moved to the closed section of its reuseport group, while TCP_NEW_SYN_RECV requests can still reference it as rsk_listener. If SO_ATTACH_REUSEPORT_[CE]BPF is then used on this socket, reuseport_attach_prog() calls reuseport_alloc(), which resurrects it into the listening section of a new group, even though the socket is still in TCP_CLOSE. After close(), the socket stays in that group and the pending requests keep it allocated. When the final ACK arrives, reuseport_migrate_sock() can select this dead socket and inet_csk_clone_lock() clones it. With a ULP like espintcp installed while in TCP_CLOSE, the child inherits icsk_ulp_data and sk_destruct after tcp_cleanup_ulp() cleared icsk_ulp_ops, leading to a use-after-free in espintcp_destruct(). As done in commit 8cc3aef0cb19 ("tcp: Do not allow buggy transitions between ehash and lhash2."), deny this transition instead of adding checks to the fast path. Only an unhashed former listener is affected. Applications can still attach a reuseport prog to a socket that never listened, or to a listener (including one that called listen() again after shutdown()).
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: 333bb73f620e1a5f2e0b8df2c0d25300fab36d89 , < c00971ee9ddbdb73db7b0919c10e60a6526b1723 (git)
Affected: 333bb73f620e1a5f2e0b8df2c0d25300fab36d89 , < a7953fe27e521a1031de6b92c09229f2e92af9fb (git)
Affected: 333bb73f620e1a5f2e0b8df2c0d25300fab36d89 , < 040f915bd4e4d6f328eae4ea80ebac7c19ea25fd (git)
Affected: 333bb73f620e1a5f2e0b8df2c0d25300fab36d89 , < 8c011697f76abf3b2302718a7a1c50e36d849f28 (git)
guessed Create a notification for this product.
Linux Linux Affected: 5.14
Unaffected: 0 , < 5.14 (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-rc3 , ≤ * (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/core/sock_reuseport.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "c00971ee9ddbdb73db7b0919c10e60a6526b1723",
              "status": "affected",
              "version": "333bb73f620e1a5f2e0b8df2c0d25300fab36d89",
              "versionType": "git"
            },
            {
              "lessThan": "a7953fe27e521a1031de6b92c09229f2e92af9fb",
              "status": "affected",
              "version": "333bb73f620e1a5f2e0b8df2c0d25300fab36d89",
              "versionType": "git"
            },
            {
              "lessThan": "040f915bd4e4d6f328eae4ea80ebac7c19ea25fd",
              "status": "affected",
              "version": "333bb73f620e1a5f2e0b8df2c0d25300fab36d89",
              "versionType": "git"
            },
            {
              "lessThan": "8c011697f76abf3b2302718a7a1c50e36d849f28",
              "status": "affected",
              "version": "333bb73f620e1a5f2e0b8df2c0d25300fab36d89",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "net/core/sock_reuseport.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": "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-rc3",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "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-rc3",
                  "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: do not resurrect a former listener with SO_ATTACH_REUSEPORT_[CE]BPF\n\nAfter listen() + shutdown(), a TCP socket is moved to the closed\nsection of its reuseport group, while TCP_NEW_SYN_RECV requests\ncan still reference it as rsk_listener.\n\nIf SO_ATTACH_REUSEPORT_[CE]BPF is then used on this socket,\nreuseport_attach_prog() calls reuseport_alloc(), which resurrects\nit into the listening section of a new group, even though the\nsocket is still in TCP_CLOSE.\n\nAfter close(), the socket stays in that group and the pending\nrequests keep it allocated. When the final ACK arrives,\nreuseport_migrate_sock() can select this dead socket and\ninet_csk_clone_lock() clones it. With a ULP like espintcp installed\nwhile in TCP_CLOSE, the child inherits icsk_ulp_data and sk_destruct\nafter tcp_cleanup_ulp() cleared icsk_ulp_ops, leading to a\nuse-after-free in espintcp_destruct().\n\nAs done in commit 8cc3aef0cb19 (\"tcp: Do not allow buggy transitions\nbetween ehash and lhash2.\"), deny this transition instead of adding\nchecks to the fast path.\n\nOnly an unhashed former listener is affected. Applications can still\nattach a reuseport prog to a socket that never listened, or to a\nlistener (including one that called listen() again after shutdown())."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 7.8,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:L - setsockopt(SO_ATTACH_REUSEPORT_CBPF/EBPF) reaches the patched reuseport_attach_prog() through sk_setsockopt() and sk_reuseport_attach_filter()/sk_reuseport_attach_bpf(); reuseport_alloc() resurrects the TCP_CLOSE listener locally, and the ACK later handled by tcp_v4_rcv() is the same attacker\u0027s handshake, not a remote protocol field that carries the bug.\nAC:L - The attacker owns both ends: after unshare of a user and net namespace they set tcp_migrate_req, listen with SO_REUSEPORT, leave a TCP_NEW_SYN_RECV request outstanding, shutdown, attach the reuseport filter, setsockopt TCP_ULP espintcp, close, then send the matching ACK so reuseport_migrate_sock() selects that socket.\nPR:L - SO_REUSEPORT, SO_ATTACH_REUSEPORT_CBPF and do_tcp_setsockopt(TCP_ULP) do not check capabilities; migration with a classic filter needs tcp_migrate_req, and net_ctl_permissions() allows that write to CAP_NET_ADMIN in the netns user namespace, which an unprivileged user gets with unshare -Urn.\nUI:N - The attacker performs listen, shutdown, the reuseport setsockopt, TCP_ULP and close on a socket they created, and completes the handshake themselves; no other user mounts media or accepts a prompt.\nS:U - espintcp_destruct() frees and reuses an espintcp_ctx inside the same kernel that accepted the socket calls; this is local kernel memory corruption, not a guest-to-host or IOMMU crossing.\nC:H - sk_clone() in inet_csk_clone_lock() copies icsk_ulp_data after tcp_cleanup_ulp() cleared icsk_ulp_ops, so the child\u0027s espintcp_destruct() kfree()s the shared espintcp_ctx and the parent\u0027s RCU destructor reads that freed object, including saved_destruct and the strparser.\nI:H - The parent\u0027s deferred espintcp_destruct() calls ctx-\u003esaved_destruct from the ctx the child already kfree()d; reclaiming that slab object before the RCU callback lets the attacker replace the function pointer and hijack control flow.\nA:H - inet_child_forget() destroys the cloned child and runs espintcp_destruct() on the shared ctx, and the parent socket\u0027s later destructor uses the freed ctx, which oopses the kernel."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-12-04T03:30:49.544Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/c00971ee9ddbdb73db7b0919c10e60a6526b1723"
        },
        {
          "url": "https://git.kernel.org/stable/c/a7953fe27e521a1031de6b92c09229f2e92af9fb"
        },
        {
          "url": "https://git.kernel.org/stable/c/040f915bd4e4d6f328eae4ea80ebac7c19ea25fd"
        },
        {
          "url": "https://git.kernel.org/stable/c/8c011697f76abf3b2302718a7a1c50e36d849f28"
        }
      ],
      "title": "tcp: do not resurrect a former listener with SO_ATTACH_REUSEPORT_[CE]BPF",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-143203",
    "datePublished": "2026-12-03T09:20:27.612Z",
    "dateReserved": "2026-12-03T03:10:28.359Z",
    "dateUpdated": "2026-12-04T03:30:49.544Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-143203",
      "date": "2026-12-04",
      "epss": "0.00181",
      "percentile": "0.08"
    },
    "microsoft_vex": {
      "current_release_date": "2026-12-04T01:07:46.000Z",
      "cve": "CVE-2026-143203",
      "id": "msrc_CVE-2026-143203",
      "initial_release_date": "2026-12-03T18:48:18.000Z",
      "product_status:known_affected": "1",
      "product_status:under_investigation": "1",
      "source": "Microsoft CSAF VEX",
      "status": "final",
      "title": "tcp: do not resurrect a former listener with SO_ATTACH_REUSEPORT_[CE]BPF",
      "url": "https://msrc.microsoft.com/csaf/vex/2026/msrc_cve-2026-143203.json",
      "version": "2"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "defaultStatus": "unaffected",
                "product": "Linux",
                "programFiles": [
                  "net/core/sock_reuseport.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "lessThan": "c00971ee9ddbdb73db7b0919c10e60a6526b1723",
                    "status": "affected",
                    "version": "333bb73f620e1a5f2e0b8df2c0d25300fab36d89",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "a7953fe27e521a1031de6b92c09229f2e92af9fb",
                    "status": "affected",
                    "version": "333bb73f620e1a5f2e0b8df2c0d25300fab36d89",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "040f915bd4e4d6f328eae4ea80ebac7c19ea25fd",
                    "status": "affected",
                    "version": "333bb73f620e1a5f2e0b8df2c0d25300fab36d89",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "8c011697f76abf3b2302718a7a1c50e36d849f28",
                    "status": "affected",
                    "version": "333bb73f620e1a5f2e0b8df2c0d25300fab36d89",
                    "versionType": "git"
                  }
                ]
              },
              {
                "defaultStatus": "affected",
                "product": "Linux",
                "programFiles": [
                  "net/core/sock_reuseport.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": "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-rc3",
                    "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: do not resurrect a former listener with SO_ATTACH_REUSEPORT_[CE]BPF\n\nAfter listen() + shutdown(), a TCP socket is moved to the closed\nsection of its reuseport group, while TCP_NEW_SYN_RECV requests\ncan still reference it as rsk_listener.\n\nIf SO_ATTACH_REUSEPORT_[CE]BPF is then used on this socket,\nreuseport_attach_prog() calls reuseport_alloc(), which resurrects\nit into the listening section of a new group, even though the\nsocket is still in TCP_CLOSE.\n\nAfter close(), the socket stays in that group and the pending\nrequests keep it allocated. When the final ACK arrives,\nreuseport_migrate_sock() can select this dead socket and\ninet_csk_clone_lock() clones it. With a ULP like espintcp installed\nwhile in TCP_CLOSE, the child inherits icsk_ulp_data and sk_destruct\nafter tcp_cleanup_ulp() cleared icsk_ulp_ops, leading to a\nuse-after-free in espintcp_destruct().\n\nAs done in commit 8cc3aef0cb19 (\"tcp: Do not allow buggy transitions\nbetween ehash and lhash2.\"), deny this transition instead of adding\nchecks to the fast path.\n\nOnly an unhashed former listener is affected. Applications can still\nattach a reuseport prog to a socket that never listened, or to a\nlistener (including one that called listen() again after shutdown())."
          }
        ],
        "id": "CVE-2026-143203",
        "lastModified": "2026-12-04T04:17:41.390",
        "metrics": {
          "cvssMetricV31": [
            {
              "cvssData": {
                "attackComplexity": "LOW",
                "attackVector": "LOCAL",
                "availabilityImpact": "HIGH",
                "baseScore": 7.8,
                "baseSeverity": "HIGH",
                "confidentialityImpact": "HIGH",
                "integrityImpact": "HIGH",
                "privilegesRequired": "LOW",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
                "version": "3.1"
              },
              "exploitabilityScore": 1.8,
              "impactScore": 5.9,
              "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
              "type": "Secondary"
            }
          ]
        },
        "published": "2026-12-03T10:17:57.837",
        "references": [
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/040f915bd4e4d6f328eae4ea80ebac7c19ea25fd"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/8c011697f76abf3b2302718a7a1c50e36d849f28"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/a7953fe27e521a1031de6b92c09229f2e92af9fb"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/c00971ee9ddbdb73db7b0919c10e60a6526b1723"
          }
        ],
        "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "vulnStatus": "Received"
      }
    },
    "redhat_vex": {
      "aggregate_severity": "Important",
      "current_release_date": "2026-12-04T03:57:30+00:00",
      "cve": "CVE-2026-143203",
      "id": "CVE-2026-143203",
      "initial_release_date": "2026-12-03T09:20:27.612000+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 or arbitrary code execution via TCP socket use-after-free",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-143203.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.