netfilter: nf_tables: do not ignore genmask when looking up chain by id
In the Linux kernel, the following vulnerability has been resolved: netfilter: nf_tables: do not ignore genmask when looking up chain by id When adding a rule to a chain referring to its ID, if that chain had been deleted on the same batch, the rule might end up referring to a deleted chain. This will lead to a WARNING like following: [ 33.098431] ------------[ cut here ]------------ [ 33.098678] WARNING: CPU: 5 PID: 69 at net/netfilter/nf_tables_api.c:2037 nf_tables_chain_destroy+0x23d/0x260 [ 33.099217] Modules linked in: [ 33.099388] CPU: 5 PID: 69 Comm: kworker/5:1 Not tainted 6.4.0+ #409 [ 33.099726] Workqueue: events nf_tables_trans_destroy_work [ 33.100018] RIP: 0010:nf_tables_chain_destroy+0x23d/0x260 [ 33.100306] Code: 8b 7c 24 68 e8 64 9c ed fe 4c 89 e7 e8 5c 9c ed fe 48 83 c4 08 5b 41 5c 41 5d 41 5e 41 5f 5d 31 c0 89 c6 89 c7 c3 cc cc cc cc <0f> 0b 48 83 c4 08 5b 41 5c 41 5d 41 5e 41 5f 5d 31 c0 89 c6 89 c7 [ 33.101271] RSP: 0018:ffffc900004ffc48 EFLAGS: 00010202 [ 33.101546] RAX: 0000000000000001 RBX: ffff888006fc0a28 RCX: 0000000000000000 [ 33.101920] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 [ 33.102649] RBP: ffffc900004ffc78 R08: 0000000000000000 R09: 0000000000000000 [ 33.103018] R10: 0000000000000000 R11: 0000000000000000 R12: ffff8880135ef500 [ 33.103385] R13: 0000000000000000 R14: dead000000000122 R15: ffff888006fc0a10 [ 33.103762] FS: 0000000000000000(0000) GS:ffff888024c80000(0000) knlGS:0000000000000000 [ 33.104184] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 33.104493] CR2: 00007fe863b56a50 CR3: 00000000124b0001 CR4: 0000000000770ee0 [ 33.104872] PKRU: 55555554 [ 33.104999] Call Trace: [ 33.105113] <TASK> [ 33.105214] ? show_regs+0x72/0x90 [ 33.105371] ? __warn+0xa5/0x210 [ 33.105520] ? nf_tables_chain_destroy+0x23d/0x260 [ 33.105732] ? report_bug+0x1f2/0x200 [ 33.105902] ? handle_bug+0x46/0x90 [ 33.106546] ? exc_invalid_op+0x19/0x50 [ 33.106762] ? asm_exc_invalid_op+0x1b/0x20 [ 33.106995] ? nf_tables_chain_destroy+0x23d/0x260 [ 33.107249] ? nf_tables_chain_destroy+0x30/0x260 [ 33.107506] nf_tables_trans_destroy_work+0x669/0x680 [ 33.107782] ? mark_held_locks+0x28/0xa0 [ 33.107996] ? __pfx_nf_tables_trans_destroy_work+0x10/0x10 [ 33.108294] ? _raw_spin_unlock_irq+0x28/0x70 [ 33.108538] process_one_work+0x68c/0xb70 [ 33.108755] ? lock_acquire+0x17f/0x420 [ 33.108977] ? __pfx_process_one_work+0x10/0x10 [ 33.109218] ? do_raw_spin_lock+0x128/0x1d0 [ 33.109435] ? _raw_spin_lock_irq+0x71/0x80 [ 33.109634] worker_thread+0x2bd/0x700 [ 33.109817] ? __pfx_worker_thread+0x10/0x10 [ 33.110254] kthread+0x18b/0x1d0 [ 33.110410] ? __pfx_kthread+0x10/0x10 [ 33.110581] ret_from_fork+0x29/0x50 [ 33.110757] </TASK> [ 33.110866] irq event stamp: 1651 [ 33.111017] hardirqs last enabled at (1659): [<ffffffffa206a209>] __up_console_sem+0x79/0xa0 [ 33.111379] hardirqs last disabled at (1666): [<ffffffffa206a1ee>] __up_console_sem+0x5e/0xa0 [ 33.111740] softirqs last enabled at (1616): [<ffffffffa1f5d40e>] __irq_exit_rcu+0x9e/0xe0 [ 33.112094] softirqs last disabled at (1367): [<ffffffffa1f5d40e>] __irq_exit_rcu+0x9e/0xe0 [ 33.112453] ---[ end trace 0000000000000000 ]--- This is due to the nft_chain_lookup_byid ignoring the genmask. After this change, adding the new rule will fail as it will not find the chain.
- Yayın
- 1 Eki 2025
- Güncelleme
- 5 Ağu 2026
- EPSS
- %0,2 · 5. yüzdelik
- CWE
- —
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
31
İzleyin
Şimdilik düşük öncelik.
- CVSS
- 31 / 40 · 7.8 / 10
- CISA KEV
- 0 / 30 · Listede değil
- EPSS
- 0 / 30 · %0,2
CNA ile NVD puanı
- NVD
- 7,8
- CNA · Linux
- 7,8
- uyumlu
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 |
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 kernel5.9 ve sonrası · 5.10.188 öncesi
- linux linux kernel5.11 ve sonrası · 5.15.121 öncesi
- linux linux kernel5.16 ve sonrası · 6.1.39 öncesi
- linux linux kernel6.2 ve sonrası · 6.4.4 öncesi
- linux linux kernel6.5
Ü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
- 5.9etkilenir
- 837830a4b439bfeb86c70b0115c280377c84714b ve sonrası · 4ae2e501331aaa506eaf760339bb2f43e5769395 öncesietkilenir · git
- 837830a4b439bfeb86c70b0115c280377c84714b ve sonrası · 041e2ac88caef286b39064e83e825e3f53113d36 öncesietkilenir · git
- 837830a4b439bfeb86c70b0115c280377c84714b ve sonrası · fc95c8b02c6160936f1f3d8d9d7f4f66f3c84b49 öncesietkilenir · git
- 837830a4b439bfeb86c70b0115c280377c84714b ve sonrası · 5e5e967e8505fbdabfb6497367ec1b808cadc356 öncesietkilenir · git
- 837830a4b439bfeb86c70b0115c280377c84714b ve sonrası · 515ad530795c118f012539ed76d02bacfd426d89 öncesietkilenir · git
- 5.9 öncesietkilenmez · semver
- 5.10.188 ve sonrası · 5.10.* dahil öncesietkilenmez · semver
- 5.15.121 ve sonrası · 5.15.* dahil öncesietkilenmez · semver
- 6.1.39 ve sonrası · 6.1.* 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 |
|---|---|---|---|
| Debian:12 | linux | 6.1.52-1 öncesi | 6.1.52-1 |
| Debian:13 | linux | 6.4.4-1 öncesi | 6.4.4-1 |
| Red Hat:rhel_eus:9.0::appstream | bpftool-debuginfo | 0:5.14.0-70.75.1.el9_0 öncesi | 0:5.14.0-70.75.1.el9_0 |
| Red Hat:rhel_eus:9.0::appstream | kernel-debug-debuginfo | 0:5.14.0-70.75.1.el9_0 öncesi | 0:5.14.0-70.75.1.el9_0 |
| Red Hat:rhel_eus:9.0::appstream | kernel-debug-devel | 0:5.14.0-70.75.1.el9_0 öncesi | 0:5.14.0-70.75.1.el9_0 |
| Red Hat:rhel_eus:9.0::appstream | kernel-debug-devel-matched | 0:5.14.0-70.75.1.el9_0 öncesi | 0:5.14.0-70.75.1.el9_0 |
| Red Hat:rhel_eus:9.0::appstream | kernel-debuginfo | 0:5.14.0-70.75.1.el9_0 öncesi | 0:5.14.0-70.75.1.el9_0 |
| Red Hat:rhel_eus:9.0::appstream | kernel-debuginfo-common-aarch64 | 0:5.14.0-70.75.1.el9_0 öncesi | 0:5.14.0-70.75.1.el9_0 |
| Red Hat:rhel_eus:9.0::appstream | kernel-debuginfo-common-ppc64le | 0:5.14.0-70.75.1.el9_0 öncesi | 0:5.14.0-70.75.1.el9_0 |
| Red Hat:rhel_eus:9.0::appstream | kernel-debuginfo-common-s390x | 0:5.14.0-70.75.1.el9_0 öncesi | 0:5.14.0-70.75.1.el9_0 |
| Red Hat:rhel_eus:9.0::appstream | kernel-debuginfo-common-x86_64 | 0:5.14.0-70.75.1.el9_0 öncesi | 0:5.14.0-70.75.1.el9_0 |
| Red Hat:rhel_eus:9.0::appstream | kernel-devel | 0:5.14.0-70.75.1.el9_0 öncesi | 0:5.14.0-70.75.1.el9_0 |
| Red Hat:rhel_eus:9.0::appstream | kernel-devel-matched | 0:5.14.0-70.75.1.el9_0 öncesi | 0:5.14.0-70.75.1.el9_0 |
| Red Hat:rhel_eus:9.0::appstream | kernel-doc | 0:5.14.0-70.75.1.el9_0 öncesi | 0:5.14.0-70.75.1.el9_0 |
| Red Hat:rhel_eus:9.0::appstream | kernel-tools-debuginfo | 0:5.14.0-70.75.1.el9_0 öncesi | 0:5.14.0-70.75.1.el9_0 |
| Red Hat:rhel_eus:9.0::appstream | kernel-zfcpdump-debuginfo | 0:5.14.0-70.75.1.el9_0 öncesi | 0:5.14.0-70.75.1.el9_0 |
| Red Hat:rhel_eus:9.0::appstream | kernel-zfcpdump-devel | 0:5.14.0-70.75.1.el9_0 öncesi | 0:5.14.0-70.75.1.el9_0 |
| Red Hat:rhel_eus:9.0::appstream | kernel-zfcpdump-devel-matched | 0:5.14.0-70.75.1.el9_0 öncesi | 0:5.14.0-70.75.1.el9_0 |
| Red Hat:rhel_eus:9.0::appstream | perf | 0:5.14.0-70.75.1.el9_0 öncesi | 0:5.14.0-70.75.1.el9_0 |
| Red Hat:rhel_eus:9.0::appstream | perf-debuginfo | 0:5.14.0-70.75.1.el9_0 öncesi | 0:5.14.0-70.75.1.el9_0 |
| Red Hat:rhel_eus:9.0::appstream | python3-perf-debuginfo | 0:5.14.0-70.75.1.el9_0 öncesi | 0:5.14.0-70.75.1.el9_0 |
| Red Hat:rhel_eus:9.0::baseos | bpftool | 0:5.14.0-70.75.1.el9_0 öncesi | 0:5.14.0-70.75.1.el9_0 |
| Red Hat:rhel_eus:9.0::baseos | kernel | 0:5.14.0-70.75.1.el9_0 öncesi | 0:5.14.0-70.75.1.el9_0 |
| Red Hat:rhel_eus:9.0::baseos | kernel-abi-stablelists | 0:5.14.0-70.75.1.el9_0 öncesi | 0:5.14.0-70.75.1.el9_0 |
+15
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 | 041e2ac88caef286b39064e83e825e3f53113d36 | Üretici (CNA) |
| Linux Linux | 4ae2e501331aaa506eaf760339bb2f43e5769395 | Üretici (CNA) |
| Linux Linux | 515ad530795c118f012539ed76d02bacfd426d89 | Üretici (CNA) |
| Linux Linux | 5e5e967e8505fbdabfb6497367ec1b808cadc356 | Üretici (CNA) |
| Linux Linux | fc95c8b02c6160936f1f3d8d9d7f4f66f3c84b49 | Üretici (CNA) |
| debian:linux | 6.1.52-1 · Debian:12 | Paket deposu (OSV) |
| red hat:bpftool-debuginfo | 0:5.14.0-70.75.1.el9_0 · Red Hat:rhel_eus:9.0::appstream | Paket deposu (OSV) |
| red hat:kernel-debug-debuginfo | 0:5.14.0-70.75.1.el9_0 · Red Hat:rhel_eus:9.0::appstream | Paket deposu (OSV) |
| red hat:kernel-debug-devel | 0:5.14.0-70.75.1.el9_0 · Red Hat:rhel_eus:9.0::appstream | Paket deposu (OSV) |
| red hat:kernel-debug-devel-matched | 0:5.14.0-70.75.1.el9_0 · Red Hat:rhel_eus:9.0::appstream | Paket deposu (OSV) |
| red hat:kernel-debuginfo | 0:5.14.0-70.75.1.el9_0 · Red Hat:rhel_eus:9.0::appstream | Paket deposu (OSV) |
| red hat:kernel-debuginfo-common-aarch64 | 0:5.14.0-70.75.1.el9_0 · Red Hat:rhel_eus:9.0::appstream | Paket deposu (OSV) |
| red hat:kernel-debuginfo-common-ppc64le | 0:5.14.0-70.75.1.el9_0 · Red Hat:rhel_eus:9.0::appstream | Paket deposu (OSV) |
| red hat:kernel-debuginfo-common-s390x | 0:5.14.0-70.75.1.el9_0 · Red Hat:rhel_eus:9.0::appstream | Paket deposu (OSV) |
| red hat:kernel-debuginfo-common-x86_64 | 0:5.14.0-70.75.1.el9_0 · Red Hat:rhel_eus:9.0::appstream | Paket deposu (OSV) |
| red hat:kernel-devel | 0:5.14.0-70.75.1.el9_0 · Red Hat:rhel_eus:9.0::appstream | Paket deposu (OSV) |
| red hat:kernel-devel-matched | 0:5.14.0-70.75.1.el9_0 · Red Hat:rhel_eus:9.0::appstream | Paket deposu (OSV) |
| red hat:kernel-doc | 0:5.14.0-70.75.1.el9_0 · Red Hat:rhel_eus:9.0::appstream | Paket deposu (OSV) |
İ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.
- Özel bir koşul gerekmez; tekrarlanabilir.
Başarılı olursa
- Gizlilik
- yüksek · veriler okunabilir
- Bütünlük
- yüksek · veri ya da yapılandırma değiştirilebilir
- 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
- Yüksek
- Bütünlük etkisi
- Yüksek
- Erişilebilirlik etkisi
- Yüksek
Zayıflık sınıfı (CWE)
—
CVSS vektörü
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/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/041e2ac88caef286b39064e83e825e3f53113d36
- git.kernel.org/stable/c/4ae2e501331aaa506eaf760339bb2f43e5769395
- git.kernel.org/stable/c/515ad530795c118f012539ed76d02bacfd426d89
- git.kernel.org/stable/c/5e5e967e8505fbdabfb6497367ec1b808cadc356
- git.kernel.org/stable/c/fc95c8b02c6160936f1f3d8d9d7f4f66f3c84b49
Üretici bildirimleri ve resmî kayıtlar. İstismar/PoC bağlantıları bilinçli olarak dışarıda bırakıldı.