sctp: detect and prevent references to a freed transport in sendmsg
In the Linux kernel, the following vulnerability has been resolved: sctp: detect and prevent references to a freed transport in sendmsg sctp_sendmsg() re-uses associations and transports when possible by doing a lookup based on the socket endpoint and the message destination address, and then sctp_sendmsg_to_asoc() sets the selected transport in all the message chunks to be sent. There's a possible race condition if another thread triggers the removal of that selected transport, for instance, by explicitly unbinding an address with setsockopt(SCTP_SOCKOPT_BINDX_REM), after the chunks have been set up and before the message is sent. This can happen if the send buffer is full, during the period when the sender thread temporarily releases the socket lock in sctp_wait_for_sndbuf(). This causes the access to the transport data in sctp_outq_select_transport(), when the association outqueue is flushed, to result in a use-after-free read. This change avoids this scenario by having sctp_transport_free() signal the freeing of the transport, tagging it as "dead". In order to do this, the patch restores the "dead" bit in struct sctp_transport, which was removed in commit 47faa1e4c50e ("sctp: remove the dead field of sctp_transport"). Then, in the scenario where the sender thread has released the socket lock in sctp_wait_for_sndbuf(), the bit is checked again after re-acquiring the socket lock to detect the deletion. This is done while holding a reference to the transport to prevent it from being freed in the process. If the transport was deleted while the socket lock was relinquished, sctp_sendmsg_to_asoc() will return -EAGAIN to let userspace retry the send. The bug was found by a private syzbot instance (see the error report [1] and the C reproducer that triggers it [2]).
- Yayın
- 1 May 2025
- Güncelleme
- 5 Ağu 2026
- EPSS
- %0,2 · 12. 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 · %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.
Etkilenen 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 kernel4.4.166 ve sonrası · 4.5 öncesi
- linux linux kernel4.9.142 ve sonrası · 4.10 öncesi
- linux linux kernel4.14.85 ve sonrası · 4.15 öncesi
- linux linux kernel4.19.6 ve sonrası · 5.4.293 öncesi
- linux linux kernel5.5 ve sonrası · 5.10.237 öncesi
- linux linux kernel5.11 ve sonrası · 5.15.181 öncesi
- linux linux kernel3.18.128 ve sonrası · 3.19 öncesi
- linux linux kernel6.2 ve sonrası · 6.6.88 öncesi
- linux linux kernel6.7 ve sonrası · 6.12.24 öncesi
- linux linux kernel6.13 ve sonrası · 6.13.12 öncesi
- linux linux kernel6.14 ve sonrası · 6.14.3 öncesi
- linux linux kernel5.16 ve sonrası · 6.1.135 öncesi
- linux linux kernel6.15
Ü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
- 26e51e5287eed4d96ea66a3da95429f42940f013, 8b97e045bd6d37f96f161e4d371ae174148e1587, e044554e97e812eb257d073bcc130e0ea653858f, 8376fdc999be008f0e9918db52f1ed8c08f5a1c9, cd947138e8c31e8cfcd489c12e9b97271beb6e79, 4.20etkilenir
- df132eff463873e14e019a07f387b4d577d6d1f9 ve sonrası · 547762250220325d350d0917a7231480e0f4142b öncesietkilenir · git
- df132eff463873e14e019a07f387b4d577d6d1f9 ve sonrası · 3257386be6a7eb8a8bfc9cbfb746df4eb4fc70e8 öncesietkilenir · git
- df132eff463873e14e019a07f387b4d577d6d1f9 ve sonrası · 0f7df4899299ce4662e5f95badb9dbc57cc37fa5 öncesietkilenir · git
- df132eff463873e14e019a07f387b4d577d6d1f9 ve sonrası · 7a63f4fb0efb4e69efd990cbb740a848679ec4b0 öncesietkilenir · git
- df132eff463873e14e019a07f387b4d577d6d1f9 ve sonrası · c6fefcb71d246baaf3bacdad1af7ff50ebcfe652 öncesietkilenir · git
- df132eff463873e14e019a07f387b4d577d6d1f9 ve sonrası · 9e7c37fadb3be1fc33073fcf10aa96d166caa697 öncesietkilenir · git
- df132eff463873e14e019a07f387b4d577d6d1f9 ve sonrası · 5bc83bdf5f5b8010d1ca5a4555537e62413ab4e2 öncesietkilenir · git
- df132eff463873e14e019a07f387b4d577d6d1f9 ve sonrası · 2e5068b7e0ae0a54f6cfd03a2f80977da657f1ee öncesietkilenir · git
- df132eff463873e14e019a07f387b4d577d6d1f9 ve sonrası · f1a69a940de58b16e8249dff26f74c8cc59b32be öncesietkilenir · git
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.135-1 öncesi | 6.1.135-1 |
| Debian:13 | linux | 6.12.25-1 öncesi | 6.12.25-1 |
| Red Hat:rhel_e4s:9.0::appstream | bpftool-debuginfo | 0:5.14.0-70.161.1.el9_0 öncesi | 0:5.14.0-70.161.1.el9_0 |
| Red Hat:rhel_e4s:9.0::appstream | kernel-debug-debuginfo | 0:5.14.0-70.161.1.el9_0 öncesi | 0:5.14.0-70.161.1.el9_0 |
| Red Hat:rhel_e4s:9.0::appstream | kernel-debug-devel | 0:5.14.0-70.161.1.el9_0 öncesi | 0:5.14.0-70.161.1.el9_0 |
| Red Hat:rhel_e4s:9.0::appstream | kernel-debug-devel-matched | 0:5.14.0-70.161.1.el9_0 öncesi | 0:5.14.0-70.161.1.el9_0 |
| Red Hat:rhel_e4s:9.0::appstream | kernel-debuginfo | 0:5.14.0-70.161.1.el9_0 öncesi | 0:5.14.0-70.161.1.el9_0 |
| Red Hat:rhel_e4s:9.0::appstream | kernel-debuginfo-common-aarch64 | 0:5.14.0-70.161.1.el9_0 öncesi | 0:5.14.0-70.161.1.el9_0 |
| Red Hat:rhel_e4s:9.0::appstream | kernel-debuginfo-common-ppc64le | 0:5.14.0-70.161.1.el9_0 öncesi | 0:5.14.0-70.161.1.el9_0 |
| Red Hat:rhel_e4s:9.0::appstream | kernel-debuginfo-common-s390x | 0:5.14.0-70.161.1.el9_0 öncesi | 0:5.14.0-70.161.1.el9_0 |
| Red Hat:rhel_e4s:9.0::appstream | kernel-debuginfo-common-x86_64 | 0:5.14.0-70.161.1.el9_0 öncesi | 0:5.14.0-70.161.1.el9_0 |
| Red Hat:rhel_e4s:9.0::appstream | kernel-devel | 0:5.14.0-70.161.1.el9_0 öncesi | 0:5.14.0-70.161.1.el9_0 |
| Red Hat:rhel_e4s:9.0::appstream | kernel-devel-matched | 0:5.14.0-70.161.1.el9_0 öncesi | 0:5.14.0-70.161.1.el9_0 |
| Red Hat:rhel_e4s:9.0::appstream | kernel-doc | 0:5.14.0-70.161.1.el9_0 öncesi | 0:5.14.0-70.161.1.el9_0 |
| Red Hat:rhel_e4s:9.0::appstream | kernel-tools-debuginfo | 0:5.14.0-70.161.1.el9_0 öncesi | 0:5.14.0-70.161.1.el9_0 |
| Red Hat:rhel_e4s:9.0::appstream | kernel-zfcpdump-debuginfo | 0:5.14.0-70.161.1.el9_0 öncesi | 0:5.14.0-70.161.1.el9_0 |
| Red Hat:rhel_e4s:9.0::appstream | kernel-zfcpdump-devel | 0:5.14.0-70.161.1.el9_0 öncesi | 0:5.14.0-70.161.1.el9_0 |
| Red Hat:rhel_e4s:9.0::appstream | kernel-zfcpdump-devel-matched | 0:5.14.0-70.161.1.el9_0 öncesi | 0:5.14.0-70.161.1.el9_0 |
| Red Hat:rhel_e4s:9.0::appstream | perf | 0:5.14.0-70.161.1.el9_0 öncesi | 0:5.14.0-70.161.1.el9_0 |
| Red Hat:rhel_e4s:9.0::appstream | perf-debuginfo | 0:5.14.0-70.161.1.el9_0 öncesi | 0:5.14.0-70.161.1.el9_0 |
| Red Hat:rhel_e4s:9.0::appstream | python3-perf-debuginfo | 0:5.14.0-70.161.1.el9_0 öncesi | 0:5.14.0-70.161.1.el9_0 |
| Red Hat:rhel_e4s:9.0::baseos | bpftool | 0:5.14.0-70.161.1.el9_0 öncesi | 0:5.14.0-70.161.1.el9_0 |
| Red Hat:rhel_e4s:9.0::baseos | kernel | 0:5.14.0-70.161.1.el9_0 öncesi | 0:5.14.0-70.161.1.el9_0 |
| Red Hat:rhel_e4s:9.0::baseos | kernel-abi-stablelists | 0:5.14.0-70.161.1.el9_0 öncesi | 0:5.14.0-70.161.1.el9_0 |
+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 | 0f7df4899299ce4662e5f95badb9dbc57cc37fa5 | Üretici (CNA) |
| Linux Linux | 2e5068b7e0ae0a54f6cfd03a2f80977da657f1ee | Üretici (CNA) |
| Linux Linux | 3.19 | Üretici (CNA) |
| Linux Linux | 3257386be6a7eb8a8bfc9cbfb746df4eb4fc70e8 | Üretici (CNA) |
| Linux Linux | 4.10 | Üretici (CNA) |
| Linux Linux | 4.15 | Üretici (CNA) |
| Linux Linux | 4.20 | Üretici (CNA) |
| Linux Linux | 4.5 | Üretici (CNA) |
| Linux Linux | 547762250220325d350d0917a7231480e0f4142b | Üretici (CNA) |
| Linux Linux | 5bc83bdf5f5b8010d1ca5a4555537e62413ab4e2 | Üretici (CNA) |
| Linux Linux | 7a63f4fb0efb4e69efd990cbb740a848679ec4b0 | Üretici (CNA) |
| Linux Linux | 9e7c37fadb3be1fc33073fcf10aa96d166caa697 | Üretici (CNA) |
| Linux Linux | c6fefcb71d246baaf3bacdad1af7ff50ebcfe652 | Üretici (CNA) |
| Linux Linux | f1a69a940de58b16e8249dff26f74c8cc59b32be | Üretici (CNA) |
| debian:linux | 6.1.135-1 · Debian:12 | Paket deposu (OSV) |
| red hat:kernel-64k-debug-debuginfo | 0:5.14.0-570.77.1.el9_6 · Red Hat:rhel_eus:9.6::appstream | Paket deposu (OSV) |
| red hat:kernel-64k-debug-devel | 0:5.14.0-570.77.1.el9_6 · Red Hat:rhel_eus:9.6::appstream | Paket deposu (OSV) |
| red hat:kernel-64k-debug-devel-matched | 0:5.14.0-570.77.1.el9_6 · Red Hat:rhel_eus:9.6::appstream | Paket deposu (OSV) |
| red hat:kernel-64k-debuginfo | 0:5.14.0-570.77.1.el9_6 · Red Hat:rhel_eus:9.6::appstream | Paket deposu (OSV) |
| red hat:kernel-64k-devel | 0:5.14.0-570.77.1.el9_6 · Red Hat:rhel_eus:9.6::appstream | Paket deposu (OSV) |
| red hat:kernel-64k-devel-matched | 0:5.14.0-570.77.1.el9_6 · Red Hat:rhel_eus:9.6::appstream | Paket deposu (OSV) |
| red hat:kernel-debug-debuginfo | 0:5.14.0-570.77.1.el9_6 · Red Hat:rhel_eus:9.6::appstream | Paket deposu (OSV) |
| red hat:kernel-debug-devel | 0:5.14.0-570.77.1.el9_6 · Red Hat:rhel_eus:9.6::appstream | Paket deposu (OSV) |
| red hat:kernel-debug-devel-matched | 0:5.14.0-570.77.1.el9_6 · Red Hat:rhel_eus:9.6::appstream | Paket deposu (OSV) |
| red hat:kernel-debuginfo | 0:5.14.0-570.77.1.el9_6 · Red Hat:rhel_eus:9.6::appstream | Paket deposu (OSV) |
| red hat:kernel-debuginfo-common-aarch64 | 0:5.14.0-570.77.1.el9_6 · Red Hat:rhel_eus:9.6::appstream | Paket deposu (OSV) |
| red hat:kernel-debuginfo-common-ppc64le | 0:5.14.0-570.77.1.el9_6 · Red Hat:rhel_eus:9.6::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)
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.
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/0f7df4899299ce4662e5f95badb9dbc57cc37fa5
- git.kernel.org/stable/c/2e5068b7e0ae0a54f6cfd03a2f80977da657f1ee
- git.kernel.org/stable/c/3257386be6a7eb8a8bfc9cbfb746df4eb4fc70e8
- git.kernel.org/stable/c/547762250220325d350d0917a7231480e0f4142b
- git.kernel.org/stable/c/5bc83bdf5f5b8010d1ca5a4555537e62413ab4e2
- git.kernel.org/stable/c/7a63f4fb0efb4e69efd990cbb740a848679ec4b0
- git.kernel.org/stable/c/9e7c37fadb3be1fc33073fcf10aa96d166caa697
- git.kernel.org/stable/c/c6fefcb71d246baaf3bacdad1af7ff50ebcfe652
- git.kernel.org/stable/c/f1a69a940de58b16e8249dff26f74c8cc59b32be
- lists.debian.org/debian-lts-announce/2025/05/msg00030.html
- lists.debian.org/debian-lts-announce/2025/05/msg00045.html
Üretici bildirimleri ve resmî kayıtlar. İstismar/PoC bağlantıları bilinçli olarak dışarıda bırakıldı.