{"api_version":"1","generated_at":"2026-12-04T05:37:27+00:00","cve":"CVE-2026-143223","urls":{"html":"https://cve.report/CVE-2026-143223","api":"https://cve.report/api/cve/CVE-2026-143223.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-143223","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-143223"},"summary":{"title":"af_unix: Convert unsigned long to u64 for GC.","description":"In the Linux kernel, the following vulnerability has been resolved:\n\naf_unix: Convert unsigned long to u64 for GC.\n\nLim Chanyoun reported that unix_vertex_max_scc_index could\nwrap around on 32-bit kernels, which confuses GC into purging\na live socket receive queue.\n\nI apparently designed GC with u64 in mind to avoid wraparound. [0]\n\nLet's make it true on 32-bit kernels.\n\nNote that unix_vertex.{out_degree,index} are converted for\nconsistency; they are bounded by the number of allocated\nobjects and do not exceed UINT_MAX on 32-bit kernels.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-12-03 10:18:00","updated_at":"2026-12-04 04:17:44"},"problem_types":[],"metrics":[{"version":"3.1","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","type":"Secondary","score":"7.8","severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"}},{"version":"3.1","source":"CNA","type":"DECLARED","score":"7.8","severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","data":{"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"}}],"references":[{"url":"https://git.kernel.org/stable/c/d5f898d4c47217ce42506698a3a98741393217b7","name":"https://git.kernel.org/stable/c/d5f898d4c47217ce42506698a3a98741393217b7","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/f431faaff8f316d7e19eee5930cccb29d415718a","name":"https://git.kernel.org/stable/c/f431faaff8f316d7e19eee5930cccb29d415718a","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/a7ae91388510d6e3bedda522a4c695740c3dd73b","name":"https://git.kernel.org/stable/c/a7ae91388510d6e3bedda522a4c695740c3dd73b","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-143223","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-143223","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 4090fa373f0e763c43610853d2774b5979915959 f431faaff8f316d7e19eee5930cccb29d415718a git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 4090fa373f0e763c43610853d2774b5979915959 a7ae91388510d6e3bedda522a4c695740c3dd73b git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 4090fa373f0e763c43610853d2774b5979915959 d5f898d4c47217ce42506698a3a98741393217b7 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5dfd283f4651d04dbb70ceb9ae5c4a30eda3c52a git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected de7921631ff323369aa63a4324695ab54ea4047e git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.1.141 6.2 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.6.93 6.7 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.10","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.10 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.66 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.7 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc3 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":{"cve_year":"2026","cve_id":"143223","cve":"CVE-2026-143223","epss":"0.002060000","percentile":"0.113170000","score_date":"2026-12-03","updated_at":"2026-12-04 00:14:18"},"legacy_qids":[]},"source_records":{"cve_program":{"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":"f431faaff8f316d7e19eee5930cccb29d415718a","status":"affected","version":"4090fa373f0e763c43610853d2774b5979915959","versionType":"git"},{"lessThan":"a7ae91388510d6e3bedda522a4c695740c3dd73b","status":"affected","version":"4090fa373f0e763c43610853d2774b5979915959","versionType":"git"},{"lessThan":"d5f898d4c47217ce42506698a3a98741393217b7","status":"affected","version":"4090fa373f0e763c43610853d2774b5979915959","versionType":"git"},{"status":"affected","version":"5dfd283f4651d04dbb70ceb9ae5c4a30eda3c52a","versionType":"git"},{"status":"affected","version":"de7921631ff323369aa63a4324695ab54ea4047e","versionType":"git"},{"lessThan":"6.2","status":"affected","version":"6.1.141","versionType":"semver"},{"lessThan":"6.7","status":"affected","version":"6.6.93","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":"6.10"},{"lessThan":"6.10","status":"unaffected","version":"0","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.18.66","versionStartIncluding":"6.10","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.7","versionStartIncluding":"6.10","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc3","versionStartIncluding":"6.10","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.1.141","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.6.93","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\naf_unix: Convert unsigned long to u64 for GC.\n\nLim Chanyoun reported that unix_vertex_max_scc_index could\nwrap around on 32-bit kernels, which confuses GC into purging\na live socket receive queue.\n\nI apparently designed GC with u64 in mind to avoid wraparound. [0]\n\nLet's make it true on 32-bit kernels.\n\nNote that unix_vertex.{out_degree,index} are converted for\nconsistency; they are bounded by the number of allocated\nobjects and do not exceed UINT_MAX on 32-bit kernels."}],"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 - sendmsg(SCM_RIGHTS) on an AF_UNIX socket reaches unix_add_edge() via unix_stream_sendmsg/unix_dgram_sendmsg, scm_stat_add(), and unix_add_edges(); that is the function that does vertex->scc_index = ++unix_vertex_max_scc_index. The counter is local syscall state, and no remote protocol message carries it.\nAC:L - A 32-bit attacker holds one self-referential unix fd so unix_graph_state stays UNIX_GRAPH_CYCLIC and unix_gc() calls unix_walk_scc_fast(), which does not reset unix_vertex_max_scc_index (only unix_walk_scc() does). Further SCM_RIGHTS sends to a non-inflight peer then wrap the unsigned long increment in unix_add_edge() onto a live vertex's scc_index. The attacker produces that state.\nPR:L - socket(), sendmsg(SCM_RIGHTS), recvmsg(), and close() need no capability. too_many_unix_fds() only fails once user->unix_inflight exceeds RLIMIT_NOFILE, and the wrap loop stays under it. Any unprivileged process, including in a user namespace, can run this.\nUI:N - The same process creates the socketpair, passes the fds, closes the inflight socket so file_count() equals vertex->out_degree, and later recvmsg(MSG_OOB) on the fd it reads back. No other user mounts, opens, or accepts anything.\nS:U - unix_collect_skb() frees the skb and unix_stream_recv_urg() reuses the dangling unix_sock.oob_skb in the same kernel address space. This is kernel memory corruption in the caller's security domain, not a guest-to-host or IOMMU crossing.\nC:H - queue_oob() stores the skb in both sk_receive_queue and unix_sock.oob_skb. unix_collect_skb() splice-purges that live queue and does not clear oob_skb, so unix_stream_recv_urg() hands the freed skb to skb_copy_datagram_msg(); MSG_PEEK repeats the read from a groomed data pointer.\nI:H - unix_stream_recv_urg() writes UNIXCB(oob_skb).consumed into the freed skb and, without MSG_PEEK, __skb_unlink() does WRITE_ONCE(next->prev, prev) and WRITE_ONCE(prev->next, next) through the groomed oob_skb->prev pointer.\nA:H - unix_walk_scc_fast() calls unix_vertex_dead(), the collided scc_index makes a still-reachable socket look dead, and unix_collect_skb() frees its queued skbs. The following oob_skb->prev load in unix_stream_recv_urg() faults and oopses the kernel."}]}],"providerMetadata":{"dateUpdated":"2026-12-04T03:31:20.961Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/f431faaff8f316d7e19eee5930cccb29d415718a"},{"url":"https://git.kernel.org/stable/c/a7ae91388510d6e3bedda522a4c695740c3dd73b"},{"url":"https://git.kernel.org/stable/c/d5f898d4c47217ce42506698a3a98741393217b7"}],"title":"af_unix: Convert unsigned long to u64 for GC.","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-143223","datePublished":"2026-12-03T09:20:40.415Z","dateReserved":"2026-12-03T03:10:28.360Z","dateUpdated":"2026-12-04T03:31:20.961Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-12-03 10:18:00","lastModifiedDate":"2026-12-04 04:17:44","problem_types":[],"metrics":{"cvssMetricV31":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":1.8,"impactScore":5.9}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"143223","Ordinal":"1","Title":"af_unix: Convert unsigned long to u64 for GC.","CVE":"CVE-2026-143223","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"143223","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\naf_unix: Convert unsigned long to u64 for GC.\n\nLim Chanyoun reported that unix_vertex_max_scc_index could\nwrap around on 32-bit kernels, which confuses GC into purging\na live socket receive queue.\n\nI apparently designed GC with u64 in mind to avoid wraparound. [0]\n\nLet's make it true on 32-bit kernels.\n\nNote that unix_vertex.{out_degree,index} are converted for\nconsistency; they are bounded by the number of allocated\nobjects and do not exceed UINT_MAX on 32-bit kernels.","Type":"Description","Title":"af_unix: Convert unsigned long to u64 for GC."}]}}}