mlxsw: spectrum_acl_tcam: Fix stack corruption
In the Linux kernel, the following vulnerability has been resolved: mlxsw: spectrum_acl_tcam: Fix stack corruption When tc filters are first added to a net device, the corresponding local port gets bound to an ACL group in the device. The group contains a list of ACLs. In turn, each ACL points to a different TCAM region where the filters are stored. During forwarding, the ACLs are sequentially evaluated until a match is found. One reason to place filters in different regions is when they are added with decreasing priorities and in an alternating order so that two consecutive filters can never fit in the same region because of their key usage. In Spectrum-2 and newer ASICs the firmware started to report that the maximum number of ACLs in a group is more than 16, but the layout of the register that configures ACL groups (PAGT) was not updated to account for that. It is therefore possible to hit stack corruption [1] in the rare case where more than 16 ACLs in a group are required. Fix by limiting the maximum ACL group size to the minimum between what the firmware reports and the maximum ACLs that fit in the PAGT register. Add a test case to make sure the machine does not crash when this condition is hit. [1] Kernel panic - not syncing: stack-protector: Kernel stack is corrupted in: mlxsw_sp_acl_tcam_group_update+0x116/0x120 [...] dump_stack_lvl+0x36/0x50 panic+0x305/0x330 __stack_chk_fail+0x15/0x20 mlxsw_sp_acl_tcam_group_update+0x116/0x120 mlxsw_sp_acl_tcam_group_region_attach+0x69/0x110 mlxsw_sp_acl_tcam_vchunk_get+0x492/0xa20 mlxsw_sp_acl_tcam_ventry_add+0x25/0xe0 mlxsw_sp_acl_rule_add+0x47/0x240 mlxsw_sp_flower_replace+0x1a9/0x1d0 tc_setup_cb_add+0xdc/0x1c0 fl_hw_replace_filter+0x146/0x1f0 fl_change+0xc17/0x1360 tc_new_tfilter+0x472/0xb90 rtnetlink_rcv_msg+0x313/0x3b0 netlink_rcv_skb+0x58/0x100 netlink_unicast+0x244/0x390 netlink_sendmsg+0x1e4/0x440 ____sys_sendmsg+0x164/0x260 ___sys_sendmsg+0x9a/0xe0 __sys_sendmsg+0x7a/0xc0 do_syscall_64+0x40/0xe0 entry_SYSCALL_64_after_hwframe+0x63/0x6b
- Yayın
- 22 Şub 2024
- Güncelleme
- 5 Ağu 2026
- EPSS
- %0,2 · 15. yüzdelik
- CWE
- CWE-787
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
26
İzleyin
Şimdilik düşük öncelik.
- CVSS
- 26 / 40 · 6.7 / 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
- 6,7
- CNA · Linux
- 7,8
- 1,1 puan fark
CVSS:3.1/AV:L/AC:L/PR:L/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 kernel4.19.0 ve sonrası · 5.10.209 öncesi
- linux linux kernel5.11.0 ve sonrası · 5.15.148 öncesi
- linux linux kernel5.16.0 ve sonrası · 6.1.79 öncesi
- linux linux kernel6.2.0 ve sonrası · 6.6.14 öncesi
- linux linux kernel6.7.0 ve sonrası · 6.7.2 öncesi
Ü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
- 4.19etkilenir
- c3ab435466d5109b2c7525a3b90107d4d9e918fc ve sonrası · 56750ea5d15426b5f307554e7699e8b5f76c3182 öncesietkilenir · git
- c3ab435466d5109b2c7525a3b90107d4d9e918fc ve sonrası · 348112522a35527c5bcba933b9fefb40a4f44f15 öncesietkilenir · git
- c3ab435466d5109b2c7525a3b90107d4d9e918fc ve sonrası · 6fd24675188d354b1cad47462969afa2ab09d819 öncesietkilenir · git
- c3ab435466d5109b2c7525a3b90107d4d9e918fc ve sonrası · 2f5e1565740490706332c06f36211d4ce0f88e62 öncesietkilenir · git
- c3ab435466d5109b2c7525a3b90107d4d9e918fc ve sonrası · a361c2c1da5dbb13ca67601cf961ab3ad68af383 öncesietkilenir · git
- c3ab435466d5109b2c7525a3b90107d4d9e918fc ve sonrası · 483ae90d8f976f8339cf81066312e1329f2d3706 öncesietkilenir · git
- 4.19 öncesietkilenmez · semver
- 5.10.209 ve sonrası · 5.10.* dahil öncesietkilenmez · semver
- 5.15.148 ve sonrası · 5.15.* 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 |
|---|---|---|---|
| AlmaLinux:8 | bpftool | 4.18.0-553.16.1.el8_10 öncesi | 4.18.0-553.16.1.el8_10 |
| AlmaLinux:8 | kernel | 4.18.0-553.16.1.el8_10 öncesi | 4.18.0-553.16.1.el8_10 |
| AlmaLinux:8 | kernel-abi-stablelists | 4.18.0-553.16.1.el8_10 öncesi | 4.18.0-553.16.1.el8_10 |
| AlmaLinux:8 | kernel-core | 4.18.0-553.16.1.el8_10 öncesi | 4.18.0-553.16.1.el8_10 |
| AlmaLinux:8 | kernel-cross-headers | 4.18.0-553.16.1.el8_10 öncesi | 4.18.0-553.16.1.el8_10 |
| AlmaLinux:8 | kernel-debug | 4.18.0-553.16.1.el8_10 öncesi | 4.18.0-553.16.1.el8_10 |
| AlmaLinux:8 | kernel-debug-core | 4.18.0-553.16.1.el8_10 öncesi | 4.18.0-553.16.1.el8_10 |
| AlmaLinux:8 | kernel-debug-devel | 4.18.0-553.16.1.el8_10 öncesi | 4.18.0-553.16.1.el8_10 |
| AlmaLinux:8 | kernel-debug-modules | 4.18.0-553.16.1.el8_10 öncesi | 4.18.0-553.16.1.el8_10 |
| AlmaLinux:8 | kernel-debug-modules-extra | 4.18.0-553.16.1.el8_10 öncesi | 4.18.0-553.16.1.el8_10 |
| AlmaLinux:8 | kernel-devel | 4.18.0-553.16.1.el8_10 öncesi | 4.18.0-553.16.1.el8_10 |
| AlmaLinux:8 | kernel-doc | 4.18.0-553.16.1.el8_10 öncesi | 4.18.0-553.16.1.el8_10 |
| AlmaLinux:8 | kernel-headers | 4.18.0-553.16.1.el8_10 öncesi | 4.18.0-553.16.1.el8_10 |
| AlmaLinux:8 | kernel-modules | 4.18.0-553.16.1.el8_10 öncesi | 4.18.0-553.16.1.el8_10 |
| AlmaLinux:8 | kernel-modules-extra | 4.18.0-553.16.1.el8_10 öncesi | 4.18.0-553.16.1.el8_10 |
| AlmaLinux:8 | kernel-tools | 4.18.0-553.16.1.el8_10 öncesi | 4.18.0-553.16.1.el8_10 |
| AlmaLinux:8 | kernel-tools-libs | 4.18.0-553.16.1.el8_10 öncesi | 4.18.0-553.16.1.el8_10 |
| AlmaLinux:8 | kernel-tools-libs-devel | 4.18.0-553.16.1.el8_10 öncesi | 4.18.0-553.16.1.el8_10 |
| AlmaLinux:8 | kernel-zfcpdump | 4.18.0-553.16.1.el8_10 öncesi | 4.18.0-553.16.1.el8_10 |
| AlmaLinux:8 | kernel-zfcpdump-core | 4.18.0-553.16.1.el8_10 öncesi | 4.18.0-553.16.1.el8_10 |
| AlmaLinux:8 | kernel-zfcpdump-devel | 4.18.0-553.16.1.el8_10 öncesi | 4.18.0-553.16.1.el8_10 |
| AlmaLinux:8 | kernel-zfcpdump-modules | 4.18.0-553.16.1.el8_10 öncesi | 4.18.0-553.16.1.el8_10 |
| AlmaLinux:8 | kernel-zfcpdump-modules-extra | 4.18.0-553.16.1.el8_10 öncesi | 4.18.0-553.16.1.el8_10 |
| AlmaLinux:8 | perf | 4.18.0-553.16.1.el8_10 öncesi | 4.18.0-553.16.1.el8_10 |
+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 | 2f5e1565740490706332c06f36211d4ce0f88e62 | Üretici (CNA) |
| Linux Linux | 348112522a35527c5bcba933b9fefb40a4f44f15 | Üretici (CNA) |
| Linux Linux | 483ae90d8f976f8339cf81066312e1329f2d3706 | Üretici (CNA) |
| Linux Linux | 56750ea5d15426b5f307554e7699e8b5f76c3182 | Üretici (CNA) |
| Linux Linux | 6fd24675188d354b1cad47462969afa2ab09d819 | Üretici (CNA) |
| Linux Linux | a361c2c1da5dbb13ca67601cf961ab3ad68af383 | Üretici (CNA) |
| almalinux:bpftool | 4.18.0-553.16.1.el8_10 · AlmaLinux:8 | Paket deposu (OSV) |
| almalinux:kernel | 4.18.0-553.16.1.el8_10 · AlmaLinux:8 | Paket deposu (OSV) |
| almalinux:kernel-abi-stablelists | 4.18.0-553.16.1.el8_10 · AlmaLinux:8 | Paket deposu (OSV) |
| almalinux:kernel-core | 4.18.0-553.16.1.el8_10 · AlmaLinux:8 | Paket deposu (OSV) |
| almalinux:kernel-cross-headers | 4.18.0-553.16.1.el8_10 · AlmaLinux:8 | Paket deposu (OSV) |
| almalinux:kernel-debug | 4.18.0-553.16.1.el8_10 · AlmaLinux:8 | Paket deposu (OSV) |
| almalinux:kernel-debug-core | 4.18.0-553.16.1.el8_10 · AlmaLinux:8 | Paket deposu (OSV) |
| almalinux:kernel-debug-devel | 4.18.0-553.16.1.el8_10 · AlmaLinux:8 | Paket deposu (OSV) |
| almalinux:kernel-debug-modules | 4.18.0-553.16.1.el8_10 · AlmaLinux:8 | Paket deposu (OSV) |
| almalinux:kernel-debug-modules-extra | 4.18.0-553.16.1.el8_10 · AlmaLinux:8 | Paket deposu (OSV) |
| almalinux:kernel-devel | 4.18.0-553.16.1.el8_10 · AlmaLinux:8 | Paket deposu (OSV) |
| almalinux:kernel-doc | 4.18.0-553.16.1.el8_10 · AlmaLinux:8 | Paket deposu (OSV) |
| debian:linux | 6.1.82-1 · Debian:12 | Paket deposu (OSV) |
| red hat:bpftool-debuginfo | 0:7.0.0-284.62.1.el9_2 · Red Hat:rhel_eus:9.2::appstream | Paket deposu (OSV) |
| red hat:kernel-64k-debug-debuginfo | 0:5.14.0-284.62.1.el9_2 · Red Hat:rhel_eus:9.2::appstream | Paket deposu (OSV) |
| red hat:kernel-64k-debug-devel | 0:5.14.0-284.62.1.el9_2 · Red Hat:rhel_eus:9.2::appstream | Paket deposu (OSV) |
| red hat:kernel-64k-debug-devel-matched | 0:5.14.0-284.62.1.el9_2 · Red Hat:rhel_eus:9.2::appstream | Paket deposu (OSV) |
| red hat:kernel-64k-debuginfo | 0:5.14.0-284.62.1.el9_2 · Red Hat:rhel_eus:9.2::appstream | Paket deposu (OSV) |
| red hat:kernel-64k-devel | 0:5.14.0-284.62.1.el9_2 · Red Hat:rhel_eus:9.2::appstream | Paket deposu (OSV) |
| red hat:kernel-64k-devel-matched | 0:5.14.0-284.62.1.el9_2 · Red Hat:rhel_eus:9.2::appstream | Paket deposu (OSV) |
| red hat:kernel-debug-debuginfo | 0:5.14.0-284.62.1.el9_2 · Red Hat:rhel_eus:9.2::appstream | Paket deposu (OSV) |
| red hat:kernel-debug-devel | 0:5.14.0-284.62.1.el9_2 · Red Hat:rhel_eus:9.2::appstream | Paket deposu (OSV) |
| red hat:kernel-debug-devel-matched | 0:5.14.0-284.62.1.el9_2 · Red Hat:rhel_eus:9.2::appstream | Paket deposu (OSV) |
| red hat:kernel-debuginfo | 0:5.14.0-284.62.1.el9_2 · Red Hat:rhel_eus:9.2::appstream | Paket deposu (OSV) |
+1
İ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-0126 · 23 Şub 2024(Linux Kernel Güncellemesi)
Teknik detay
Saldırı koşulları
- Sisteme yerel erişimi olan biri tetikleyebilir.
- Yönetici yetkisi gerekir.
- 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
- Yüksek
- 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-787 · Out-of-bounds WriteCVSS vektörü
CVSS:3.1/AV:L/AC:L/PR:H/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/2f5e1565740490706332c06f36211d4ce0f88e62
- git.kernel.org/stable/c/348112522a35527c5bcba933b9fefb40a4f44f15
- git.kernel.org/stable/c/483ae90d8f976f8339cf81066312e1329f2d3706
- git.kernel.org/stable/c/56750ea5d15426b5f307554e7699e8b5f76c3182
- git.kernel.org/stable/c/6fd24675188d354b1cad47462969afa2ab09d819
- git.kernel.org/stable/c/a361c2c1da5dbb13ca67601cf961ab3ad68af383
- lists.debian.org/debian-lts-announce/2024/06/msg00016.html
Üretici bildirimleri ve resmî kayıtlar. İstismar/PoC bağlantıları bilinçli olarak dışarıda bırakıldı.