CVE-2026-143204 (GCVE-0-2026-143204)

Vulnerability from cvelistv5 – Published: 2026-12-03 09:20 – Updated: 2026-12-04 03:30
VLAI
Title
tcp: Do not allow buggy transitions between ehash and lhash2.
Summary
In the Linux kernel, the following vulnerability has been resolved: tcp: Do not allow buggy transitions between ehash and lhash2. The following state transitions have long been a playground for syzbot, and recently AI joined in, reporting a lot more bugs. * listen() + shutdown() + connect() * connect() + connect(AF_UNSPEC) + listen() All the fix attempts would add more code to the fast path, which is not worth it. Instead of playing whack-a-mole with these edge-case bugs, let's disallow these transitions. Note that unhashed_state is placed in the 4-byte hole after icsk_pmtu_cookie. $ pahole -C inet_connection_sock vmlinux struct inet_connection_sock { ... __u32 icsk_pmtu_cookie; /* 1208 4 */ unsigned char unhashed_state; /* 1212 1 */ /* XXX 3 bytes hole, try to pack */
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: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 , < 79dbec9552ea23ac4429626fa608aff520246d1d (git)
Affected: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 , < 7d1bb706ffa4c1ef7e06858c91fe9c35b1892be4 (git)
Affected: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 , < 0b29f696c06a21f8bce84345d57ffbe82a11e11b (git)
Affected: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 , < 8cc3aef0cb198049805ecc061a2cc7b79b0ae43e (git)
Affected: 0 , < 6.12.120 (semver)
Affected: 0 , < 6.18.66 (semver)
Affected: 0 , < 7.3.7 (semver)
guessed Create a notification for this product.
Linux Linux Unaffected: 6.12.120 , ≤ 6.12.* (semver)
Unaffected: 6.18.66 , ≤ 6.18.* (semver)
Unaffected: 7.3.7 , ≤ 7.3.* (semver)
Unaffected: 7.4-rc1 , ≤ * (original_commit_for_fix)
guessed Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "include/net/inet_connection_sock.h",
            "net/ipv4/inet_connection_sock.c",
            "net/ipv4/inet_hashtables.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "79dbec9552ea23ac4429626fa608aff520246d1d",
              "status": "affected",
              "version": "1da177e4c3f41524e886b7f1b8a0c1fc7321cac2",
              "versionType": "git"
            },
            {
              "lessThan": "7d1bb706ffa4c1ef7e06858c91fe9c35b1892be4",
              "status": "affected",
              "version": "1da177e4c3f41524e886b7f1b8a0c1fc7321cac2",
              "versionType": "git"
            },
            {
              "lessThan": "0b29f696c06a21f8bce84345d57ffbe82a11e11b",
              "status": "affected",
              "version": "1da177e4c3f41524e886b7f1b8a0c1fc7321cac2",
              "versionType": "git"
            },
            {
              "lessThan": "8cc3aef0cb198049805ecc061a2cc7b79b0ae43e",
              "status": "affected",
              "version": "1da177e4c3f41524e886b7f1b8a0c1fc7321cac2",
              "versionType": "git"
            },
            {
              "lessThan": "6.12.120",
              "status": "affected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThan": "6.18.66",
              "status": "affected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThan": "7.3.7",
              "status": "affected",
              "version": "0",
              "versionType": "semver"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "include/net/inet_connection_sock.h",
            "net/ipv4/inet_connection_sock.c",
            "net/ipv4/inet_hashtables.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "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-rc1",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.120",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.66",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3.7",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.4-rc1",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\ntcp: Do not allow buggy transitions between ehash and lhash2.\n\nThe following state transitions have long been a playground for\nsyzbot, and recently AI joined in, reporting a lot more bugs.\n\n  * listen() + shutdown() + connect()\n  * connect() + connect(AF_UNSPEC) + listen()\n\nAll the fix attempts would add more code to the fast path, which\nis not worth it.\n\nInstead of playing whack-a-mole with these edge-case bugs,\nlet\u0027s disallow these transitions.\n\nNote that unhashed_state is placed in the 4-byte hole after\nicsk_pmtu_cookie.\n\n  $ pahole -C inet_connection_sock vmlinux\n  struct inet_connection_sock {\n  ...\n\t__u32                      icsk_pmtu_cookie;     /*  1208     4 */\n\tunsigned char              unhashed_state;       /*  1212     1 */\n\n\t/* XXX 3 bytes hole, try to pack */"
        }
      ],
      "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 - inet_hash() and __inet_hash_connect(), the functions this fix changes, are reached from listen() via inet_listen() and inet_csk_listen_start(), and from connect() via inet_stream_connect() and tcp_v4_connect(). shutdown() and connect(AF_UNSPEC) reach inet_unhash() through tcp_disconnect(); no TCP segment carries that transition.\nAC:L - The same unprivileged process calls listen(), then shutdown() or connect(AF_UNSPEC), then connect() on one socket while another of its sockets sends SYNs to that address, racing inet_lhash2_lookup()\u0027s RCU walk of sk_nulls_node against the move onto ehash. The attacker creates both sides; TCP needs no extra config.\nPR:L - socket(AF_INET, SOCK_STREAM), bind() of an ephemeral port, listen(), shutdown(), and connect() are allowed for any local user. inet_create() checks CAP_NET_RAW only for SOCK_RAW; these transitions do not need CAP_NET_ADMIN or a user namespace.\nUI:N - The attacker issues listen(), shutdown() or connect(AF_UNSPEC), and connect() on sockets they created, and can connect to their own listener. No other user has to accept, mount, or click.\nS:U - The objects corrupted are this kernel\u0027s inet_timewait_sock and sk_buff. The transition does not cross a guest-to-host or IOMMU boundary.\nC:H - inet_lhash2_lookup() scores sockets in compute_score() without checking sk_state and, unlike __inet_lookup_established(), does not restart when the nulls slot mismatches. A walk that follows a rehashed sk_nulls_node into ehash can return a TCP_TIME_WAIT socket with refcounted false; tcp_v4_rcv() then inet_twsk_put()s it and later lookups read the freed twsk.\nI:H - The extra inet_twsk_put() frees a twsk that is still linked in ehash. On the lockless TCP_LISTEN path, tcp_v4_rcv() calls tcp_v4_do_rcv() without bh_lock_sock(); once the socket is TCP_SYN_SENT, tcp_rcv_synsent_state_process() calls tcp_send_synack(), which tcp_rtx_queue_unlink_and_free()s the SYN skb __tcp_transmit_skb() is still writing.\nA:H - Both failures are slab use-after-frees, of a hashed timewait socket and of the skbuff_fclone SYN freed under tcp_update_skb_after_send(), and oops the kernel. The listen/shutdown/connect sequence can be repeated."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-12-04T03:30:53.140Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/79dbec9552ea23ac4429626fa608aff520246d1d"
        },
        {
          "url": "https://git.kernel.org/stable/c/7d1bb706ffa4c1ef7e06858c91fe9c35b1892be4"
        },
        {
          "url": "https://git.kernel.org/stable/c/0b29f696c06a21f8bce84345d57ffbe82a11e11b"
        },
        {
          "url": "https://git.kernel.org/stable/c/8cc3aef0cb198049805ecc061a2cc7b79b0ae43e"
        }
      ],
      "title": "tcp: Do not allow buggy transitions between ehash and lhash2.",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-143204",
    "datePublished": "2026-12-03T09:20:28.246Z",
    "dateReserved": "2026-12-03T03:10:28.359Z",
    "dateUpdated": "2026-12-04T03:30:53.140Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-143204",
      "date": "2026-12-04",
      "epss": "0.00163",
      "percentile": "0.05685"
    },
    "microsoft_vex": {
      "current_release_date": "2026-12-04T01:07:53.000Z",
      "cve": "CVE-2026-143204",
      "id": "msrc_CVE-2026-143204",
      "initial_release_date": "2026-12-03T18:48:21.000Z",
      "product_status:known_affected": "1",
      "product_status:under_investigation": "1",
      "source": "Microsoft CSAF VEX",
      "status": "final",
      "title": "tcp: Do not allow buggy transitions between ehash and lhash2.",
      "url": "https://msrc.microsoft.com/csaf/vex/2026/msrc_cve-2026-143204.json",
      "version": "2"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "defaultStatus": "unaffected",
                "product": "Linux",
                "programFiles": [
                  "include/net/inet_connection_sock.h",
                  "net/ipv4/inet_connection_sock.c",
                  "net/ipv4/inet_hashtables.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "lessThan": "79dbec9552ea23ac4429626fa608aff520246d1d",
                    "status": "affected",
                    "version": "1da177e4c3f41524e886b7f1b8a0c1fc7321cac2",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "7d1bb706ffa4c1ef7e06858c91fe9c35b1892be4",
                    "status": "affected",
                    "version": "1da177e4c3f41524e886b7f1b8a0c1fc7321cac2",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "0b29f696c06a21f8bce84345d57ffbe82a11e11b",
                    "status": "affected",
                    "version": "1da177e4c3f41524e886b7f1b8a0c1fc7321cac2",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "8cc3aef0cb198049805ecc061a2cc7b79b0ae43e",
                    "status": "affected",
                    "version": "1da177e4c3f41524e886b7f1b8a0c1fc7321cac2",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "6.12.120",
                    "status": "affected",
                    "version": "0",
                    "versionType": "semver"
                  },
                  {
                    "lessThan": "6.18.66",
                    "status": "affected",
                    "version": "0",
                    "versionType": "semver"
                  },
                  {
                    "lessThan": "7.3.7",
                    "status": "affected",
                    "version": "0",
                    "versionType": "semver"
                  }
                ]
              },
              {
                "defaultStatus": "affected",
                "product": "Linux",
                "programFiles": [
                  "include/net/inet_connection_sock.h",
                  "net/ipv4/inet_connection_sock.c",
                  "net/ipv4/inet_hashtables.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "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-rc1",
                    "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 allow buggy transitions between ehash and lhash2.\n\nThe following state transitions have long been a playground for\nsyzbot, and recently AI joined in, reporting a lot more bugs.\n\n  * listen() + shutdown() + connect()\n  * connect() + connect(AF_UNSPEC) + listen()\n\nAll the fix attempts would add more code to the fast path, which\nis not worth it.\n\nInstead of playing whack-a-mole with these edge-case bugs,\nlet\u0027s disallow these transitions.\n\nNote that unhashed_state is placed in the 4-byte hole after\nicsk_pmtu_cookie.\n\n  $ pahole -C inet_connection_sock vmlinux\n  struct inet_connection_sock {\n  ...\n\t__u32                      icsk_pmtu_cookie;     /*  1208     4 */\n\tunsigned char              unhashed_state;       /*  1212     1 */\n\n\t/* XXX 3 bytes hole, try to pack */"
          }
        ],
        "id": "CVE-2026-143204",
        "lastModified": "2026-12-04T04:17:41.563",
        "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.983",
        "references": [
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/0b29f696c06a21f8bce84345d57ffbe82a11e11b"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/79dbec9552ea23ac4429626fa608aff520246d1d"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/7d1bb706ffa4c1ef7e06858c91fe9c35b1892be4"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/8cc3aef0cb198049805ecc061a2cc7b79b0ae43e"
          }
        ],
        "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "vulnStatus": "Received"
      }
    },
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-12-04T04:19:19+00:00",
      "cve": "CVE-2026-143204",
      "id": "CVE-2026-143204",
      "initial_release_date": "2026-12-03T09:20:28.246000+00:00",
      "product_status:known_affected": "280",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: kernel: Denial of service via invalid TCP socket state transitions",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-143204.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.