md: fix resync softlockup when bitmap size is less than array size
In the Linux kernel, the following vulnerability has been resolved: md: fix resync softlockup when bitmap size is less than array size Is is reported that for dm-raid10, lvextend + lvchange --syncaction will trigger following softlockup: kernel:watchdog: BUG: soft lockup - CPU#3 stuck for 26s! [mdX_resync:6976] CPU: 7 PID: 3588 Comm: mdX_resync Kdump: loaded Not tainted 6.9.0-rc4-next-20240419 #1 RIP: 0010:_raw_spin_unlock_irq+0x13/0x30 Call Trace: <TASK> md_bitmap_start_sync+0x6b/0xf0 raid10_sync_request+0x25c/0x1b40 [raid10] md_do_sync+0x64b/0x1020 md_thread+0xa7/0x170 kthread+0xcf/0x100 ret_from_fork+0x30/0x50 ret_from_fork_asm+0x1a/0x30 And the detailed process is as follows: md_do_sync j = mddev->resync_min while (j < max_sectors) sectors = raid10_sync_request(mddev, j, &skipped) if (!md_bitmap_start_sync(..., &sync_blocks)) // md_bitmap_start_sync set sync_blocks to 0 return sync_blocks + sectors_skippe; // sectors = 0; j += sectors; // j never change Root cause is that commit 301867b1c168 ("md/raid10: check slab-out-of-bounds in md_bitmap_get_counter") return early from md_bitmap_get_counter(), without setting returned blocks. Fix this problem by always set returned blocks from md_bitmap_get_counter"(), as it used to be. Noted that this patch just fix the softlockup problem in kernel, the case that bitmap size doesn't match array size still need to be fixed.
- Yayın
- 19 Haz 2024
- Güncelleme
- 17 Haz 2026
- EPSS
- %0,2 · 9. yüzdelik
- CWE
- CWE-667
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.
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.291 ve sonrası · 4.19.316 öncesi
- linux linux kernel5.4.251 ve sonrası · 5.4.278 öncesi
- linux linux kernel5.10.188 ve sonrası · 5.10.219 öncesi
- linux linux kernel5.15.121 ve sonrası · 5.15.161 öncesi
- linux linux kernel6.1.39 ve sonrası · 6.1.93 öncesi
- linux linux kernel6.5 ve sonrası · 6.6.33 öncesi
- linux linux kernel6.7 ve sonrası · 6.8.12 öncesi
- linux linux kernel6.9 ve sonrası · 6.9.3 ö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
- 152bb26796ff054af50b2ee1b3ca56e364e4f61b, bea301c046110bf421a3ce153fb868cb8d618e90, 6.5etkilenir
- 374fb914304d9b500721007f3837ea8f1f9a2418 ve sonrası · d4b9c764d48fa41caa24cfb4275f3aa9fb4bd798 öncesietkilenir · git
- b0b971fe7d61411ede63c3291764dbde1577ef2c ve sonrası · 43771597feba89a839c5f893716df88ae5c237ce öncesietkilenir · git
- 39fa14e824acfd470db4f42c354297456bd82b53 ve sonrası · 3f5b73ef8fd6268cbc968b308d8eafe56fda97f3 öncesietkilenir · git
- a134dd582c0d5b6068efa308bd485cf1d00b3f65 ve sonrası · 69296914bfd508c85935bf5f711cad9b0fe78492 öncesietkilenir · git
- be1a3ec63a840cc9e59a033acf154f56255699a1 ve sonrası · 71e8e4f288e74a896b6d9cd194f3bab12bd7a10f öncesietkilenir · git
- 301867b1c16805aebbc306aafa6ecdc68b73c7e5 ve sonrası · c9566b812c8f66160466cc1e29df6d3646add0b1 öncesietkilenir · git
- 301867b1c16805aebbc306aafa6ecdc68b73c7e5 ve sonrası · 5817f43ae1a118855676f57ef7ab50e37eac7482 öncesietkilenir · git
- 301867b1c16805aebbc306aafa6ecdc68b73c7e5 ve sonrası · 8bbc71315e0ae4bb7e37f8d43b915e1cb01a481b öncesietkilenir · git
- 301867b1c16805aebbc306aafa6ecdc68b73c7e5 ve sonrası · f0e729af2eb6bee9eb58c4df1087f14ebaefe26b ö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.94-1 öncesi | 6.1.94-1 |
| Debian:13 | linux | 6.8.12-1 öncesi | 6.8.12-1 |
| Red Hat:rhel_eus:9.4::appstream | bpftool-debuginfo | 0:7.3.0-427.50.1.el9_4 öncesi | 0:7.3.0-427.50.1.el9_4 |
| Red Hat:rhel_eus:9.4::appstream | kernel-64k-debug-debuginfo | 0:5.14.0-427.50.1.el9_4 öncesi | 0:5.14.0-427.50.1.el9_4 |
| Red Hat:rhel_eus:9.4::appstream | kernel-64k-debug-devel | 0:5.14.0-427.50.1.el9_4 öncesi | 0:5.14.0-427.50.1.el9_4 |
| Red Hat:rhel_eus:9.4::appstream | kernel-64k-debug-devel-matched | 0:5.14.0-427.50.1.el9_4 öncesi | 0:5.14.0-427.50.1.el9_4 |
| Red Hat:rhel_eus:9.4::appstream | kernel-64k-debuginfo | 0:5.14.0-427.50.1.el9_4 öncesi | 0:5.14.0-427.50.1.el9_4 |
| Red Hat:rhel_eus:9.4::appstream | kernel-64k-devel | 0:5.14.0-427.50.1.el9_4 öncesi | 0:5.14.0-427.50.1.el9_4 |
| Red Hat:rhel_eus:9.4::appstream | kernel-64k-devel-matched | 0:5.14.0-427.50.1.el9_4 öncesi | 0:5.14.0-427.50.1.el9_4 |
| Red Hat:rhel_eus:9.4::appstream | kernel-debug-debuginfo | 0:5.14.0-427.50.1.el9_4 öncesi | 0:5.14.0-427.50.1.el9_4 |
| Red Hat:rhel_eus:9.4::appstream | kernel-debug-devel | 0:5.14.0-427.50.1.el9_4 öncesi | 0:5.14.0-427.50.1.el9_4 |
| Red Hat:rhel_eus:9.4::appstream | kernel-debug-devel-matched | 0:5.14.0-427.50.1.el9_4 öncesi | 0:5.14.0-427.50.1.el9_4 |
| Red Hat:rhel_eus:9.4::appstream | kernel-debuginfo | 0:5.14.0-427.50.1.el9_4 öncesi | 0:5.14.0-427.50.1.el9_4 |
| Red Hat:rhel_eus:9.4::appstream | kernel-debuginfo-common-aarch64 | 0:5.14.0-427.50.1.el9_4 öncesi | 0:5.14.0-427.50.1.el9_4 |
| Red Hat:rhel_eus:9.4::appstream | kernel-debuginfo-common-ppc64le | 0:5.14.0-427.50.1.el9_4 öncesi | 0:5.14.0-427.50.1.el9_4 |
| Red Hat:rhel_eus:9.4::appstream | kernel-debuginfo-common-s390x | 0:5.14.0-427.50.1.el9_4 öncesi | 0:5.14.0-427.50.1.el9_4 |
| Red Hat:rhel_eus:9.4::appstream | kernel-debuginfo-common-x86_64 | 0:5.14.0-427.50.1.el9_4 öncesi | 0:5.14.0-427.50.1.el9_4 |
| Red Hat:rhel_eus:9.4::appstream | kernel-devel | 0:5.14.0-427.50.1.el9_4 öncesi | 0:5.14.0-427.50.1.el9_4 |
| Red Hat:rhel_eus:9.4::appstream | kernel-devel-matched | 0:5.14.0-427.50.1.el9_4 öncesi | 0:5.14.0-427.50.1.el9_4 |
| Red Hat:rhel_eus:9.4::appstream | kernel-doc | 0:5.14.0-427.50.1.el9_4 öncesi | 0:5.14.0-427.50.1.el9_4 |
| Red Hat:rhel_eus:9.4::appstream | kernel-rt-debug-debuginfo | 0:5.14.0-427.50.1.el9_4 öncesi | 0:5.14.0-427.50.1.el9_4 |
| Red Hat:rhel_eus:9.4::appstream | kernel-rt-debuginfo | 0:5.14.0-427.50.1.el9_4 öncesi | 0:5.14.0-427.50.1.el9_4 |
| Red Hat:rhel_eus:9.4::appstream | kernel-tools-debuginfo | 0:5.14.0-427.50.1.el9_4 öncesi | 0:5.14.0-427.50.1.el9_4 |
| Red Hat:rhel_eus:9.4::appstream | kernel-zfcpdump-debuginfo | 0:5.14.0-427.50.1.el9_4 öncesi | 0:5.14.0-427.50.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 | 3f5b73ef8fd6268cbc968b308d8eafe56fda97f3 | Üretici (CNA) |
| Linux Linux | 4.19.316 | Üretici (CNA) |
| Linux Linux | 43771597feba89a839c5f893716df88ae5c237ce | Üretici (CNA) |
| Linux Linux | 5.10.219 | Üretici (CNA) |
| Linux Linux | 5.15.161 | Üretici (CNA) |
| Linux Linux | 5.4.278 | Üretici (CNA) |
| Linux Linux | 5817f43ae1a118855676f57ef7ab50e37eac7482 | Üretici (CNA) |
| Linux Linux | 6.1.93 | Üretici (CNA) |
| Linux Linux | 6.4 | Üretici (CNA) |
| Linux Linux | 6.5 | Üretici (CNA) |
| Linux Linux | 69296914bfd508c85935bf5f711cad9b0fe78492 | Üretici (CNA) |
| Linux Linux | 71e8e4f288e74a896b6d9cd194f3bab12bd7a10f | Üretici (CNA) |
| Linux Linux | 8bbc71315e0ae4bb7e37f8d43b915e1cb01a481b | Üretici (CNA) |
| Linux Linux | c9566b812c8f66160466cc1e29df6d3646add0b1 | Üretici (CNA) |
| Linux Linux | d4b9c764d48fa41caa24cfb4275f3aa9fb4bd798 | Üretici (CNA) |
| Linux Linux | f0e729af2eb6bee9eb58c4df1087f14ebaefe26b | Üretici (CNA) |
| debian:linux | 6.1.94-1 · Debian:12 | Paket deposu (OSV) |
| red hat:bpftool-debuginfo | 0:7.3.0-427.50.1.el9_4 · Red Hat:rhel_eus:9.4::appstream | Paket deposu (OSV) |
| red hat:kernel-64k-debug-debuginfo | 0:5.14.0-427.50.1.el9_4 · Red Hat:rhel_eus:9.4::appstream | Paket deposu (OSV) |
| red hat:kernel-64k-debug-devel | 0:5.14.0-427.50.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.50.1.el9_4 · Red Hat:rhel_eus:9.4::appstream | Paket deposu (OSV) |
| red hat:kernel-64k-debuginfo | 0:5.14.0-427.50.1.el9_4 · Red Hat:rhel_eus:9.4::appstream | Paket deposu (OSV) |
| red hat:kernel-64k-devel | 0:5.14.0-427.50.1.el9_4 · Red Hat:rhel_eus:9.4::appstream | Paket deposu (OSV) |
| red hat:kernel-64k-devel-matched | 0:5.14.0-427.50.1.el9_4 · Red Hat:rhel_eus:9.4::appstream | Paket deposu (OSV) |
| red hat:kernel-debug-debuginfo | 0:5.14.0-427.50.1.el9_4 · Red Hat:rhel_eus:9.4::appstream | Paket deposu (OSV) |
| red hat:kernel-debug-devel | 0:5.14.0-427.50.1.el9_4 · Red Hat:rhel_eus:9.4::appstream | Paket deposu (OSV) |
| red hat:kernel-debug-devel-matched | 0:5.14.0-427.50.1.el9_4 · Red Hat:rhel_eus:9.4::appstream | Paket deposu (OSV) |
| red hat:kernel-debuginfo | 0:5.14.0-427.50.1.el9_4 · Red Hat:rhel_eus:9.4::appstream | Paket deposu (OSV) |
| red hat:kernel-debuginfo-common-aarch64 | 0:5.14.0-427.50.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-667 · Improper LockingCVSS 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ı.
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/3f5b73ef8fd6268cbc968b308d8eafe56fda97f3
- git.kernel.org/stable/c/43771597feba89a839c5f893716df88ae5c237ce
- git.kernel.org/stable/c/5817f43ae1a118855676f57ef7ab50e37eac7482
- git.kernel.org/stable/c/69296914bfd508c85935bf5f711cad9b0fe78492
- git.kernel.org/stable/c/71e8e4f288e74a896b6d9cd194f3bab12bd7a10f
- git.kernel.org/stable/c/8bbc71315e0ae4bb7e37f8d43b915e1cb01a481b
- git.kernel.org/stable/c/c9566b812c8f66160466cc1e29df6d3646add0b1
- git.kernel.org/stable/c/d4b9c764d48fa41caa24cfb4275f3aa9fb4bd798
- git.kernel.org/stable/c/f0e729af2eb6bee9eb58c4df1087f14ebaefe26b
- lists.debian.org/debian-lts-announce/2024/06/msg00020.html
- cert-portal.siemens.com/productcert/html/ssa-265688.html
- cert-portal.siemens.com/productcert/html/ssa-398330.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ı.