sctp: Fix null-ptr-deref in reuseport_add_sock().
In the Linux kernel, the following vulnerability has been resolved: sctp: Fix null-ptr-deref in reuseport_add_sock(). syzbot reported a null-ptr-deref while accessing sk2->sk_reuseport_cb in reuseport_add_sock(). [0] The repro first creates a listener with SO_REUSEPORT. Then, it creates another listener on the same port and concurrently closes the first listener. The second listen() calls reuseport_add_sock() with the first listener as sk2, where sk2->sk_reuseport_cb is not expected to be cleared concurrently, but the close() does clear it by reuseport_detach_sock(). The problem is SCTP does not properly synchronise reuseport_alloc(), reuseport_add_sock(), and reuseport_detach_sock(). The caller of reuseport_alloc() and reuseport_{add,detach}_sock() must provide synchronisation for sockets that are classified into the same reuseport group. Otherwise, such sockets form multiple identical reuseport groups, and all groups except one would be silently dead. 1. Two sockets call listen() concurrently 2. No socket in the same group found in sctp_ep_hashtable[] 3. Two sockets call reuseport_alloc() and form two reuseport groups 4. Only one group hit first in __sctp_rcv_lookup_endpoint() receives incoming packets Also, the reported null-ptr-deref could occur. TCP/UDP guarantees that would not happen by holding the hash bucket lock. Let's apply the locking strategy to __sctp_hash_endpoint() and __sctp_unhash_endpoint(). [0]: Oops: general protection fault, probably for non-canonical address 0xdffffc0000000002: 0000 [#1] PREEMPT SMP KASAN PTI KASAN: null-ptr-deref in range [0x0000000000000010-0x0000000000000017] CPU: 1 UID: 0 PID: 10230 Comm: syz-executor119 Not tainted 6.10.0-syzkaller-12585-g301927d2d2eb #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024 RIP: 0010:reuseport_add_sock+0x27e/0x5e0 net/core/sock_reuseport.c:350 Code: 00 0f b7 5d 00 bf 01 00 00 00 89 de e8 1b a4 ff f7 83 fb 01 0f 85 a3 01 00 00 e8 6d a0 ff f7 49 8d 7e 12 48 89 f8 48 c1 e8 03 <42> 0f b6 04 28 84 c0 0f 85 4b 02 00 00 41 0f b7 5e 12 49 8d 7e 14 RSP: 0018:ffffc9000b947c98 EFLAGS: 00010202 RAX: 0000000000000002 RBX: ffff8880252ddf98 RCX: ffff888079478000 RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000012 RBP: 0000000000000001 R08: ffffffff8993e18d R09: 1ffffffff1fef385 R10: dffffc0000000000 R11: fffffbfff1fef386 R12: ffff8880252ddac0 R13: dffffc0000000000 R14: 0000000000000000 R15: 0000000000000000 FS: 00007f24e45b96c0(0000) GS:ffff8880b9300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffcced5f7b8 CR3: 00000000241be000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: <TASK> __sctp_hash_endpoint net/sctp/input.c:762 [inline] sctp_hash_endpoint+0x52a/0x600 net/sctp/input.c:790 sctp_listen_start net/sctp/socket.c:8570 [inline] sctp_inet_listen+0x767/0xa20 net/sctp/socket.c:8625 __sys_listen_socket net/socket.c:1883 [inline] __sys_listen+0x1b7/0x230 net/socket.c:1894 __do_sys_listen net/socket.c:1902 [inline] __se_sys_listen net/socket.c:1900 [inline] __x64_sys_listen+0x5a/0x70 net/socket.c:1900 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f24e46039b9 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 91 1a 00 00 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f24e45b9228 EFLAGS: 00000246 ORIG_RAX: 0000000000000032 RAX: ffffffffffffffda RBX: 00007f24e468e428 RCX: 00007f24e46039b9 RDX: 00007f24e46039b9 RSI: 0000000000000003 RDI: 0000000000000004 RBP: 00007f24e468e420 R08: 00007f24e45b96c0 R09: 00007f24e45b96c0 R10: 00007f24e45b96c0 R11: 0000000000000246 R12: 00007f24e468e42c R13: ---truncated---
- Yayın
- 26 Ağu 2024
- Güncelleme
- 17 Haz 2026
- EPSS
- %0,2 · 12. yüzdelik
- CWE
- CWE-476
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,2
CISA SSVC kararı
- Sömürü
- yok
- Otomatikleştirilebilir
- hayır
- Teknik etki
- kısmi
Vulnrichment: CISA'nın karar ağacı girdileri.
Etkilenen 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.0 ve sonrası · 5.4.282 öncesi
- linux linux kernel5.5 ve sonrası · 5.10.224 öncesi
- linux linux kernel5.11 ve sonrası · 5.15.165 öncesi
- linux linux kernel5.16 ve sonrası · 6.1.105 öncesi
- linux linux kernel6.2 ve sonrası · 6.6.46 öncesi
- linux linux kernel6.7 ve sonrası · 6.10.5 öncesi
- linux linux kernel6.11
Ü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.0etkilenir
- 6ba84574026792ce33a40c7da721dea36d0f3973 ve sonrası · c9b3fc4f157867e858734e31022ebee8a24f0de7 öncesietkilenir · git
- 6ba84574026792ce33a40c7da721dea36d0f3973 ve sonrası · 52319d9d2f522ed939af31af70f8c3a0f0f67e6c öncesietkilenir · git
- 6ba84574026792ce33a40c7da721dea36d0f3973 ve sonrası · 54b303d8f9702b8ab618c5032fae886b16356928 öncesietkilenir · git
- 6ba84574026792ce33a40c7da721dea36d0f3973 ve sonrası · 05e4a0fa248240efd99a539853e844f0f0a9e6a5 öncesietkilenir · git
- 6ba84574026792ce33a40c7da721dea36d0f3973 ve sonrası · 1407be30fc17eff918a98e0a990c0e988f11dc84 öncesietkilenir · git
- 6ba84574026792ce33a40c7da721dea36d0f3973 ve sonrası · e809a84c802377ef61525a298a1ec1728759b913 öncesietkilenir · git
- 6ba84574026792ce33a40c7da721dea36d0f3973 ve sonrası · 9ab0faa7f9ffe31296dbb9bbe6f76c72c14eea18 öncesietkilenir · git
- 5.0 öncesietkilenmez · semver
- 5.4.282 ve sonrası · 5.4.* 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.106-1 öncesi | 6.1.106-1 |
| Debian:13 | linux | 6.10.6-1 öncesi | 6.10.6-1 |
| Red Hat:rhel_eus:9.4::appstream | bpftool-debuginfo | 0:7.3.0-427.57.1.el9_4 öncesi | 0:7.3.0-427.57.1.el9_4 |
| Red Hat:rhel_eus:9.4::appstream | kernel-64k-debug-debuginfo | 0:5.14.0-427.57.1.el9_4 öncesi | 0:5.14.0-427.57.1.el9_4 |
| Red Hat:rhel_eus:9.4::appstream | kernel-64k-debug-devel | 0:5.14.0-427.57.1.el9_4 öncesi | 0:5.14.0-427.57.1.el9_4 |
| Red Hat:rhel_eus:9.4::appstream | kernel-64k-debug-devel-matched | 0:5.14.0-427.57.1.el9_4 öncesi | 0:5.14.0-427.57.1.el9_4 |
| Red Hat:rhel_eus:9.4::appstream | kernel-64k-debuginfo | 0:5.14.0-427.57.1.el9_4 öncesi | 0:5.14.0-427.57.1.el9_4 |
| Red Hat:rhel_eus:9.4::appstream | kernel-64k-devel | 0:5.14.0-427.57.1.el9_4 öncesi | 0:5.14.0-427.57.1.el9_4 |
| Red Hat:rhel_eus:9.4::appstream | kernel-64k-devel-matched | 0:5.14.0-427.57.1.el9_4 öncesi | 0:5.14.0-427.57.1.el9_4 |
| Red Hat:rhel_eus:9.4::appstream | kernel-debug-debuginfo | 0:5.14.0-427.57.1.el9_4 öncesi | 0:5.14.0-427.57.1.el9_4 |
| Red Hat:rhel_eus:9.4::appstream | kernel-debug-devel | 0:5.14.0-427.57.1.el9_4 öncesi | 0:5.14.0-427.57.1.el9_4 |
| Red Hat:rhel_eus:9.4::appstream | kernel-debug-devel-matched | 0:5.14.0-427.57.1.el9_4 öncesi | 0:5.14.0-427.57.1.el9_4 |
| Red Hat:rhel_eus:9.4::appstream | kernel-debuginfo | 0:5.14.0-427.57.1.el9_4 öncesi | 0:5.14.0-427.57.1.el9_4 |
| Red Hat:rhel_eus:9.4::appstream | kernel-debuginfo-common-aarch64 | 0:5.14.0-427.57.1.el9_4 öncesi | 0:5.14.0-427.57.1.el9_4 |
| Red Hat:rhel_eus:9.4::appstream | kernel-debuginfo-common-ppc64le | 0:5.14.0-427.57.1.el9_4 öncesi | 0:5.14.0-427.57.1.el9_4 |
| Red Hat:rhel_eus:9.4::appstream | kernel-debuginfo-common-s390x | 0:5.14.0-427.57.1.el9_4 öncesi | 0:5.14.0-427.57.1.el9_4 |
| Red Hat:rhel_eus:9.4::appstream | kernel-debuginfo-common-x86_64 | 0:5.14.0-427.57.1.el9_4 öncesi | 0:5.14.0-427.57.1.el9_4 |
| Red Hat:rhel_eus:9.4::appstream | kernel-devel | 0:5.14.0-427.57.1.el9_4 öncesi | 0:5.14.0-427.57.1.el9_4 |
| Red Hat:rhel_eus:9.4::appstream | kernel-devel-matched | 0:5.14.0-427.57.1.el9_4 öncesi | 0:5.14.0-427.57.1.el9_4 |
| Red Hat:rhel_eus:9.4::appstream | kernel-doc | 0:5.14.0-427.57.1.el9_4 öncesi | 0:5.14.0-427.57.1.el9_4 |
| Red Hat:rhel_eus:9.4::appstream | kernel-rt-debug-debuginfo | 0:5.14.0-427.57.1.el9_4 öncesi | 0:5.14.0-427.57.1.el9_4 |
| Red Hat:rhel_eus:9.4::appstream | kernel-rt-debuginfo | 0:5.14.0-427.57.1.el9_4 öncesi | 0:5.14.0-427.57.1.el9_4 |
| Red Hat:rhel_eus:9.4::appstream | kernel-tools-debuginfo | 0:5.14.0-427.57.1.el9_4 öncesi | 0:5.14.0-427.57.1.el9_4 |
| Red Hat:rhel_eus:9.4::appstream | kernel-zfcpdump-debuginfo | 0:5.14.0-427.57.1.el9_4 öncesi | 0:5.14.0-427.57.1.el9_4 |
+56
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 | 05e4a0fa248240efd99a539853e844f0f0a9e6a5 | Üretici (CNA) |
| Linux Linux | 1407be30fc17eff918a98e0a990c0e988f11dc84 | Üretici (CNA) |
| Linux Linux | 52319d9d2f522ed939af31af70f8c3a0f0f67e6c | Üretici (CNA) |
| Linux Linux | 54b303d8f9702b8ab618c5032fae886b16356928 | Üretici (CNA) |
| Linux Linux | 9ab0faa7f9ffe31296dbb9bbe6f76c72c14eea18 | Üretici (CNA) |
| Linux Linux | c9b3fc4f157867e858734e31022ebee8a24f0de7 | Üretici (CNA) |
| Linux Linux | e809a84c802377ef61525a298a1ec1728759b913 | Üretici (CNA) |
| debian:linux | 6.1.106-1 · Debian:12 | Paket deposu (OSV) |
| red hat:bpftool-debuginfo | 0:7.3.0-427.57.1.el9_4 · Red Hat:rhel_eus:9.4::appstream | Paket deposu (OSV) |
| red hat:kernel-64k-debug-debuginfo | 0:5.14.0-427.57.1.el9_4 · Red Hat:rhel_eus:9.4::appstream | Paket deposu (OSV) |
| red hat:kernel-64k-debug-devel | 0:5.14.0-427.57.1.el9_4 · Red Hat:rhel_eus:9.4::appstream | Paket deposu (OSV) |
| red hat:kernel-64k-debug-devel-matched | 0:5.14.0-427.57.1.el9_4 · Red Hat:rhel_eus:9.4::appstream | Paket deposu (OSV) |
| red hat:kernel-64k-debuginfo | 0:5.14.0-427.57.1.el9_4 · Red Hat:rhel_eus:9.4::appstream | Paket deposu (OSV) |
| red hat:kernel-64k-devel | 0:5.14.0-427.57.1.el9_4 · Red Hat:rhel_eus:9.4::appstream | Paket deposu (OSV) |
| red hat:kernel-64k-devel-matched | 0:5.14.0-427.57.1.el9_4 · Red Hat:rhel_eus:9.4::appstream | Paket deposu (OSV) |
| red hat:kernel-debug-debuginfo | 0:5.14.0-427.57.1.el9_4 · Red Hat:rhel_eus:9.4::appstream | Paket deposu (OSV) |
| red hat:kernel-debug-devel | 0:5.14.0-427.57.1.el9_4 · Red Hat:rhel_eus:9.4::appstream | Paket deposu (OSV) |
| red hat:kernel-debug-devel-matched | 0:5.14.0-427.57.1.el9_4 · Red Hat:rhel_eus:9.4::appstream | Paket deposu (OSV) |
| red hat:kernel-debuginfo | 0:5.14.0-427.57.1.el9_4 · Red Hat:rhel_eus:9.4::appstream | Paket deposu (OSV) |
| red hat:kernel-debuginfo-common-aarch64 | 0:5.14.0-427.57.1.el9_4 · Red Hat:rhel_eus:9.4::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
- 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-476 · NULL Pointer DereferenceCVSS 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.
Noroxi analizi
Bu kayıt için henüz Noroxi analizi yok
385 binden fazla 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 isteyinDeğ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/05e4a0fa248240efd99a539853e844f0f0a9e6a5
- git.kernel.org/stable/c/1407be30fc17eff918a98e0a990c0e988f11dc84
- git.kernel.org/stable/c/52319d9d2f522ed939af31af70f8c3a0f0f67e6c
- git.kernel.org/stable/c/54b303d8f9702b8ab618c5032fae886b16356928
- git.kernel.org/stable/c/9ab0faa7f9ffe31296dbb9bbe6f76c72c14eea18
- git.kernel.org/stable/c/c9b3fc4f157867e858734e31022ebee8a24f0de7
- git.kernel.org/stable/c/e809a84c802377ef61525a298a1ec1728759b913
- lists.debian.org/debian-lts-announce/2024/10/msg00003.html
- lists.debian.org/debian-lts-announce/2025/01/msg00001.html
- cert-portal.siemens.com/productcert/html/ssa-265688.html
- cert-portal.siemens.com/productcert/html/ssa-355557.html
- cert-portal.siemens.com/productcert/html/ssa-613116.html
Üretici bildirimleri ve resmî kayıtlar. İstismar/PoC bağlantıları bilinçli olarak dışarıda bırakıldı.