{"api_version":"1","generated_at":"2026-12-04T05:37:28+00:00","cve":"CVE-2026-143222","urls":{"html":"https://cve.report/CVE-2026-143222","api":"https://cve.report/api/cve/CVE-2026-143222.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-143222","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-143222"},"summary":{"title":"af_unix: Remove gc_in_progress check in unix_peek_fpl().","description":"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's 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's simply remove the broken short-circuit.","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/330ca878e73609861c190d73854de0f81b26e938","name":"https://git.kernel.org/stable/c/330ca878e73609861c190d73854de0f81b26e938","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/48ce9d1536007b25b757e764f4aab9df8b84bf5f","name":"https://git.kernel.org/stable/c/48ce9d1536007b25b757e764f4aab9df8b84bf5f","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/0edbc945eb9edd0086f25b151a79cfe4adc0dfa8","name":"https://git.kernel.org/stable/c/0edbc945eb9edd0086f25b151a79cfe4adc0dfa8","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/6f91634cb38a76be8464bb3ebdf16b0a7b496706","name":"https://git.kernel.org/stable/c/6f91634cb38a76be8464bb3ebdf16b0a7b496706","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-143222","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-143222","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected e3dd56fb5683ba80bf8d7a2f9aa21cfa53f05202 48ce9d1536007b25b757e764f4aab9df8b84bf5f git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 72cf49ad50c16270b52bc512d9c2df5743922968 330ca878e73609861c190d73854de0f81b26e938 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected e5b31d988a41549037b8d8721a3c3cae893d8670 6f91634cb38a76be8464bb3ebdf16b0a7b496706 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected e5b31d988a41549037b8d8721a3c3cae893d8670 0edbc945eb9edd0086f25b151a79cfe4adc0dfa8 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 980999a96e1ad043f1197606e5d637219cb102b9 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 3106f326f67c03dd9da4ca64663d11e40138cf40 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 37dd7ab332396eb8dd80b2dc7ea4b61abf767436 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.12.92 6.12.120 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.18.23 6.18.66 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.1.183 6.2 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.6.142 6.7 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 6.19.10 6.20 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 7.0","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.0 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.120 6.12.* 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":"143222","cve":"CVE-2026-143222","epss":"0.002090000","percentile":"0.116630000","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":"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's 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's 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 -> 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() -> unix_schedule_gc() -> unix_gc(). On a weakly ordered CPU, WRITE_ONCE(gc_in_progress, true) stays unpublished until spin_unlock, so unix_peek_fpl()'s 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's 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's 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"},"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":"143222","Ordinal":"1","Title":"af_unix: Remove gc_in_progress check in unix_peek_fpl().","CVE":"CVE-2026-143222","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"143222","Ordinal":"1","NoteData":"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's 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's simply remove the broken short-circuit.","Type":"Description","Title":"af_unix: Remove gc_in_progress check in unix_peek_fpl()."}]}}}