netfilter: nf_conntrack: fix crash due to removal of uninitialised entry
In the Linux kernel, the following vulnerability has been resolved: netfilter: nf_conntrack: fix crash due to removal of uninitialised entry A crash in conntrack was reported while trying to unlink the conntrack entry from the hash bucket list: [exception RIP: __nf_ct_delete_from_lists+172] [..] #7 [ff539b5a2b043aa0] nf_ct_delete at ffffffffc124d421 [nf_conntrack] #8 [ff539b5a2b043ad0] nf_ct_gc_expired at ffffffffc124d999 [nf_conntrack] #9 [ff539b5a2b043ae0] __nf_conntrack_find_get at ffffffffc124efbc [nf_conntrack] [..] The nf_conn struct is marked as allocated from slab but appears to be in a partially initialised state: ct hlist pointer is garbage; looks like the ct hash value (hence crash). ct->status is equal to IPS_CONFIRMED|IPS_DYING, which is expected ct->timeout is 30000 (=30s), which is unexpected. Everything else looks like normal udp conntrack entry. If we ignore ct->status and pretend its 0, the entry matches those that are newly allocated but not yet inserted into the hash: - ct hlist pointers are overloaded and store/cache the raw tuple hash - ct->timeout matches the relative time expected for a new udp flow rather than the absolute 'jiffies' value. If it were not for the presence of IPS_CONFIRMED, __nf_conntrack_find_get() would have skipped the entry. Theory is that we did hit following race: cpu x cpu y cpu z found entry E found entry E E is expired <preemption> nf_ct_delete() return E to rcu slab init_conntrack E is re-inited, ct->status set to 0 reply tuplehash hnnode.pprev stores hash value. cpu y found E right before it was deleted on cpu x. E is now re-inited on cpu z. cpu y was preempted before checking for expiry and/or confirm bit. ->refcnt set to 1 E now owned by skb ->timeout set to 30000 If cpu y were to resume now, it would observe E as expired but would skip E due to missing CONFIRMED bit. nf_conntrack_confirm gets called sets: ct->status |= CONFIRMED This is wrong: E is not yet added to hashtable. cpu y resumes, it observes E as expired but CONFIRMED: <resumes> nf_ct_expired() -> yes (ct->timeout is 30s) confirmed bit set. cpu y will try to delete E from the hashtable: nf_ct_delete() -> set DYING bit __nf_ct_delete_from_lists Even this scenario doesn't guarantee a crash: cpu z still holds the table bucket lock(s) so y blocks: wait for spinlock held by z CONFIRMED is set but there is no guarantee ct will be added to hash: "chaintoolong" or "clash resolution" logic both skip the insert step. reply hnnode.pprev still stores the hash value. unlocks spinlock return NF_DROP <unblocks, then crashes on hlist_nulls_del_rcu pprev> In case CPU z does insert the entry into the hashtable, cpu y will unlink E again right away but no crash occurs. Without 'cpu y' race, 'garbage' hlist is of no consequence: ct refcnt remains at 1, eventually skb will be free'd and E gets destroyed via: nf_conntrack_put -> nf_conntrack_destroy -> nf_ct_destroy. To resolve this, move the IPS_CONFIRMED assignment after the table insertion but before the unlock. Pablo points out that the confirm-bit-store could be reordered to happen before hlist add resp. the timeout fixup, so switch to set_bit and before_atomic memory barrier to prevent this. It doesn't matter if other CPUs can observe a newly inserted entry right before the CONFIRMED bit was set: Such event cannot be distinguished from above "E is the old incarnation" case: the entry will be skipped. Also change nf_ct_should_gc() to first check the confirmed bit. The gc sequence is: 1. Check if entry has expired, if not skip to next entry 2. Obtain a reference to the expired entry. 3. Call nf_ct_should_gc() to double-check step 1. nf_ct_should_gc() is thus called only for entries that already failed an expiry check. After this patch, once the confirmed bit check pas ---truncated---
- Yayın
- 28 Tem 2025
- Güncelleme
- 5 Ağu 2026
- EPSS
- %0,4 · 33. yüzdelik
- CWE
- CWE-908
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
22
İzleyin
Şimdilik düşük öncelik.
- CVSS
- 22 / 40 · 5.5 / 10
- CISA KEV
- 0 / 30 · Listede değil
- EPSS
- 0 / 30 · %0,4
CNA ile NVD puanı
- NVD
- 5,5
- CNA · Linux
- 9,8
- 4,3 puan fark
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Kaydı açan otoritenin puanı ile NVD’nin bağımsız puanı. İki puan arasındaki fark ciddiyetin tartışmalı olduğunu gösterir.
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 |
| debian | debian linux | cpe:2.3:o:debian:debian_linux |
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.
- debian debian linux11.0
- linux linux kernel5.18.13 ve sonrası · 6.1.147 öncesi
- linux linux kernel6.2 ve sonrası · 6.6.100 öncesi
- linux linux kernel6.7 ve sonrası · 6.12.40 öncesi
- linux linux kernel6.13 ve sonrası · 6.15.8 öncesi
- linux linux kernel6.16
Ü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
- 594cea2c09f7cd440d1ee1c4547d5bc6a646b0e4, 5.19etkilenir
- 1397af5bfd7d32b0cf2adb70a78c9a9e8f11d912 ve sonrası · a47ef874189d47f934d0809ae738886307c0ea22 öncesietkilenir · git
- 1397af5bfd7d32b0cf2adb70a78c9a9e8f11d912 ve sonrası · 76179961c423cd698080b5e4d5583cf7f4fcdde9 öncesietkilenir · git
- 1397af5bfd7d32b0cf2adb70a78c9a9e8f11d912 ve sonrası · fc38c249c622ff5e3011b8845fd49dbfd9289afc öncesietkilenir · git
- 1397af5bfd7d32b0cf2adb70a78c9a9e8f11d912 ve sonrası · 938ce0e8422d3793fe30df2ed0e37f6bc0598379 öncesietkilenir · git
- 1397af5bfd7d32b0cf2adb70a78c9a9e8f11d912 ve sonrası · 2d72afb340657f03f7261e9243b44457a9228ac7 öncesietkilenir · git
- 5.18.13 ve sonrası · 5.19 öncesietkilenir · semver
- 5.19 öncesietkilenmez · semver
- 6.1.147 ve sonrası · 6.1.* dahil öncesietkilenmez · semver
- 6.6.100 ve sonrası · 6.6.* dahil ö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 |
|---|---|---|---|
| AlmaLinux:10 | kernel-abi-stablelists | 6.12.0-55.30.1.el10_0 öncesi | 6.12.0-55.30.1.el10_0 |
| AlmaLinux:10 | kernel-doc | 6.12.0-55.30.1.el10_0 öncesi | 6.12.0-55.30.1.el10_0 |
| AlmaLinux:9 | kernel | 5.14.0-570.49.1.el9_6 öncesi | 5.14.0-570.49.1.el9_6 |
| AlmaLinux:9 | kernel-64k | 5.14.0-570.49.1.el9_6 öncesi | 5.14.0-570.49.1.el9_6 |
| AlmaLinux:9 | kernel-64k-core | 5.14.0-570.49.1.el9_6 öncesi | 5.14.0-570.49.1.el9_6 |
| AlmaLinux:9 | kernel-64k-debug | 5.14.0-570.49.1.el9_6 öncesi | 5.14.0-570.49.1.el9_6 |
| AlmaLinux:9 | kernel-64k-debug-core | 5.14.0-570.49.1.el9_6 öncesi | 5.14.0-570.49.1.el9_6 |
| AlmaLinux:9 | kernel-64k-debug-devel | 5.14.0-570.49.1.el9_6 öncesi | 5.14.0-570.49.1.el9_6 |
| AlmaLinux:9 | kernel-64k-debug-devel-matched | 5.14.0-570.49.1.el9_6 öncesi | 5.14.0-570.49.1.el9_6 |
| AlmaLinux:9 | kernel-64k-debug-modules | 5.14.0-570.49.1.el9_6 öncesi | 5.14.0-570.49.1.el9_6 |
| AlmaLinux:9 | kernel-64k-debug-modules-core | 5.14.0-570.49.1.el9_6 öncesi | 5.14.0-570.49.1.el9_6 |
| AlmaLinux:9 | kernel-64k-debug-modules-extra | 5.14.0-570.49.1.el9_6 öncesi | 5.14.0-570.49.1.el9_6 |
| AlmaLinux:9 | kernel-64k-devel | 5.14.0-570.49.1.el9_6 öncesi | 5.14.0-570.49.1.el9_6 |
| AlmaLinux:9 | kernel-64k-devel-matched | 5.14.0-570.49.1.el9_6 öncesi | 5.14.0-570.49.1.el9_6 |
| AlmaLinux:9 | kernel-64k-modules | 5.14.0-570.49.1.el9_6 öncesi | 5.14.0-570.49.1.el9_6 |
| AlmaLinux:9 | kernel-64k-modules-core | 5.14.0-570.49.1.el9_6 öncesi | 5.14.0-570.49.1.el9_6 |
| AlmaLinux:9 | kernel-64k-modules-extra | 5.14.0-570.49.1.el9_6 öncesi | 5.14.0-570.49.1.el9_6 |
| AlmaLinux:9 | kernel-abi-stablelists | 5.14.0-570.49.1.el9_6 öncesi | 5.14.0-570.49.1.el9_6 |
| AlmaLinux:9 | kernel-core | 5.14.0-570.49.1.el9_6 öncesi | 5.14.0-570.49.1.el9_6 |
| AlmaLinux:9 | kernel-cross-headers | 5.14.0-570.49.1.el9_6 öncesi | 5.14.0-570.49.1.el9_6 |
| AlmaLinux:9 | kernel-debug | 5.14.0-570.49.1.el9_6 öncesi | 5.14.0-570.49.1.el9_6 |
| AlmaLinux:9 | kernel-debug-core | 5.14.0-570.49.1.el9_6 öncesi | 5.14.0-570.49.1.el9_6 |
| AlmaLinux:9 | kernel-debug-devel | 5.14.0-570.49.1.el9_6 öncesi | 5.14.0-570.49.1.el9_6 |
| AlmaLinux:9 | kernel-debug-devel-matched | 5.14.0-570.49.1.el9_6 öncesi | 5.14.0-570.49.1.el9_6 |
+96
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 | 2d72afb340657f03f7261e9243b44457a9228ac7 | Üretici (CNA) |
| Linux Linux | 5.19 | Üretici (CNA) |
| Linux Linux | 76179961c423cd698080b5e4d5583cf7f4fcdde9 | Üretici (CNA) |
| Linux Linux | 938ce0e8422d3793fe30df2ed0e37f6bc0598379 | Üretici (CNA) |
| Linux Linux | a47ef874189d47f934d0809ae738886307c0ea22 | Üretici (CNA) |
| Linux Linux | fc38c249c622ff5e3011b8845fd49dbfd9289afc | Üretici (CNA) |
| azl3 kernel 6.6.96.2-2 on Azure Linux 3.0 | 6.6.104.2-1 · CBL-Mariner Releases | Microsoft (MSRC) |
| almalinux:kernel | 5.14.0-570.49.1.el9_6 · AlmaLinux:9 | Paket deposu (OSV) |
| almalinux:kernel-64k | 5.14.0-570.49.1.el9_6 · AlmaLinux:9 | Paket deposu (OSV) |
| almalinux:kernel-64k-core | 5.14.0-570.49.1.el9_6 · AlmaLinux:9 | Paket deposu (OSV) |
| almalinux:kernel-64k-debug | 5.14.0-570.49.1.el9_6 · AlmaLinux:9 | Paket deposu (OSV) |
| almalinux:kernel-64k-debug-core | 5.14.0-570.49.1.el9_6 · AlmaLinux:9 | Paket deposu (OSV) |
| almalinux:kernel-64k-debug-devel | 5.14.0-570.49.1.el9_6 · AlmaLinux:9 | Paket deposu (OSV) |
| almalinux:kernel-64k-debug-devel-matched | 5.14.0-570.49.1.el9_6 · AlmaLinux:9 | Paket deposu (OSV) |
| almalinux:kernel-64k-debug-modules | 5.14.0-570.49.1.el9_6 · AlmaLinux:9 | Paket deposu (OSV) |
| almalinux:kernel-64k-debug-modules-core | 5.14.0-570.49.1.el9_6 · AlmaLinux:9 | Paket deposu (OSV) |
| almalinux:kernel-64k-debug-modules-extra | 5.14.0-570.49.1.el9_6 · AlmaLinux:9 | Paket deposu (OSV) |
| almalinux:kernel-abi-stablelists | 6.12.0-55.30.1.el10_0 · AlmaLinux:10 | Paket deposu (OSV) |
| almalinux:kernel-doc | 6.12.0-55.30.1.el10_0 · AlmaLinux:10 | Paket deposu (OSV) |
| debian:linux | 6.1.147-1 · Debian:12 | Paket deposu (OSV) |
| red hat:kernel-64k-debug-debuginfo | 0:6.12.0-55.30.1.el10_0 · Red Hat:enterprise_linux:10.0 | Paket deposu (OSV) |
| red hat:kernel-64k-debug-devel | 0:6.12.0-55.30.1.el10_0 · Red Hat:enterprise_linux:10.0 | Paket deposu (OSV) |
| red hat:kernel-64k-debug-devel-matched | 0:6.12.0-55.30.1.el10_0 · Red Hat:enterprise_linux:10.0 | Paket deposu (OSV) |
| red hat:kernel-64k-debuginfo | 0:6.12.0-55.30.1.el10_0 · Red Hat:enterprise_linux:10.0 | Paket deposu (OSV) |
| red hat:kernel-64k-devel | 0:6.12.0-55.30.1.el10_0 · Red Hat:enterprise_linux:10.0 | Paket deposu (OSV) |
| red hat:kernel-64k-devel-matched | 0:6.12.0-55.30.1.el10_0 · Red Hat:enterprise_linux:10.0 | Paket deposu (OSV) |
| red hat:kernel-debug-debuginfo | 0:6.12.0-55.30.1.el10_0 · Red Hat:enterprise_linux:10.0 | Paket deposu (OSV) |
| red hat:kernel-debug-devel | 0:6.12.0-55.30.1.el10_0 · Red Hat:enterprise_linux:10.0 | Paket deposu (OSV) |
| red hat:kernel-debug-devel-matched | 0:6.12.0-55.30.1.el10_0 · Red Hat:enterprise_linux:10.0 | Paket deposu (OSV) |
| red hat:kernel-debuginfo | 0:6.12.0-55.30.1.el10_0 · Red Hat:enterprise_linux:10.0 | 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.
- CVE-2024-50302252 gün araylaHID: core: zero-initialize the report bufferKEV52Planlayın
- CVE-2026-52989331 gün araylanvmet-tcp: propagate nvmet_tcp_build_pdu_iovec() errors to its callers39İzleyin
- CVE-2024-47685280 gün araylanetfilter: nf_reject_ipv6: fix nf_reject_ip6_tcphdr_put()36İzleyin
- CVE-2026-53225332 gün araylasctp: fix uninit-value in __sctp_rcv_asconf_lookup()36İzleyin
- CVE-2026-53170332 gün araylaaccel/ethosu: reject DMA commands with uninitialized length35İzleyin
- CVE-2026-43139282 gün araylaxfrm6: fix uninitialized saddr in xfrm6_get_saddr()34İzleyin
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.
- Özel bir koşul gerekmez; tekrarlanabilir.
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
- Düşük
- 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-908 · Use of Uninitialized ResourceCVSS vektörü
CVSS:3.1/AV:L/AC:L/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ı.
Bu CWE için MITRE'de CAPEC/ATT&CK eşlemesi yok.
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/2d72afb340657f03f7261e9243b44457a9228ac7
- git.kernel.org/stable/c/76179961c423cd698080b5e4d5583cf7f4fcdde9
- git.kernel.org/stable/c/938ce0e8422d3793fe30df2ed0e37f6bc0598379
- git.kernel.org/stable/c/a47ef874189d47f934d0809ae738886307c0ea22
- git.kernel.org/stable/c/fc38c249c622ff5e3011b8845fd49dbfd9289afc
- lists.debian.org/debian-lts-announce/2025/10/msg00008.html
Üretici bildirimleri ve resmî kayıtlar. İstismar/PoC bağlantıları bilinçli olarak dışarıda bırakıldı.