inet: fully convert sk->sk_rx_dst to RCU rules
In the Linux kernel, the following vulnerability has been resolved: inet: fully convert sk->sk_rx_dst to RCU rules syzbot reported various issues around early demux, one being included in this changelog [1] sk->sk_rx_dst is using RCU protection without clearly documenting it. And following sequences in tcp_v4_do_rcv()/tcp_v6_do_rcv() are not following standard RCU rules. [a] dst_release(dst); [b] sk->sk_rx_dst = NULL; They look wrong because a delete operation of RCU protected pointer is supposed to clear the pointer before the call_rcu()/synchronize_rcu() guarding actual memory freeing. In some cases indeed, dst could be freed before [b] is done. We could cheat by clearing sk_rx_dst before calling dst_release(), but this seems the right time to stick to standard RCU annotations and debugging facilities. [1] BUG: KASAN: use-after-free in dst_check include/net/dst.h:470 [inline] BUG: KASAN: use-after-free in tcp_v4_early_demux+0x95b/0x960 net/ipv4/tcp_ipv4.c:1792 Read of size 2 at addr ffff88807f1cb73a by task syz-executor.5/9204 CPU: 0 PID: 9204 Comm: syz-executor.5 Not tainted 5.16.0-rc5-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: <TASK> __dump_stack lib/dump_stack.c:88 [inline] dump_stack_lvl+0xcd/0x134 lib/dump_stack.c:106 print_address_description.constprop.0.cold+0x8d/0x320 mm/kasan/report.c:247 __kasan_report mm/kasan/report.c:433 [inline] kasan_report.cold+0x83/0xdf mm/kasan/report.c:450 dst_check include/net/dst.h:470 [inline] tcp_v4_early_demux+0x95b/0x960 net/ipv4/tcp_ipv4.c:1792 ip_rcv_finish_core.constprop.0+0x15de/0x1e80 net/ipv4/ip_input.c:340 ip_list_rcv_finish.constprop.0+0x1b2/0x6e0 net/ipv4/ip_input.c:583 ip_sublist_rcv net/ipv4/ip_input.c:609 [inline] ip_list_rcv+0x34e/0x490 net/ipv4/ip_input.c:644 __netif_receive_skb_list_ptype net/core/dev.c:5508 [inline] __netif_receive_skb_list_core+0x549/0x8e0 net/core/dev.c:5556 __netif_receive_skb_list net/core/dev.c:5608 [inline] netif_receive_skb_list_internal+0x75e/0xd80 net/core/dev.c:5699 gro_normal_list net/core/dev.c:5853 [inline] gro_normal_list net/core/dev.c:5849 [inline] napi_complete_done+0x1f1/0x880 net/core/dev.c:6590 virtqueue_napi_complete drivers/net/virtio_net.c:339 [inline] virtnet_poll+0xca2/0x11b0 drivers/net/virtio_net.c:1557 __napi_poll+0xaf/0x440 net/core/dev.c:7023 napi_poll net/core/dev.c:7090 [inline] net_rx_action+0x801/0xb40 net/core/dev.c:7177 __do_softirq+0x29b/0x9c2 kernel/softirq.c:558 invoke_softirq kernel/softirq.c:432 [inline] __irq_exit_rcu+0x123/0x180 kernel/softirq.c:637 irq_exit_rcu+0x5/0x20 kernel/softirq.c:649 common_interrupt+0x52/0xc0 arch/x86/kernel/irq.c:240 asm_common_interrupt+0x1e/0x40 arch/x86/include/asm/idtentry.h:629 RIP: 0033:0x7f5e972bfd57 Code: 39 d1 73 14 0f 1f 80 00 00 00 00 48 8b 50 f8 48 83 e8 08 48 39 ca 77 f3 48 39 c3 73 3e 48 89 13 48 8b 50 f8 48 89 38 49 8b 0e <48> 8b 3e 48 83 c3 08 48 83 c6 08 eb bc 48 39 d1 72 9e 48 39 d0 73 RSP: 002b:00007fff8a413210 EFLAGS: 00000283 RAX: 00007f5e97108990 RBX: 00007f5e97108338 RCX: ffffffff81d3aa45 RDX: ffffffff81d3aa45 RSI: 00007f5e97108340 RDI: ffffffff81d3aa45 RBP: 00007f5e97107eb8 R08: 00007f5e97108d88 R09: 0000000093c2e8d9 R10: 0000000000000000 R11: 0000000000000000 R12: 00007f5e97107eb0 R13: 00007f5e97108338 R14: 00007f5e97107ea8 R15: 0000000000000019 </TASK> Allocated by task 13: kasan_save_stack+0x1e/0x50 mm/kasan/common.c:38 kasan_set_track mm/kasan/common.c:46 [inline] set_alloc_info mm/kasan/common.c:434 [inline] __kasan_slab_alloc+0x90/0xc0 mm/kasan/common.c:467 kasan_slab_alloc include/linux/kasan.h:259 [inline] slab_post_alloc_hook mm/slab.h:519 [inline] slab_alloc_node mm/slub.c:3234 [inline] slab_alloc mm/slub.c:3242 [inline] kmem_cache_alloc+0x202/0x3a0 mm/slub.c:3247 dst_alloc+0x146/0x1f0 net/core/dst.c:92 rt_dst_alloc+0x73/0x430 net/ipv4/route.c:1613 ip_route_input_slow+0x1817/0x3a20 net/ipv4/route.c:234 ---truncated---
- Yayın
- 4 Mar 2024
- Güncelleme
- 5 Ağu 2026
- EPSS
- %1,0 · 60. yüzdelik
- CWE
- CWE-416
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 · %1,0
CISA SSVC kararı
- Sömürü
- yok
- Otomatikleştirilebilir
- hayır
- Teknik etki
- kısmi
Vulnrichment: CISA'nın karar ağacı girdileri.
CNA ile NVD puanı
- NVD
- 7,8
- CNA · Linux
- 9,8
- 2,0 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 |
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 kernel3.6 ve sonrası · 4.9.331 öncesi
- linux linux kernel4.10 ve sonrası · 4.14.296 öncesi
- linux linux kernel4.15 ve sonrası · 4.19.262 öncesi
- linux linux kernel4.20 ve sonrası · 5.4.220 öncesi
- linux linux kernel5.5 ve sonrası · 5.10.150 öncesi
- linux linux kernel5.11 ve sonrası · 5.15.12 öncesi
- linux linux kernel5.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
- 3.6etkilenir
- 41063e9dd11956f2d285e12e4342e1d232ba0ea2 ve sonrası · 68c34ce11ef23328692aa35fa6aaafdd75913100 öncesietkilenir · git
- 41063e9dd11956f2d285e12e4342e1d232ba0ea2 ve sonrası · 92e6e36ecd16808866ac6172b9491b5097cde449 öncesietkilenir · git
- 41063e9dd11956f2d285e12e4342e1d232ba0ea2 ve sonrası · 75a578000ae5e511e5d0e8433c94a14d9c99c412 öncesietkilenir · git
- 41063e9dd11956f2d285e12e4342e1d232ba0ea2 ve sonrası · c3bb4a7e8cbc984e1cdac0fe6af60e880214ed6e öncesietkilenir · git
- 41063e9dd11956f2d285e12e4342e1d232ba0ea2 ve sonrası · f039b43cbaea5e0700980c2f0052da05a70782e0 öncesietkilenir · git
- 41063e9dd11956f2d285e12e4342e1d232ba0ea2 ve sonrası · 0249a4b8a554f2eb6a27b62516fa50168584faa4 öncesietkilenir · git
- 41063e9dd11956f2d285e12e4342e1d232ba0ea2 ve sonrası · 8f905c0e7354ef261360fb7535ea079b1082c105 öncesietkilenir · git
- 3.6 öncesietkilenmez · semver
- 4.9.331 ve sonrası · 4.9.* 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 | 5.15.15-1 öncesi | 5.15.15-1 |
| openSUSE:Leap 15.5 | dtb-aarch64 | 5.14.21-150500.55.73.1 öncesi | 5.14.21-150500.55.73.1 |
| openSUSE:Leap 15.5 | kernel-debug | 5.14.21-150500.55.73.1 öncesi | 5.14.21-150500.55.73.1 |
| openSUSE:Leap 15.5 | kernel-kvmsmall | 5.14.21-150500.55.73.1 öncesi | 5.14.21-150500.55.73.1 |
| openSUSE:Leap 15.5 | kernel-obs-qa | 5.14.21-150500.55.73.1 öncesi | 5.14.21-150500.55.73.1 |
| Red Hat:enterprise_linux:8::baseos | bpftool | 0:4.18.0-425.3.1.el8 öncesi | 0:4.18.0-425.3.1.el8 |
| Red Hat:enterprise_linux:8::baseos | bpftool-debuginfo | 0:4.18.0-425.3.1.el8 öncesi | 0:4.18.0-425.3.1.el8 |
| Red Hat:enterprise_linux:8::baseos | kernel | 0:4.18.0-425.3.1.el8 öncesi | 0:4.18.0-425.3.1.el8 |
| Red Hat:enterprise_linux:8::baseos | kernel-abi-stablelists | 0:4.18.0-425.3.1.el8 öncesi | 0:4.18.0-425.3.1.el8 |
| Red Hat:enterprise_linux:8::baseos | kernel-core | 0:4.18.0-425.3.1.el8 öncesi | 0:4.18.0-425.3.1.el8 |
| Red Hat:enterprise_linux:8::baseos | kernel-debug | 0:4.18.0-425.3.1.el8 öncesi | 0:4.18.0-425.3.1.el8 |
| Red Hat:enterprise_linux:8::baseos | kernel-debug-core | 0:4.18.0-425.3.1.el8 öncesi | 0:4.18.0-425.3.1.el8 |
| Red Hat:enterprise_linux:8::baseos | kernel-debug-debuginfo | 0:4.18.0-425.3.1.el8 öncesi | 0:4.18.0-425.3.1.el8 |
| Red Hat:enterprise_linux:8::baseos | kernel-debug-devel | 0:4.18.0-425.3.1.el8 öncesi | 0:4.18.0-425.3.1.el8 |
| Red Hat:enterprise_linux:8::baseos | kernel-debug-modules | 0:4.18.0-425.3.1.el8 öncesi | 0:4.18.0-425.3.1.el8 |
| Red Hat:enterprise_linux:8::baseos | kernel-debug-modules-extra | 0:4.18.0-425.3.1.el8 öncesi | 0:4.18.0-425.3.1.el8 |
| Red Hat:enterprise_linux:8::baseos | kernel-debuginfo | 0:4.18.0-425.3.1.el8 öncesi | 0:4.18.0-425.3.1.el8 |
| Red Hat:enterprise_linux:8::baseos | kernel-debuginfo-common-aarch64 | 0:4.18.0-425.3.1.el8 öncesi | 0:4.18.0-425.3.1.el8 |
| Red Hat:enterprise_linux:8::baseos | kernel-debuginfo-common-ppc64le | 0:4.18.0-425.3.1.el8 öncesi | 0:4.18.0-425.3.1.el8 |
| Red Hat:enterprise_linux:8::baseos | kernel-debuginfo-common-s390x | 0:4.18.0-425.3.1.el8 öncesi | 0:4.18.0-425.3.1.el8 |
| Red Hat:enterprise_linux:8::baseos | kernel-debuginfo-common-x86_64 | 0:4.18.0-425.3.1.el8 öncesi | 0:4.18.0-425.3.1.el8 |
| Red Hat:enterprise_linux:8::baseos | kernel-devel | 0:4.18.0-425.3.1.el8 öncesi | 0:4.18.0-425.3.1.el8 |
| Red Hat:enterprise_linux:8::baseos | kernel-doc | 0:4.18.0-425.3.1.el8 öncesi | 0:4.18.0-425.3.1.el8 |
| Red Hat:enterprise_linux:8::baseos | kernel-modules | 0:4.18.0-425.3.1.el8 öncesi | 0:4.18.0-425.3.1.el8 |
+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 | 0249a4b8a554f2eb6a27b62516fa50168584faa4 | Üretici (CNA) |
| Linux Linux | 68c34ce11ef23328692aa35fa6aaafdd75913100 | Üretici (CNA) |
| Linux Linux | 75a578000ae5e511e5d0e8433c94a14d9c99c412 | Üretici (CNA) |
| Linux Linux | 8f905c0e7354ef261360fb7535ea079b1082c105 | Üretici (CNA) |
| Linux Linux | 92e6e36ecd16808866ac6172b9491b5097cde449 | Üretici (CNA) |
| Linux Linux | c3bb4a7e8cbc984e1cdac0fe6af60e880214ed6e | Üretici (CNA) |
| Linux Linux | f039b43cbaea5e0700980c2f0052da05a70782e0 | Üretici (CNA) |
| debian:linux | 5.15.15-1 · Debian:12 | Paket deposu (OSV) |
| opensuse:kernel-rt | 5.14.21-150500.13.64.1 · openSUSE:Leap Micro 5.5 | Paket deposu (OSV) |
| opensuse:kernel-rt_debug | 5.14.21-150500.13.64.1 · openSUSE:Leap 15.5 | Paket deposu (OSV) |
| opensuse:kernel-source-rt | 5.14.21-150500.13.64.1 · openSUSE:Leap 15.5 | Paket deposu (OSV) |
| opensuse:kernel-syms-rt | 5.14.21-150500.13.64.1 · openSUSE:Leap 15.5 | Paket deposu (OSV) |
| red hat:bpftool | 0:4.18.0-425.3.1.el8 · Red Hat:enterprise_linux:8::baseos | Paket deposu (OSV) |
| red hat:bpftool-debuginfo | 0:4.18.0-425.3.1.el8 · Red Hat:enterprise_linux:8::baseos | Paket deposu (OSV) |
| red hat:kernel | 0:4.18.0-425.3.1.el8 · Red Hat:enterprise_linux:8::baseos | Paket deposu (OSV) |
| red hat:kernel-abi-stablelists | 0:4.18.0-425.3.1.el8 · Red Hat:enterprise_linux:8::baseos | Paket deposu (OSV) |
| red hat:kernel-core | 0:4.18.0-425.3.1.el8 · Red Hat:enterprise_linux:8::baseos | Paket deposu (OSV) |
| red hat:kernel-debug | 0:4.18.0-425.3.1.el8 · Red Hat:enterprise_linux:8::baseos | Paket deposu (OSV) |
| red hat:kernel-debug-core | 0:4.18.0-425.3.1.el8 · Red Hat:enterprise_linux:8::baseos | Paket deposu (OSV) |
| red hat:kernel-debug-debuginfo | 0:4.18.0-425.3.1.el8 · Red Hat:enterprise_linux:8::baseos | Paket deposu (OSV) |
| red hat:kernel-debug-devel | 0:4.18.0-425.3.1.el8 · Red Hat:enterprise_linux:8::baseos | Paket deposu (OSV) |
| red hat:kernel-debug-modules | 0:4.18.0-425.3.1.el8 · Red Hat:enterprise_linux:8::baseos | Paket deposu (OSV) |
| red hat:kernel-debug-modules-extra | 0:4.18.0-425.3.1.el8 · Red Hat:enterprise_linux:8::baseos | Paket deposu (OSV) |
| red hat:kernel-debuginfo | 0:4.18.0-425.3.1.el8 · Red Hat:enterprise_linux:8::baseos | Paket deposu (OSV) |
| suse:kernel-64kb | 5.14.21-150500.55.73.1 · SUSE:Linux Enterprise Module for Basesystem 15 SP5 | Paket deposu (OSV) |
| suse:kernel-azure | 4.12.14-16.191.1 · SUSE:Linux Enterprise Server 12 SP5 | Paket deposu (OSV) |
| suse:kernel-default | 4.12.14-122.222.1 · SUSE:Linux Enterprise High Availability Extension 12 SP5 | Paket deposu (OSV) |
| suse:kernel-default | 5.14.21-150500.55.73.1 · SUSE:Linux Enterprise Micro 5.5 | Paket deposu (OSV) |
| suse:kernel-default-base | 5.14.21-150500.55.73.1.150500.6.33.8 · SUSE:Linux Enterprise Micro 5.5 | Paket deposu (OSV) |
| suse:kernel-docs | 4.12.14-122.222.1 · SUSE:Linux Enterprise Software Development Kit 12 SP5 | Paket deposu (OSV) |
+14
İ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)
CWE-416 · Use After FreeCVSS vektörü
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
nvd-primary
Kök neden
Bir bellek alanı serbest bırakıldıktan sonra ona işaret eden başka bir referans kullanılmaya devam ediyor. Aynı alan o sırada başka bir veri için ayrılmış olabilir.
Hatanın kod karşılığı
CWE-416 sınıfının tamamıBu zafiyet sınıfının temsili örneği. Üreticinin kaynak kodu değildir; hatalı kalıbı ve düzeltmesini gösterir.
Hatalı
free(dev->buf);/* ... başka bir iş parçacığı hâlâ çalışıyor ... */process(dev->buf);Düzeltilmiş
lock(&dev->lock);free(dev->buf);dev->buf = NULL;unlock(&dev->lock);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. →