CVE-2026-99676 (GCVE-0-2026-99676)

Vulnerability from cvelistv5 – Published: 2026-11-20 05:50 – Updated: 2026-11-22 11:09
VLAI
Title
net: restore refcount ordering for lockless socket access
Summary
In the Linux kernel, the following vulnerability has been resolved: net: restore refcount ordering for lockless socket access Before commit fb041bb7c0a9 ("locking/refcount: Consolidate implementations of refcount_t"), default builds implemented refcount_inc_not_zero() using atomic_add_unless(), which provided full memory ordering on success. The commit removed that ordering on weakly ordered architectures, allowing accesses after a successful reference acquisition to be reordered before it. Use refcount_inc_not_zero_acquire() in the IPv4 and IPv6 established lookups and in inet_twsk_purge(), where the socket is validated again after taking a reference. bpf_sk_assign() can receive a socket pointer obtained through BTF without a reference. Use acquire ordering when it takes its own reference for a refcounted socket. Use refcount_set_release() when setting refcounts in the SYN cookie, TCP Fast Open, request migration, and TIME_WAIT paths. Keep the existing TIME_WAIT smp_wmb(), which separately orders the refcount store before ehash publication.
Assigner
Linux CNA under the mitre root
CNA scorecard D 53/100 over 6865 records in the last 180 days details
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: fb041bb7c0a918b95c6889fc965cdc4a75b4c0ca , < 6f4fc93f76cd8ebd3c89a064573715503048d1ad (git)
Affected: fb041bb7c0a918b95c6889fc965cdc4a75b4c0ca , < ddd14d0b5b5e650077779d9a158cb7a80ee8297b (git)
Affected: fb041bb7c0a918b95c6889fc965cdc4a75b4c0ca , < 52f5a5ab318f5b120eb686069fbd0108016c02b2 (git)
Affected: fb041bb7c0a918b95c6889fc965cdc4a75b4c0ca , < 5b5d8f351dd96f56a58bb516a80e2d4d742fe4e2 (git)
Affected: d0d583484d2ed9f5903edbbfa7e2a68f78b950b0 (git)
Affected: 5.4.208 , < 5.5 (semver)
guessed Create a notification for this product.
Linux Linux Affected: 5.5
Unaffected: 0 , < 5.5 (semver)
Unaffected: 6.12.118 , ≤ 6.12.* (semver)
Unaffected: 6.18.64 , ≤ 6.18.* (semver)
Unaffected: 7.3.5 , ≤ 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/core/filter.c",
            "net/ipv4/inet_connection_sock.c",
            "net/ipv4/inet_hashtables.c",
            "net/ipv4/inet_timewait_sock.c",
            "net/ipv4/syncookies.c",
            "net/ipv4/tcp_fastopen.c",
            "net/ipv6/inet6_hashtables.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "6f4fc93f76cd8ebd3c89a064573715503048d1ad",
              "status": "affected",
              "version": "fb041bb7c0a918b95c6889fc965cdc4a75b4c0ca",
              "versionType": "git"
            },
            {
              "lessThan": "ddd14d0b5b5e650077779d9a158cb7a80ee8297b",
              "status": "affected",
              "version": "fb041bb7c0a918b95c6889fc965cdc4a75b4c0ca",
              "versionType": "git"
            },
            {
              "lessThan": "52f5a5ab318f5b120eb686069fbd0108016c02b2",
              "status": "affected",
              "version": "fb041bb7c0a918b95c6889fc965cdc4a75b4c0ca",
              "versionType": "git"
            },
            {
              "lessThan": "5b5d8f351dd96f56a58bb516a80e2d4d742fe4e2",
              "status": "affected",
              "version": "fb041bb7c0a918b95c6889fc965cdc4a75b4c0ca",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "d0d583484d2ed9f5903edbbfa7e2a68f78b950b0",
              "versionType": "git"
            },
            {
              "lessThan": "5.5",
              "status": "affected",
              "version": "5.4.208",
              "versionType": "semver"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "net/core/filter.c",
            "net/ipv4/inet_connection_sock.c",
            "net/ipv4/inet_hashtables.c",
            "net/ipv4/inet_timewait_sock.c",
            "net/ipv4/syncookies.c",
            "net/ipv4/tcp_fastopen.c",
            "net/ipv6/inet6_hashtables.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "5.5"
            },
            {
              "lessThan": "5.5",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.118",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.64",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.3.*",
              "status": "unaffected",
              "version": "7.3.5",
              "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": "6.12.118",
                  "versionStartIncluding": "5.5",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.64",
                  "versionStartIncluding": "5.5",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3.5",
                  "versionStartIncluding": "5.5",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.4-rc2",
                  "versionStartIncluding": "5.5",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "5.4.208",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nnet: restore refcount ordering for lockless socket access\n\nBefore commit fb041bb7c0a9 (\"locking/refcount: Consolidate implementations\nof refcount_t\"), default builds implemented refcount_inc_not_zero() using\natomic_add_unless(), which provided full memory ordering on success. The\ncommit removed that ordering on weakly ordered architectures, allowing\naccesses after a successful reference acquisition to be reordered before\nit.\n\nUse refcount_inc_not_zero_acquire() in the IPv4 and IPv6 established\nlookups and in inet_twsk_purge(), where the socket is validated again\nafter taking a reference.\n\nbpf_sk_assign() can receive a socket pointer obtained through BTF\nwithout a reference. Use acquire ordering when it takes its own reference\nfor a refcounted socket.\n\nUse refcount_set_release() when setting refcounts in the SYN cookie,\nTCP Fast Open, request migration, and TIME_WAIT paths. Keep the existing\nTIME_WAIT smp_wmb(), which separately orders the refcount store before\nehash publication."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 9.8,
            "baseSeverity": "CRITICAL",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:N - A TCP segment enters __inet_lookup_established() from tcp_v4_rcv() through __inet_lookup_skb(), and from tcp_v4_early_demux() in ip_rcv_finish_core(); tcp_v6_rcv() does the same via __inet6_lookup_established(). The header 4-tuple is the lookup key, and that segment is delivered to whatever socket the unordered refcount_inc_not_zero() returns.\nAC:L - The attacker produces the race by opening and closing connections and by completing SYN-cookie handshakes, so tcp_get_cookie_sock() and connect/close recycle SLAB_TYPESAFE_BY_RCU sockets while further segments enter the lookup. Relaxed refcount_inc_not_zero() does not order the following inet_match() or hlist_nulls_unhashed_lockless() recheck, and no victim action or hardware fault is required.\nPR:N - tcp_v4_rcv() and tcp_v4_early_demux() run on every incoming TCP segment before TCP-MD5, TCP-AO, or application authentication. Sending the segment to a listening port performs no credential check on this path.\nUI:N - The attacker both recycles the sockets and sends the racing segments. No local user must mount media, open a file, or accept a connection.\nS:U - The lookup, the recycled tcp_sock or request_sock, and any dst_entry reached from sk_rx_dst all belong to the host kernel. The bug does not cross a guest-to-host or IOMMU boundary.\nC:H - A load of sk_rx_dst after the relaxed refcount_inc_not_zero() can still observe the previous tcp_sock\u0027s route, which tcp_disconnect() already passed to dst_release(). tcp_v4_early_demux() and tcp_v4_do_rcv() then read dst-\u003eobsolete and call dst-\u003eops-\u003echeck on that freed dst_entry.\nI:H - tcp_v4_do_rcv() dispatches through the stale sk_rx_dst via dst-\u003eops-\u003echeck and can dst_release() it, writing a freed dst_entry. It also passes the attacker\u0027s segment to tcp_rcv_established() on the recycled socket, updating that socket\u0027s sequence state and receive queue.\nA:H - If reuse returns the unhashed SYN-cookie request published by tcp_get_cookie_sock(), its rsk_listener is NULL and tcp_v4_rcv() reads sk-\u003esk_state at offset 0x12 through that NULL pointer in softirq, oopsing the host. The freed dst_entry dereference faults as well."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-11-22T11:09:38.037Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/6f4fc93f76cd8ebd3c89a064573715503048d1ad"
        },
        {
          "url": "https://git.kernel.org/stable/c/ddd14d0b5b5e650077779d9a158cb7a80ee8297b"
        },
        {
          "url": "https://git.kernel.org/stable/c/52f5a5ab318f5b120eb686069fbd0108016c02b2"
        },
        {
          "url": "https://git.kernel.org/stable/c/5b5d8f351dd96f56a58bb516a80e2d4d742fe4e2"
        }
      ],
      "title": "net: restore refcount ordering for lockless socket access",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-99676",
    "datePublished": "2026-11-20T05:50:24.118Z",
    "dateReserved": "2026-09-25T10:25:14.428Z",
    "dateUpdated": "2026-11-22T11:09:38.037Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-99676",
      "date": "2026-11-22",
      "epss": "0.00168",
      "percentile": "0.06175"
    },
    "microsoft_vex": {
      "current_release_date": "2026-11-23T01:05:34.000Z",
      "cve": "CVE-2026-99676",
      "id": "msrc_CVE-2026-99676",
      "initial_release_date": "2026-11-20T18:08:44.000Z",
      "product_status:known_affected": "1",
      "product_status:under_investigation": "1",
      "source": "Microsoft CSAF VEX",
      "status": "final",
      "title": "net: restore refcount ordering for lockless socket access",
      "url": "https://msrc.microsoft.com/csaf/vex/2026/msrc_cve-2026-99676.json",
      "version": "3"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "defaultStatus": "unaffected",
                "product": "Linux",
                "programFiles": [
                  "net/core/filter.c",
                  "net/ipv4/inet_connection_sock.c",
                  "net/ipv4/inet_hashtables.c",
                  "net/ipv4/inet_timewait_sock.c",
                  "net/ipv4/syncookies.c",
                  "net/ipv4/tcp_fastopen.c",
                  "net/ipv6/inet6_hashtables.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "lessThan": "6f4fc93f76cd8ebd3c89a064573715503048d1ad",
                    "status": "affected",
                    "version": "fb041bb7c0a918b95c6889fc965cdc4a75b4c0ca",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "ddd14d0b5b5e650077779d9a158cb7a80ee8297b",
                    "status": "affected",
                    "version": "fb041bb7c0a918b95c6889fc965cdc4a75b4c0ca",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "52f5a5ab318f5b120eb686069fbd0108016c02b2",
                    "status": "affected",
                    "version": "fb041bb7c0a918b95c6889fc965cdc4a75b4c0ca",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "5b5d8f351dd96f56a58bb516a80e2d4d742fe4e2",
                    "status": "affected",
                    "version": "fb041bb7c0a918b95c6889fc965cdc4a75b4c0ca",
                    "versionType": "git"
                  },
                  {
                    "status": "affected",
                    "version": "d0d583484d2ed9f5903edbbfa7e2a68f78b950b0",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "5.5",
                    "status": "affected",
                    "version": "5.4.208",
                    "versionType": "semver"
                  }
                ]
              },
              {
                "defaultStatus": "affected",
                "product": "Linux",
                "programFiles": [
                  "net/core/filter.c",
                  "net/ipv4/inet_connection_sock.c",
                  "net/ipv4/inet_hashtables.c",
                  "net/ipv4/inet_timewait_sock.c",
                  "net/ipv4/syncookies.c",
                  "net/ipv4/tcp_fastopen.c",
                  "net/ipv6/inet6_hashtables.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "status": "affected",
                    "version": "5.5"
                  },
                  {
                    "lessThan": "5.5",
                    "status": "unaffected",
                    "version": "0",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.12.*",
                    "status": "unaffected",
                    "version": "6.12.118",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "6.18.*",
                    "status": "unaffected",
                    "version": "6.18.64",
                    "versionType": "semver"
                  },
                  {
                    "lessThanOrEqual": "7.3.*",
                    "status": "unaffected",
                    "version": "7.3.5",
                    "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\nnet: restore refcount ordering for lockless socket access\n\nBefore commit fb041bb7c0a9 (\"locking/refcount: Consolidate implementations\nof refcount_t\"), default builds implemented refcount_inc_not_zero() using\natomic_add_unless(), which provided full memory ordering on success. The\ncommit removed that ordering on weakly ordered architectures, allowing\naccesses after a successful reference acquisition to be reordered before\nit.\n\nUse refcount_inc_not_zero_acquire() in the IPv4 and IPv6 established\nlookups and in inet_twsk_purge(), where the socket is validated again\nafter taking a reference.\n\nbpf_sk_assign() can receive a socket pointer obtained through BTF\nwithout a reference. Use acquire ordering when it takes its own reference\nfor a refcounted socket.\n\nUse refcount_set_release() when setting refcounts in the SYN cookie,\nTCP Fast Open, request migration, and TIME_WAIT paths. Keep the existing\nTIME_WAIT smp_wmb(), which separately orders the refcount store before\nehash publication."
          }
        ],
        "id": "CVE-2026-99676",
        "lastModified": "2026-11-22T11:17:05.850",
        "metrics": {
          "cvssMetricV31": [
            {
              "cvssData": {
                "attackComplexity": "LOW",
                "attackVector": "NETWORK",
                "availabilityImpact": "HIGH",
                "baseScore": 9.8,
                "baseSeverity": "CRITICAL",
                "confidentialityImpact": "HIGH",
                "integrityImpact": "HIGH",
                "privilegesRequired": "NONE",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
                "version": "3.1"
              },
              "exploitabilityScore": 3.9,
              "impactScore": 5.9,
              "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
              "type": "Secondary"
            }
          ]
        },
        "published": "2026-11-20T06:18:02.340",
        "references": [
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/52f5a5ab318f5b120eb686069fbd0108016c02b2"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/5b5d8f351dd96f56a58bb516a80e2d4d742fe4e2"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/6f4fc93f76cd8ebd3c89a064573715503048d1ad"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/ddd14d0b5b5e650077779d9a158cb7a80ee8297b"
          }
        ],
        "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "vulnStatus": "Received"
      }
    },
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-11-22T11:35:29+00:00",
      "cve": "CVE-2026-99676",
      "id": "CVE-2026-99676",
      "initial_release_date": "2026-11-20T05:50:24.118000+00:00",
      "product_status:known_affected": "127",
      "product_status:known_not_affected": "77",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: kernel: Denial of Service via improper socket reference count memory ordering",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-99676.json",
      "version": "3"
    },
    "suse_vex": {
      "aggregate_severity": "moderate",
      "current_release_date": "2026-11-21T17:27:02Z",
      "cve": "CVE-2026-99676",
      "id": "CVE-2026-99676",
      "initial_release_date": "2026-11-20T17:42:53Z",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2026-99676",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/2026/cve-2026-99676.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.

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.