CVE-2026-143222 (GCVE-0-2026-143222)

Vulnerability from cvelistv5 – Published: 2026-12-03 09:20 – Updated: 2026-12-04 03:31
VLAI
Title
af_unix: Remove gc_in_progress check in unix_peek_fpl().
Summary
In the Linux kernel, the following vulnerability has been resolved: af_unix: Remove gc_in_progress check in unix_peek_fpl(). unix_vertex_dead() and unix_peek_fpl() are synchronised with unix_peek_seq to prevent GC from purging a live socket's recvq. unix_peek_fpl() skips the synchronisation if gc_in_progress is false. However, on weakly ordered arch, GC might have already started working while the write to gc_in_progress is buffered. This does not occur on x86. This is an unlikely path that happens only when AF_UNIX fd is peeked so not worth complicating. Instead of adding memory barriers in unix_gc() and unix_peek_fpl(), let's simply remove the broken short-circuit.
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: e3dd56fb5683ba80bf8d7a2f9aa21cfa53f05202 , < 48ce9d1536007b25b757e764f4aab9df8b84bf5f (git)
Affected: 72cf49ad50c16270b52bc512d9c2df5743922968 , < 330ca878e73609861c190d73854de0f81b26e938 (git)
Affected: e5b31d988a41549037b8d8721a3c3cae893d8670 , < 6f91634cb38a76be8464bb3ebdf16b0a7b496706 (git)
Affected: e5b31d988a41549037b8d8721a3c3cae893d8670 , < 0edbc945eb9edd0086f25b151a79cfe4adc0dfa8 (git)
Affected: 980999a96e1ad043f1197606e5d637219cb102b9 (git)
Affected: 3106f326f67c03dd9da4ca64663d11e40138cf40 (git)
Affected: 37dd7ab332396eb8dd80b2dc7ea4b61abf767436 (git)
Affected: 6.12.92 , < 6.12.120 (semver)
Affected: 6.18.23 , < 6.18.66 (semver)
Affected: 6.1.183 , < 6.2 (semver)
Affected: 6.6.142 , < 6.7 (semver)
Affected: 6.19.10 , < 6.20 (semver)
guessed Create a notification for this product.
Linux Linux Affected: 7.0
Unaffected: 0 , < 7.0 (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/unix/garbage.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "48ce9d1536007b25b757e764f4aab9df8b84bf5f",
              "status": "affected",
              "version": "e3dd56fb5683ba80bf8d7a2f9aa21cfa53f05202",
              "versionType": "git"
            },
            {
              "lessThan": "330ca878e73609861c190d73854de0f81b26e938",
              "status": "affected",
              "version": "72cf49ad50c16270b52bc512d9c2df5743922968",
              "versionType": "git"
            },
            {
              "lessThan": "6f91634cb38a76be8464bb3ebdf16b0a7b496706",
              "status": "affected",
              "version": "e5b31d988a41549037b8d8721a3c3cae893d8670",
              "versionType": "git"
            },
            {
              "lessThan": "0edbc945eb9edd0086f25b151a79cfe4adc0dfa8",
              "status": "affected",
              "version": "e5b31d988a41549037b8d8721a3c3cae893d8670",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "980999a96e1ad043f1197606e5d637219cb102b9",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "3106f326f67c03dd9da4ca64663d11e40138cf40",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "37dd7ab332396eb8dd80b2dc7ea4b61abf767436",
              "versionType": "git"
            },
            {
              "lessThan": "6.12.120",
              "status": "affected",
              "version": "6.12.92",
              "versionType": "semver"
            },
            {
              "lessThan": "6.18.66",
              "status": "affected",
              "version": "6.18.23",
              "versionType": "semver"
            },
            {
              "lessThan": "6.2",
              "status": "affected",
              "version": "6.1.183",
              "versionType": "semver"
            },
            {
              "lessThan": "6.7",
              "status": "affected",
              "version": "6.6.142",
              "versionType": "semver"
            },
            {
              "lessThan": "6.20",
              "status": "affected",
              "version": "6.19.10",
              "versionType": "semver"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "net/unix/garbage.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "7.0"
            },
            {
              "lessThan": "7.0",
              "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": "6.12.92",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.66",
                  "versionStartIncluding": "6.18.23",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3.7",
                  "versionStartIncluding": "7.0",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.4-rc3",
                  "versionStartIncluding": "7.0",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "6.1.183",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "6.6.142",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "6.19.10",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\naf_unix: Remove gc_in_progress check in unix_peek_fpl().\n\nunix_vertex_dead() and unix_peek_fpl() are synchronised\nwith unix_peek_seq to prevent GC from purging a live\nsocket\u0027s recvq.\n\nunix_peek_fpl() skips the synchronisation if gc_in_progress\nis false.\n\nHowever, on weakly ordered arch, GC might have already\nstarted working while the write to gc_in_progress is\nbuffered.\n\nThis does not occur on x86.\n\nThis is an unlikely path that happens only when AF_UNIX\nfd is peeked so not worth complicating.\n\nInstead of adding memory barriers in unix_gc() and\nunix_peek_fpl(), let\u0027s simply remove the broken short-circuit."
        }
      ],
      "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 - unix_peek_fpl() runs only from unix_peek_fds() during a local recvmsg(MSG_PEEK) on an AF_UNIX socket (unix_stream_recvmsg -\u003e unix_stream_read_generic, or __unix_dgram_recvmsg). The attacker passes the inflight SCM_RIGHTS fds and issues the peek and close locally; no remote protocol message carries the triggering state.\nAC:L - The attacker runs both sides: recvmsg(MSG_PEEK) enters unix_peek_fds() while close() of another AF_UNIX fd calls unix_release_sock() -\u003e unix_schedule_gc() -\u003e unix_gc(). On a weakly ordered CPU, WRITE_ONCE(gc_in_progress, true) stays unpublished until spin_unlock, so unix_peek_fpl()\u0027s READ_ONCE returns early, unix_peek_seq is not bumped, and unix_scc_dead() keeps the stale unix_vertex_dead() result. The attacker grows the SCC and retries.\nPR:L - socket(AF_UNIX), sendmsg(SCM_RIGHTS), recvmsg(MSG_PEEK) and close() require no capability. Once the inflight graph is cyclic, unix_release_sock() calls unix_schedule_gc(NULL) with no CAP_NET_ADMIN or other check, and unix_peek_fpl() has none either.\nUI:N - The attacker creates the cyclic SCM_RIGHTS sockets, peeks one, and closes another to queue unix_gc(); no second user has to mount, open, or accept.\nS:U - The use-after-free stays in the same kernel: unix_gc() frees an AF_UNIX receive queue that unix_stream_read_generic() is reading, which is local privilege escalation rather than a VM or IOMMU boundary crossing.\nC:H - Skipping the unix_peek_seq bump lets unix_scc_dead() honor a stale unix_vertex_dead() result and unix_collect_skb() plus __skb_queue_purge_reason() free the still-live socket\u0027s sk_receive_queue. unix_stream_read_generic() obtained that skb with skb_peek(), which takes no reference, so skb_copy_datagram_msg() copies from the freed buffer to userspace.\nI:H - The same stream recv then writes UNIXCB(skb).consumed and calls __skb_unlink() and consume_skb() on the skb unix_gc() already freed, a write and double-free of the reclaimed object. The destructor also fputs SCM_RIGHTS files that were still queued on the live socket.\nA:H - Reading or unlinking that freed skb in unix_stream_read_generic(), or the double-free in consume_skb(), oopses the kernel. The failure the fix describes is unix_gc() purging a still-live socket\u0027s receive queue."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-12-04T03:31:17.439Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/48ce9d1536007b25b757e764f4aab9df8b84bf5f"
        },
        {
          "url": "https://git.kernel.org/stable/c/330ca878e73609861c190d73854de0f81b26e938"
        },
        {
          "url": "https://git.kernel.org/stable/c/6f91634cb38a76be8464bb3ebdf16b0a7b496706"
        },
        {
          "url": "https://git.kernel.org/stable/c/0edbc945eb9edd0086f25b151a79cfe4adc0dfa8"
        }
      ],
      "title": "af_unix: Remove gc_in_progress check in unix_peek_fpl().",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-143222",
    "datePublished": "2026-12-03T09:20:39.791Z",
    "dateReserved": "2026-12-03T03:10:28.360Z",
    "dateUpdated": "2026-12-04T03:31:17.439Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-143222",
      "date": "2026-12-04",
      "epss": "0.00163",
      "percentile": "0.05685"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "defaultStatus": "unaffected",
                "product": "Linux",
                "programFiles": [
                  "net/unix/garbage.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "lessThan": "48ce9d1536007b25b757e764f4aab9df8b84bf5f",
                    "status": "affected",
                    "version": "e3dd56fb5683ba80bf8d7a2f9aa21cfa53f05202",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "330ca878e73609861c190d73854de0f81b26e938",
                    "status": "affected",
                    "version": "72cf49ad50c16270b52bc512d9c2df5743922968",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "6f91634cb38a76be8464bb3ebdf16b0a7b496706",
                    "status": "affected",
                    "version": "e5b31d988a41549037b8d8721a3c3cae893d8670",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "0edbc945eb9edd0086f25b151a79cfe4adc0dfa8",
                    "status": "affected",
                    "version": "e5b31d988a41549037b8d8721a3c3cae893d8670",
                    "versionType": "git"
                  },
                  {
                    "status": "affected",
                    "version": "980999a96e1ad043f1197606e5d637219cb102b9",
                    "versionType": "git"
                  },
                  {
                    "status": "affected",
                    "version": "3106f326f67c03dd9da4ca64663d11e40138cf40",
                    "versionType": "git"
                  },
                  {
                    "status": "affected",
                    "version": "37dd7ab332396eb8dd80b2dc7ea4b61abf767436",
                    "versionType": "git"
                  },
                  {
                    "lessThan": "6.12.120",
                    "status": "affected",
                    "version": "6.12.92",
                    "versionType": "semver"
                  },
                  {
                    "lessThan": "6.18.66",
                    "status": "affected",
                    "version": "6.18.23",
                    "versionType": "semver"
                  },
                  {
                    "lessThan": "6.2",
                    "status": "affected",
                    "version": "6.1.183",
                    "versionType": "semver"
                  },
                  {
                    "lessThan": "6.7",
                    "status": "affected",
                    "version": "6.6.142",
                    "versionType": "semver"
                  },
                  {
                    "lessThan": "6.20",
                    "status": "affected",
                    "version": "6.19.10",
                    "versionType": "semver"
                  }
                ]
              },
              {
                "defaultStatus": "affected",
                "product": "Linux",
                "programFiles": [
                  "net/unix/garbage.c"
                ],
                "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                "vendor": "Linux",
                "versions": [
                  {
                    "status": "affected",
                    "version": "7.0"
                  },
                  {
                    "lessThan": "7.0",
                    "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\naf_unix: Remove gc_in_progress check in unix_peek_fpl().\n\nunix_vertex_dead() and unix_peek_fpl() are synchronised\nwith unix_peek_seq to prevent GC from purging a live\nsocket\u0027s recvq.\n\nunix_peek_fpl() skips the synchronisation if gc_in_progress\nis false.\n\nHowever, on weakly ordered arch, GC might have already\nstarted working while the write to gc_in_progress is\nbuffered.\n\nThis does not occur on x86.\n\nThis is an unlikely path that happens only when AF_UNIX\nfd is peeked so not worth complicating.\n\nInstead of adding memory barriers in unix_gc() and\nunix_peek_fpl(), let\u0027s simply remove the broken short-circuit."
          }
        ],
        "id": "CVE-2026-143222",
        "lastModified": "2026-12-04T04:17:44.000",
        "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:18:00.723",
        "references": [
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/0edbc945eb9edd0086f25b151a79cfe4adc0dfa8"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/330ca878e73609861c190d73854de0f81b26e938"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/48ce9d1536007b25b757e764f4aab9df8b84bf5f"
          },
          {
            "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
            "url": "https://git.kernel.org/stable/c/6f91634cb38a76be8464bb3ebdf16b0a7b496706"
          }
        ],
        "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "vulnStatus": "Received"
      }
    },
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-12-04T04:19:26+00:00",
      "cve": "CVE-2026-143222",
      "id": "CVE-2026-143222",
      "initial_release_date": "2026-12-03T09:20:39.791000+00:00",
      "product_status:known_not_affected": "280",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: kernel: denial of service via race condition in UNIX domain socket garbage collection",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-143222.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.