ethtool: do not perform operations on net devices being unregistered
In the Linux kernel, the following vulnerability has been resolved: ethtool: do not perform operations on net devices being unregistered There is a short period between a net device starts to be unregistered and when it is actually gone. In that time frame ethtool operations could still be performed, which might end up in unwanted or undefined behaviours[1]. Do not allow ethtool operations after a net device starts its unregistration. This patch targets the netlink part as the ioctl one isn't affected: the reference to the net device is taken and the operation is executed within an rtnl lock section and the net device won't be found after unregister. [1] For example adding Tx queues after unregister ends up in NULL pointer exceptions and UaFs, such as: BUG: KASAN: use-after-free in kobject_get+0x14/0x90 Read of size 1 at addr ffff88801961248c by task ethtool/755 CPU: 0 PID: 755 Comm: ethtool Not tainted 5.15.0-rc6+ #778 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.14.0-4.fc34 04/014 Call Trace: dump_stack_lvl+0x57/0x72 print_address_description.constprop.0+0x1f/0x140 kasan_report.cold+0x7f/0x11b kobject_get+0x14/0x90 kobject_add_internal+0x3d1/0x450 kobject_init_and_add+0xba/0xf0 netdev_queue_update_kobjects+0xcf/0x200 netif_set_real_num_tx_queues+0xb4/0x310 veth_set_channels+0x1c3/0x550 ethnl_set_channels+0x524/0x610
- BDU:2024-10573
- RHSA-2022:7683
- RHSA-2022:8267
- SUSE-SU-2024:3190-1
- SUSE-SU-2024:3209-1
- SUSE-SU-2024:3483-1
- SUSE-SU-2024:4120-1
- SUSE-SU-2024:4122-1
- SUSE-SU-2024:4123-1
- SUSE-SU-2024:4124-1
- SUSE-SU-2024:4125-1
- SUSE-SU-2024:4127-1
- SUSE-SU-2024:4128-1
- SUSE-SU-2024:4141-1
- SUSE-SU-2024:4160-1
- SUSE-SU-2024:4206-1
- SUSE-SU-2024:4207-1
- SUSE-SU-2024:4214-1
- SUSE-SU-2024:4216-1
- SUSE-SU-2024:4218-1
- Yayın
- 24 May 2024
- Güncelleme
- 5 Ağu 2026
- EPSS
- %0,2 · 14. 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
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
- 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.6 ve sonrası · 5.10.87 öncesi
- linux linux kernel5.11 ve sonrası · 5.15.8 ö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
- 5.6etkilenir
- 041b1c5d4a53e97fc9e029ae32469552ca12cb9b ve sonrası · 7c26da3be1e9843a15b5318f90db8a564479d2ac öncesietkilenir · git
- 041b1c5d4a53e97fc9e029ae32469552ca12cb9b ve sonrası · cfd719f04267108f5f5bf802b9d7de69e99a99f9 öncesietkilenir · git
- 041b1c5d4a53e97fc9e029ae32469552ca12cb9b ve sonrası · dde91ccfa25fd58f64c397d91b81a4b393100ffa öncesietkilenir · git
- 5.6 öncesietkilenmez · semver
- 5.10.87 ve sonrası · 5.10.* dahil öncesietkilenmez · semver
- 5.15.8 ve sonrası · 5.15.* dahil öncesietkilenmez · semver
- 5.16 ve sonrasıetkilenmez · original_commit_for_fix
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.80.1 öncesi | 5.14.21-150500.55.80.1 |
| openSUSE:Leap 15.5 | kernel-debug | 5.14.21-150500.55.80.2 öncesi | 5.14.21-150500.55.80.2 |
| openSUSE:Leap 15.5 | kernel-kvmsmall | 5.14.21-150500.55.80.2 öncesi | 5.14.21-150500.55.80.2 |
| openSUSE:Leap 15.5 | kernel-obs-qa | 5.14.21-150500.55.80.1 öncesi | 5.14.21-150500.55.80.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 | 7c26da3be1e9843a15b5318f90db8a564479d2ac | Üretici (CNA) |
| Linux Linux | cfd719f04267108f5f5bf802b9d7de69e99a99f9 | Üretici (CNA) |
| Linux Linux | dde91ccfa25fd58f64c397d91b81a4b393100ffa | Üretici (CNA) |
| debian:linux | 5.15.15-1 · Debian:12 | Paket deposu (OSV) |
| opensuse:kernel-azure | 5.14.21-150500.33.66.1 · openSUSE:Leap 15.5 | Paket deposu (OSV) |
| opensuse:kernel-rt | 5.14.21-150500.13.67.3 · openSUSE:Leap Micro 5.5 | Paket deposu (OSV) |
| opensuse:kernel-source-azure | 5.14.21-150500.33.66.1 · openSUSE:Leap 15.5 | Paket deposu (OSV) |
| opensuse:kernel-syms-azure | 5.14.21-150500.33.66.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-azure | 5.14.21-150500.33.66.1 · SUSE:Linux Enterprise Module for Public Cloud 15 SP5 | Paket deposu (OSV) |
| suse:kernel-livepatch-SLE15-SP5-RT_Update_19 | 1-150500.11.3.2 · SUSE:Linux Enterprise Live Patching 15 SP5 | Paket deposu (OSV) |
| suse:kernel-rt | 5.14.21-150500.13.67.3 · SUSE:Linux Enterprise Micro 5.5 | Paket deposu (OSV) |
| suse:kernel-rt_debug | 5.14.21-150500.13.67.3 · SUSE:Real Time Module 15 SP5 | Paket deposu (OSV) |
| suse:kernel-source-azure | 5.14.21-150500.33.66.1 · SUSE:Linux Enterprise Module for Public Cloud 15 SP5 | Paket deposu (OSV) |
| suse:kernel-source-rt | 5.14.21-150500.13.67.3 · SUSE:Linux Enterprise Micro 5.5 | Paket deposu (OSV) |
| suse:kernel-syms-azure | 5.14.21-150500.33.66.1 · SUSE:Linux Enterprise Module for Public Cloud 15 SP5 | Paket deposu (OSV) |
| suse:kernel-syms-rt | 5.14.21-150500.13.67.1 · SUSE:Real Time Module 15 SP5 | 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).
Ulusal bildirim (Siber Güvenlik Başkanlığı / USOM)
Bu kaydı anan resmi güvenlik bildirimleri; çözüm önerisi kurumun sayfasında.
- TR-24-0551 · 27 May 2024(Linux Kernel Güncellemesi)
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. →
Referanslar
- git.kernel.org/stable/c/7c26da3be1e9843a15b5318f90db8a564479d2ac
- git.kernel.org/stable/c/cfd719f04267108f5f5bf802b9d7de69e99a99f9
- git.kernel.org/stable/c/dde91ccfa25fd58f64c397d91b81a4b393100ffa
Üretici bildirimleri ve resmî kayıtlar. İstismar/PoC bağlantıları bilinçli olarak dışarıda bırakıldı.