CVE-2026-80668
KritikTeknik Veri (Otomatik)
- CVSS Skoru
- 9.8
- EPSS
- 0.7%
- CWE
- —
- KEV Durumu
- Hayır
Yayım tarihi: 28 Ağustos 2026
Linux çekirdeğinde aşağıdaki güvenlik açığı çözülmüştür: netfilter: nf_conntrack_expect: beklentileri toplamak için conntrack GC'sini kullan Bu yama, beklentiler için zamanlayıcı API'sini diğer birçok alt sistemde olduğu gibi GC işçi yaklaşımıyla değiştirir. Beklenen beklentileri toplamak için mevcut conntrack GC işlecini kullanın, ana conntrack'in yerel beklenti listesini iterate edin. Beklentiler için GC'yi çalıştırmak için IPS_HELPER_BIT'i kontrol edin, nft_ct beklentisi için bunu ayarlayın, çünkü bu asla ayarlanmaz. Beklenti spin kilidini, nf_ct_remove_expectations() ile senkronize etmek için ana conntrack beklenti listesini iterate ederken tutun. Bu, aynı zamanda global beklenti hashtabllerinin zincirlerinden birini gezinirken beklenti ekleme ve arama işlevleri aracılığıyla çalışma zamanı paket yolu çöp toplama işlemini gerçekleştirir. Onaylanmamış conntrack girişleri atlanır, çünkü ct->ext yeniden tahsis edilebilir ve ölenler atlanır, çünkü bunlar yakında gidecektir. Yardımcı ct uzantısı eklendikten sonra IPS_HELPER_BIT'i ayarlayın, ardından yeni GC işçi, ct->ext yardımcı是否 kullanılabilirliğini kontrol etmek için ct referans sayacını artırmak zorunda kalmaz. Bu, beklenti zamanlayıcıları için ek referans sayacı artışı kaldırır, bu da nf_ct_expect_put() çağrılarının beberapa tane unlink ettikten sonra kaldırılmasına izin verir, bu güncelleme之后 yalnızca beklenti hash'lerinde referans sayacı 1'de kalır. Bu yama, beklenti kaldırma yarışını kaybeden bir zamanlayıcı süresinin dolmasıyla birlikte, zaten serbest bırakılmış bir exp->master işaretçisine erişmesine izin veren mevcut zamanlayıcı API'siyle ilgili bir yarışmayı implicit olarak ele alır, yani timer_del() yanlış rapor verir. Beklentileri GC aracılığıyla toplamak için yeni bir NF_CT_EXPECT_DEAD bayrağı ekleyin. Bu, hatalı yollarda yeni oluşturulan beklentileri geçersiz kılmak için çağrılan nf_conntrack_unexpect_related() tarafından gereklidir ve bu beklentiler hash'lerine eklenmiştir. Bu beklentiler GC veya nf_ct_remove_expectations() ile yarışabileceğinden hemen serbest bırakılamaz. Beklenti ekleme sırasında, çalışma zamanı GC, beklenti sınırını politika tarafından belirlenen sınırı kontrolünden önce eski beklentileri toplar. nf_ct_expect_alloc()'de geçerli zaman damgasını ayarlayın, ardından beklenti ömrünü belirtmek için beklenti ilkesi zaman aşımını (veya bu üzerine belirtilen özel zaman aşımını) ekleyin.
Orijinal açıklama (İngilizce)
In the Linux kernel, the following vulnerability has been resolved: netfilter: nf_conntrack_expect: use conntrack GC to reap expectations This patch replaces the timer API by GC worker approach for expectations, as it already happened in many other subsystems. Use the existing conntrack GC worker to iterate over the local list of expectations in the master conntrack to reap expired expectations. Check IPS_HELPER_BIT to run GC for expectations, set it on for nft_ct expectation which nevers sets it. Hold the expectation spinlock while iterating over the master conntrack expectation list to synchronize with nf_ct_remove_expectations(). This also performs runtime packet path garbage collection through the expectation insertion and lookup functions while walking over one of the chains of the global expectation hashtables. Unconfirmed conntrack entries are skipped since ct->ext can be reallocated and dying are skipped since those will be gone soon. Set on IPS_HELPER_BIT if the helper ct extension is added, then the new GC worker does not need to bump the ct refcount to check if the ct->ext helper is available. This removes the extra bump on the refcount for expectation timers, this allows to remove several nf_ct_expect_put() calls after the unlink, after this update only refcount remains at 1 while on the expectation hashes. This patch implicitly addresses a race with the existing timer API allowing an expectation to access a stale exp->master pointer which has been already released when expectation removal loses races with an expiring timer, ie. timer_del() reporting false. Add a new NF_CT_EXPECT_DEAD flag to reap this expectation via GC. This is needed by nf_conntrack_unexpect_related() which is called in error paths to invalidate newly created expectations that has been added into the hashes. These expectactions cannot be inmediately released as GC or nf_ct_remove_expectations() could race to make it. On expectation insert, the runtime GC reaps stale expectations before checking the expectation limit set by policy. Set current timestamp in nf_ct_expect_alloc(), then add the expectation policy timeout (or custom timeout specified added on top of this) to specify the expectation lifetime.
Referanslar
- https://git.kernel.org/stable/c/02f7809a19fc88cfd9bc113a4bfe7add6305db39
- https://git.kernel.org/stable/c/3d7b808ec35291ee75dcdb2b6fe5f587bfe9b1df
- https://git.kernel.org/stable/c/61ca26e1a45965590f7e477c4d6f711162642e1c
- https://git.kernel.org/stable/c/7ec786f4230c2a9b2eaf97a2d45368933b49d2b2
- https://git.kernel.org/stable/c/b8b09dc2bf35a00d4e0556b5d6308c7b917ebda2
Bu CVE için henüz editoryal inceleme yapılmadı. Sadece otomatik teknik veri gösteriliyor.