af_unix: Give up GC if MSG_PEEK intervened.
In the Linux kernel, the following vulnerability has been resolved: af_unix: Give up GC if MSG_PEEK intervened. Igor Ushakov reported that GC purged the receive queue of an alive socket due to a race with MSG_PEEK with a nice repro. This is the exact same issue previously fixed by commit cbcf01128d0a ("af_unix: fix garbage collect vs MSG_PEEK"). After GC was replaced with the current algorithm, the cited commit removed the locking dance in unix_peek_fds() and reintroduced the same issue. The problem is that MSG_PEEK bumps a file refcount without interacting with GC. Consider an SCC containing sk-A and sk-B, where sk-A is close()d but can be recv()ed via sk-B. The bad thing happens if sk-A is recv()ed with MSG_PEEK from sk-B and sk-B is close()d while GC is checking unix_vertex_dead() for sk-A and sk-B. GC thread User thread --------- ----------- unix_vertex_dead(sk-A) -> true <------. \ `------ recv(sk-B, MSG_PEEK) invalidate !! -> sk-A's file refcount : 1 -> 2 close(sk-B) -> sk-B's file refcount : 2 -> 1 unix_vertex_dead(sk-B) -> true Initially, sk-A's file refcount is 1 by the inflight fd in sk-B recvq. GC thinks sk-A is dead because the file refcount is the same as the number of its inflight fds. However, sk-A's file refcount is bumped silently by MSG_PEEK, which invalidates the previous evaluation. At this moment, sk-B's file refcount is 2; one by the open fd, and one by the inflight fd in sk-A. The subsequent close() releases one refcount by the former. Finally, GC incorrectly concludes that both sk-A and sk-B are dead. One option is to restore the locking dance in unix_peek_fds(), but we can resolve this more elegantly thanks to the new algorithm. The point is that the issue does not occur without the subsequent close() and we actually do not need to synchronise MSG_PEEK with the dead SCC detection. When the issue occurs, close() and GC touch the same file refcount. If GC sees the refcount being decremented by close(), it can just give up garbage-collecting the SCC. Therefore, we only need to signal the race during MSG_PEEK with a proper memory barrier to make it visible to the GC. Let's use seqcount_t to notify GC when MSG_PEEK occurs and let it defer the SCC to the next run. This way no locking is needed on the MSG_PEEK side, and we can avoid imposing a penalty on every MSG_PEEK unnecessarily. Note that we can retry within unix_scc_dead() if MSG_PEEK is detected, but we do not do so to avoid hung task splat from abusive MSG_PEEK calls.
- Yayın
- 25 Mar 2026
- Güncelleme
- 19 Ağu 2026
- EPSS
- %0,1 · 1. yüzdelik
- CWE
- CWE-362
Takip etmek için giriş yap · Takip ettiğin kayıt KEV’e girer, istismarı çıkar ya da güncellenirse bildirim alırsın.
Rapor araçları
Aksiyon skoru
18
İzleyin
Şimdilik düşük öncelik.
- CVSS
- 18 / 40 · 4.7 / 10
- CISA KEV
- 0 / 30 · Listede değil
- EPSS
- 0 / 30 · %0,1
Noroxi analizi
Bu kayıt için henüz Noroxi analizi yok
Veritabanındaki yüz binlerce zafiyetin tamamına elle analiz yazmıyoruz; bu dürüst olmazdı. Öne çıkan ve sahada etkisi olan zafiyetler için mekanizma, tespit ve kapatma adımlarını ekibimiz yazıyor.
Bu ürünü kullanıyoruz, yardım isteyinEtkilenen sistemler
| Üretici | Ürün | CPE |
|---|---|---|
| linux | linux kernel | cpe:2.3:o:linux:linux_kernel |
Etkilenen sürümler
NVD sürüm aralıkları (katalogdaki ürünler için). Stack’ine sürümle eklersen eşleşme bunlarla yapılır.
- linux linux kernel6.1.141 ve sonrası · 6.2 öncesi
- linux linux kernel6.6.93 ve sonrası · 6.7 öncesi
- linux linux kernel6.10.1 ve sonrası · 6.18.23 öncesi
- linux linux kernel6.19 ve sonrası · 6.19.10 öncesi
- linux linux kernel6.10
- linux linux kernel7.0
Üreticinin bildirdiği sürümler
Kaydı açan otorite (Linux) tarafından bildirilen etkilenen sürüm aralıkları. NVD'nin CPE analizinden bağımsızdır ve genellikle ondan önce gelir.
Linux Linux
- 6.10etkilenir
- 61a75360dca93c945ef6bd757f8b8a96f39b77cb ve sonrası · 980999a96e1ad043f1197606e5d637219cb102b9 öncesietkilenir · git
- 7b1ffbd3b22e755d481d49647dcb7c5cfbde5844 ve sonrası · 3106f326f67c03dd9da4ca64663d11e40138cf40 öncesietkilenir · git
- 118f457da9ed58a79e24b73c2ef0aa1987241f0e ve sonrası · e3dd56fb5683ba80bf8d7a2f9aa21cfa53f05202 öncesietkilenir · git
- 118f457da9ed58a79e24b73c2ef0aa1987241f0e ve sonrası · 72cf49ad50c16270b52bc512d9c2df5743922968 öncesietkilenir · git
- 118f457da9ed58a79e24b73c2ef0aa1987241f0e ve sonrası · 37dd7ab332396eb8dd80b2dc7ea4b61abf767436 öncesietkilenir · git
- 118f457da9ed58a79e24b73c2ef0aa1987241f0e ve sonrası · e5b31d988a41549037b8d8721a3c3cae893d8670 öncesietkilenir · git
- 6.1.141 ve sonrası · 6.1.183 öncesietkilenir · semver
- 6.6.93 ve sonrası · 6.6.142 öncesietkilenir · semver
- 6.10 öncesietkilenmez · semver
Paket düzeyi etkilenme
OSV ve GitHub Advisory verisi: ekosistem, paket ve aralık. SBOM eşleşmesi bu tabloyu kullanır.
| Ekosistem | Paket | Etkilenen aralık | Düzeltme |
|---|---|---|---|
| Debian:12 | linux | 6.1.187-1 öncesi | 6.1.187-1 |
| Debian:13 | linux | 6.12.94-1 öncesi | 6.12.94-1 |
| Debian:14 | linux | 6.19.10-1 öncesi | 6.19.10-1 |
| openSUSE:Leap 16.0 | dtb-aarch64 | 6.12.0-160000.36.1 öncesi | 6.12.0-160000.36.1 |
| openSUSE:Leap 16.0 | kernel-64kb | 6.12.0-160000.36.1 öncesi | 6.12.0-160000.36.1 |
| openSUSE:Leap 16.0 | kernel-azure | 6.12.0-160000.36.1 öncesi | 6.12.0-160000.36.1 |
| openSUSE:Leap 16.0 | kernel-default | 6.12.0-160000.36.1 öncesi | 6.12.0-160000.36.1 |
| openSUSE:Leap 16.0 | kernel-default-base | 6.12.0-160000.36.1.160000.2.17 öncesi | 6.12.0-160000.36.1.160000.2.17 |
| openSUSE:Leap 16.0 | kernel-docs | 6.12.0-160000.36.1 öncesi | 6.12.0-160000.36.1 |
| openSUSE:Leap 16.0 | kernel-kvmsmall | 6.12.0-160000.36.1 öncesi | 6.12.0-160000.36.1 |
| openSUSE:Leap 16.0 | kernel-obs-build | 6.12.0-160000.36.1 öncesi | 6.12.0-160000.36.1 |
| openSUSE:Leap 16.0 | kernel-obs-qa | 6.12.0-160000.36.1 öncesi | 6.12.0-160000.36.1 |
| openSUSE:Leap 16.0 | kernel-rt | 6.12.0-160000.36.1 öncesi | 6.12.0-160000.36.1 |
| openSUSE:Leap 16.0 | kernel-source | 6.12.0-160000.36.1 öncesi | 6.12.0-160000.36.1 |
| openSUSE:Leap 16.0 | kernel-syms | 6.12.0-160000.36.1 öncesi | 6.12.0-160000.36.1 |
| openSUSE:Leap 16.0 | kernel-zfcpdump | 6.12.0-160000.36.1 öncesi | 6.12.0-160000.36.1 |
| SUSE:Linux Enterprise Server 16.0 | kernel-azure | 6.12.0-160000.36.1 öncesi | 6.12.0-160000.36.1 |
| SUSE:Linux Enterprise Server 16.0 | kernel-docs | 6.12.0-160000.36.1 öncesi | 6.12.0-160000.36.1 |
| SUSE:Linux Enterprise Server 16.0 | kernel-kvmsmall | 6.12.0-160000.36.1 öncesi | 6.12.0-160000.36.1 |
| SUSE:Linux Enterprise Server 16.0 | kernel-obs-qa | 6.12.0-160000.36.1 öncesi | 6.12.0-160000.36.1 |
| SUSE:Linux Enterprise Server 16.0 | kernel-zfcpdump | 6.12.0-160000.36.1 öncesi | 6.12.0-160000.36.1 |
| SUSE:Linux Micro 6.2 | kernel-64kb | 6.12.0-160000.36.1 öncesi | 6.12.0-160000.36.1 |
| SUSE:Linux Micro 6.2 | kernel-default | 6.12.0-160000.36.1 öncesi | 6.12.0-160000.36.1 |
| SUSE:Linux Micro 6.2 | kernel-default-base | 6.12.0-160000.36.1.160000.2.17 öncesi | 6.12.0-160000.36.1.160000.2.17 |
+4
Aynı üründe
linux: tüm kayıtlarAynı birincil ürünün en yüksek skorlu diğer kayıtları.
- CVE-2022-0847A flaw was found in the way the "flags" member of the new pipe buffer structure was lacking proper initialization in copy_page_to_iter_pipe KEV89Hemen
- CVE-2021-22555Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACEKEV85Hemen
- CVE-2016-5195Race condition in mm/gup.c in the Linux kernel 2.x through 4.x before 4.8.3 allows local users to gain privileges by leveraging incorrect haKEV83Hemen
- CVE-2019-13272In the Linux kernel before 5.1.17, ptrace_link in kernel/ptrace.c mishandles the recording of the credentials of a process that wants to creKEV77Bu hafta
- CVE-2013-6282The (1) get_user and (2) put_user API functions in the Linux kernel before 3.5.5 on the v6k and v7 ARM platforms do not validate certain addKEV77Bu hafta
- CVE-2013-2094The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9 uses an incorrect integer data type, which allows loKEV77Bu hafta
Düzeltme
Hangi sürüme geçmeli
Üretici, paket deposu ve Microsoft kayıtlarından derlenen düzeltme sürümleri. Yükseltmeden önce üreticinin notunu doğrulayın.
| Ürün / paket | Düzeltilmiş sürüm | Kaynak |
|---|---|---|
| Linux Linux | 3106f326f67c03dd9da4ca64663d11e40138cf40 | Üretici (CNA) |
| Linux Linux | 37dd7ab332396eb8dd80b2dc7ea4b61abf767436 | Üretici (CNA) |
| Linux Linux | 6.1.183 | Üretici (CNA) |
| Linux Linux | 6.6.142 | Üretici (CNA) |
| Linux Linux | 72cf49ad50c16270b52bc512d9c2df5743922968 | Üretici (CNA) |
| Linux Linux | 980999a96e1ad043f1197606e5d637219cb102b9 | Üretici (CNA) |
| Linux Linux | e3dd56fb5683ba80bf8d7a2f9aa21cfa53f05202 | Üretici (CNA) |
| Linux Linux | e5b31d988a41549037b8d8721a3c3cae893d8670 | Üretici (CNA) |
| debian:linux | 6.1.187-1 · Debian:12 | Paket deposu (OSV) |
| opensuse:dtb-aarch64 | 6.12.0-160000.36.1 · openSUSE:Leap 16.0 | Paket deposu (OSV) |
| opensuse:kernel-64kb | 6.12.0-160000.36.1 · openSUSE:Leap 16.0 | Paket deposu (OSV) |
| opensuse:kernel-azure | 6.12.0-160000.36.1 · openSUSE:Leap 16.0 | Paket deposu (OSV) |
| opensuse:kernel-default | 6.12.0-160000.36.1 · openSUSE:Leap 16.0 | Paket deposu (OSV) |
| opensuse:kernel-default-base | 6.12.0-160000.36.1.160000.2.17 · openSUSE:Leap 16.0 | Paket deposu (OSV) |
| opensuse:kernel-docs | 6.12.0-160000.36.1 · openSUSE:Leap 16.0 | Paket deposu (OSV) |
| opensuse:kernel-kvmsmall | 6.12.0-160000.36.1 · openSUSE:Leap 16.0 | Paket deposu (OSV) |
| opensuse:kernel-obs-build | 6.12.0-160000.36.1 · openSUSE:Leap 16.0 | Paket deposu (OSV) |
| opensuse:kernel-obs-qa | 6.12.0-160000.36.1 · openSUSE:Leap 16.0 | Paket deposu (OSV) |
| opensuse:kernel-rt | 6.12.0-160000.36.1 · openSUSE:Leap 16.0 | Paket deposu (OSV) |
| opensuse:kernel-source | 6.12.0-160000.36.1 · openSUSE:Leap 16.0 | Paket deposu (OSV) |
| opensuse:kernel-syms | 6.12.0-160000.36.1 · openSUSE:Leap 16.0 | Paket deposu (OSV) |
| suse:kernel-64kb | 6.12.0-160000.36.1 · SUSE:Linux Micro 6.2 | Paket deposu (OSV) |
| suse:kernel-azure | 6.12.0-160000.36.1 · SUSE:Linux Enterprise Server 16.0 | Paket deposu (OSV) |
| suse:kernel-default | 6.12.0-160000.36.1 · SUSE:Linux Micro 6.2 | Paket deposu (OSV) |
| suse:kernel-default-base | 6.12.0-160000.36.1.160000.2.17 · SUSE:Linux Micro 6.2 | Paket deposu (OSV) |
| suse:kernel-docs | 6.12.0-160000.36.1 · SUSE:Linux Enterprise Server 16.0 | Paket deposu (OSV) |
| suse:kernel-kvmsmall | 6.12.0-160000.36.1 · SUSE:Linux Enterprise Server 16.0 | Paket deposu (OSV) |
| suse:kernel-obs-build | 6.12.0-160000.36.1 · SUSE:Linux Micro Extras 6.2 | Paket deposu (OSV) |
| suse:kernel-obs-qa | 6.12.0-160000.36.1 · SUSE:Linux Enterprise Server 16.0 | Paket deposu (OSV) |
| suse:kernel-rt | 6.12.0-160000.36.1 · SUSE:Linux Micro 6.2 | Paket deposu (OSV) |
+3
İstismar durumu
Bilinen kamuya açık istismar yok
Şu an kamuya açık bir istismar görülmedi. Bu, güvende olduğunuz anlamına gelmez; yalnızca eşiğin biraz daha yüksek olduğunu gösterir.
Araştırma bağlamı
Pentester ve araştırmacı için: saldırı profili, puan anlaşmazlığı, zaman çizelgesi, yama commit’leri, kredi, varyant ve zincir adayları, bug bounty kapsamı. Hepsi mevcut veriden türetilir; istismar kodu içermez.
Zaman çizelgesi
Yayından bugüne: kavram kanıtı, Metasploit modülü, CISA KEV ve düzeltme kaydı. Tarihler kaynakların bildirdiği tarihlerdir.
Yayın dışında tarihli olay yok.
FIRST EPSS günlük puanı; yalnızca 0,01 ve üstü değişimler kaydedilir (adım grafiği).
Yama ve commit bağlantıları
Referanslardaki commit, PR ve diff adresleri. Patch-diff ve varyant avı için başlangıç noktası; istismar değil, düzeltmedir.
Referanslarda commit ya da PR bağlantısı yok.
Kredi
Tüm araştırmacılarCNA kaydında adı geçen bulan, bildiren ve analistler. Ada tıkla, aynı araştırmacının diğer kayıtlarını gör.
CNA kaydında kredi yok.
Varyant adayları
Aynı üründe aynı zafiyet sınıfı, 18 ay içinde. Yama kök nedeni kapatmadıysa kardeş hata burada olur.
Gece hesaplanan ilişki yok.
Zincir adayları
Aynı üründe kimlik doğrulama atlatma ile yetki isteyen bir açık kısa aralıkla yayımlanmış: birlikte kimlik doğrulamasız bir yola dönüşebilir.
—
Bug bounty kapsamı
Bilinen herkese açık program yok.
Kaynak: bounty-targets-data (HackerOne, Bugcrowd, Intigriti, YesWeHack herkese açık listeleri).
Teknik detay
Saldırı koşulları
- Sisteme yerel erişimi olan biri tetikleyebilir.
- Düşük yetkili bir hesap yeterli.
- Kullanıcının bir şey yapması gerekmez.
- Zamanlama ya da yapılandırma gibi özel koşullar gerekir.
Başarılı olursa
- Gizlilik
- yok
- Bütünlük
- yok
- Erişilebilirlik
- yüksek · hizmet durdurulabilir
- Saldırı vektörü
- Yerel
- Karmaşıklık
- Yüksek
- Gereken yetki
- Düşük
- Kullanıcı etkileşimi
- Gerekmez
- Kapsam
- Değişmez
- Gizlilik etkisi
- Yok
- Bütünlük etkisi
- Yok
- Erişilebilirlik etkisi
- Yüksek
Zayıflık sınıfı (CWE)
CWE-362 · Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')CVSS vektörü
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
nvd-primary
Saldırı bağlamı
Bu zafiyet sınıfının (CWE) MITRE CAPEC saldırı desenleri ve ATT&CK teknikleri. Tespit kuralı ve tehdit avı için başlangıç noktası.
Saldırı desenleri (CAPEC)
ATT&CK teknikleri
—
Değişiklik günlüğü
- Düzeltme✗ → ✓
Takip ettiğiniz kayıtlarda bu değişiklikler bildirim olarak da gelir. →
Referanslar
- git.kernel.org/stable/c/3106f326f67c03dd9da4ca64663d11e40138cf40
- git.kernel.org/stable/c/37dd7ab332396eb8dd80b2dc7ea4b61abf767436
- git.kernel.org/stable/c/72cf49ad50c16270b52bc512d9c2df5743922968
- git.kernel.org/stable/c/980999a96e1ad043f1197606e5d637219cb102b9
- git.kernel.org/stable/c/e3dd56fb5683ba80bf8d7a2f9aa21cfa53f05202
- git.kernel.org/stable/c/e5b31d988a41549037b8d8721a3c3cae893d8670
Üretici bildirimleri ve resmî kayıtlar. İstismar/PoC bağlantıları bilinçli olarak dışarıda bırakıldı.