md-raid10: fix KASAN warning
In the Linux kernel, the following vulnerability has been resolved: md-raid10: fix KASAN warning There's a KASAN warning in raid10_remove_disk when running the lvm test lvconvert-raid-reshape.sh. We fix this warning by verifying that the value "number" is valid. BUG: KASAN: slab-out-of-bounds in raid10_remove_disk+0x61/0x2a0 [raid10] Read of size 8 at addr ffff889108f3d300 by task mdX_raid10/124682 CPU: 3 PID: 124682 Comm: mdX_raid10 Not tainted 5.19.0-rc6 #1 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.14.0-2 04/01/2014 Call Trace: <TASK> dump_stack_lvl+0x34/0x44 print_report.cold+0x45/0x57a ? __lock_text_start+0x18/0x18 ? raid10_remove_disk+0x61/0x2a0 [raid10] kasan_report+0xa8/0xe0 ? raid10_remove_disk+0x61/0x2a0 [raid10] raid10_remove_disk+0x61/0x2a0 [raid10] Buffer I/O error on dev dm-76, logical block 15344, async page read ? __mutex_unlock_slowpath.constprop.0+0x1e0/0x1e0 remove_and_add_spares+0x367/0x8a0 [md_mod] ? super_written+0x1c0/0x1c0 [md_mod] ? mutex_trylock+0xac/0x120 ? _raw_spin_lock+0x72/0xc0 ? _raw_spin_lock_bh+0xc0/0xc0 md_check_recovery+0x848/0x960 [md_mod] raid10d+0xcf/0x3360 [raid10] ? sched_clock_cpu+0x185/0x1a0 ? rb_erase+0x4d4/0x620 ? var_wake_function+0xe0/0xe0 ? psi_group_change+0x411/0x500 ? preempt_count_sub+0xf/0xc0 ? _raw_spin_lock_irqsave+0x78/0xc0 ? __lock_text_start+0x18/0x18 ? raid10_sync_request+0x36c0/0x36c0 [raid10] ? preempt_count_sub+0xf/0xc0 ? _raw_spin_unlock_irqrestore+0x19/0x40 ? del_timer_sync+0xa9/0x100 ? try_to_del_timer_sync+0xc0/0xc0 ? _raw_spin_lock_irqsave+0x78/0xc0 ? __lock_text_start+0x18/0x18 ? _raw_spin_unlock_irq+0x11/0x24 ? __list_del_entry_valid+0x68/0xa0 ? finish_wait+0xa3/0x100 md_thread+0x161/0x260 [md_mod] ? unregister_md_personality+0xa0/0xa0 [md_mod] ? _raw_spin_lock_irqsave+0x78/0xc0 ? prepare_to_wait_event+0x2c0/0x2c0 ? unregister_md_personality+0xa0/0xa0 [md_mod] kthread+0x148/0x180 ? kthread_complete_and_exit+0x20/0x20 ret_from_fork+0x1f/0x30 </TASK> Allocated by task 124495: kasan_save_stack+0x1e/0x40 __kasan_kmalloc+0x80/0xa0 setup_conf+0x140/0x5c0 [raid10] raid10_run+0x4cd/0x740 [raid10] md_run+0x6f9/0x1300 [md_mod] raid_ctr+0x2531/0x4ac0 [dm_raid] dm_table_add_target+0x2b0/0x620 [dm_mod] table_load+0x1c8/0x400 [dm_mod] ctl_ioctl+0x29e/0x560 [dm_mod] dm_compat_ctl_ioctl+0x7/0x20 [dm_mod] __do_compat_sys_ioctl+0xfa/0x160 do_syscall_64+0x90/0xc0 entry_SYSCALL_64_after_hwframe+0x46/0xb0 Last potentially related work creation: kasan_save_stack+0x1e/0x40 __kasan_record_aux_stack+0x9e/0xc0 kvfree_call_rcu+0x84/0x480 timerfd_release+0x82/0x140 L __fput+0xfa/0x400 task_work_run+0x80/0xc0 exit_to_user_mode_prepare+0x155/0x160 syscall_exit_to_user_mode+0x12/0x40 do_syscall_64+0x42/0xc0 entry_SYSCALL_64_after_hwframe+0x46/0xb0 Second to last potentially related work creation: kasan_save_stack+0x1e/0x40 __kasan_record_aux_stack+0x9e/0xc0 kvfree_call_rcu+0x84/0x480 timerfd_release+0x82/0x140 __fput+0xfa/0x400 task_work_run+0x80/0xc0 exit_to_user_mode_prepare+0x155/0x160 syscall_exit_to_user_mode+0x12/0x40 do_syscall_64+0x42/0xc0 entry_SYSCALL_64_after_hwframe+0x46/0xb0 The buggy address belongs to the object at ffff889108f3d200 which belongs to the cache kmalloc-256 of size 256 The buggy address is located 0 bytes to the right of 256-byte region [ffff889108f3d200, ffff889108f3d300) The buggy address belongs to the physical page: page:000000007ef2a34c refcount:1 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x1108f3c head:000000007ef2a34c order:2 compound_mapcount:0 compound_pincount:0 flags: 0x4000000000010200(slab|head|zone=2) raw: 4000000000010200 0000000000000000 dead000000000001 ffff889100042b40 raw: 0000000000000000 0000000080200020 00000001ffffffff 0000000000000000 page dumped because: kasan: bad access detected Memory state around the buggy address: ffff889108f3d200: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ffff889108f3d280: 00 00 ---truncated---
- Yayın
- 18 Haz 2025
- Güncelleme
- 17 Haz 2026
- EPSS
- %0,2 · 14. yüzdelik
- CWE
- CWE-125
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
28
İzleyin
Şimdilik düşük öncelik.
- CVSS
- 28 / 40 · 7.1 / 10
- CISA KEV
- 0 / 30 · Listede değil
- EPSS
- 0 / 30 · %0,2
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 kernel4.9.326 öncesi
- linux linux kernel4.10 ve sonrası · 4.14.291 öncesi
- linux linux kernel4.15 ve sonrası · 4.19.256 öncesi
- linux linux kernel4.20 ve sonrası · 5.4.211 öncesi
- linux linux kernel5.5 ve sonrası · 5.10.137 öncesi
- linux linux kernel5.11 ve sonrası · 5.15.61 öncesi
- linux linux kernel5.16 ve sonrası · 5.18.18 öncesi
- linux linux kernel5.19 ve sonrası · 5.19.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
- 3.3etkilenir
- b8321b68d1445f308324517e45fb0a5c2b48e271 ve sonrası · 75fbd370a2cec9e92f48285bd90735ed0c837f52 öncesietkilenir · git
- b8321b68d1445f308324517e45fb0a5c2b48e271 ve sonrası · bcbdc26a44aba488d2f7122f2d66801bccb74733 öncesietkilenir · git
- b8321b68d1445f308324517e45fb0a5c2b48e271 ve sonrası · 7a6ccc8fa192fd357c2d5d4c6ce67c834a179e23 öncesietkilenir · git
- b8321b68d1445f308324517e45fb0a5c2b48e271 ve sonrası · ce839b9331c11780470f3d727b6fe3c2794a4620 öncesietkilenir · git
- b8321b68d1445f308324517e45fb0a5c2b48e271 ve sonrası · 5fd4ffa2372a41361d2bdd27ea5730e4e673240c öncesietkilenir · git
- b8321b68d1445f308324517e45fb0a5c2b48e271 ve sonrası · 0f4d18cbea4a6e37a05fd8ee2887439f85211110 öncesietkilenir · git
- b8321b68d1445f308324517e45fb0a5c2b48e271 ve sonrası · bf30b9ba09b0ac2a10f04dce2b0835ec4d178aa6 öncesietkilenir · git
- b8321b68d1445f308324517e45fb0a5c2b48e271 ve sonrası · 5f57843565131bb782388f9d993f9ee8f453dee1 öncesietkilenir · git
- b8321b68d1445f308324517e45fb0a5c2b48e271 ve sonrası · d17f744e883b2f8d13cca252d71cfe8ace346f7d ö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.0.2-1 öncesi | 6.0.2-1 |
| Red Hat:rhel_aus:8.2::baseos | bpftool | 0:4.18.0-193.168.1.el8_2 öncesi | 0:4.18.0-193.168.1.el8_2 |
| Red Hat:rhel_aus:8.2::baseos | bpftool-debuginfo | 0:4.18.0-193.168.1.el8_2 öncesi | 0:4.18.0-193.168.1.el8_2 |
| Red Hat:rhel_aus:8.2::baseos | kernel | 0:4.18.0-193.168.1.el8_2 öncesi | 0:4.18.0-193.168.1.el8_2 |
| Red Hat:rhel_aus:8.2::baseos | kernel-abi-whitelists | 0:4.18.0-193.168.1.el8_2 öncesi | 0:4.18.0-193.168.1.el8_2 |
| Red Hat:rhel_aus:8.2::baseos | kernel-core | 0:4.18.0-193.168.1.el8_2 öncesi | 0:4.18.0-193.168.1.el8_2 |
| Red Hat:rhel_aus:8.2::baseos | kernel-debug | 0:4.18.0-193.168.1.el8_2 öncesi | 0:4.18.0-193.168.1.el8_2 |
| Red Hat:rhel_aus:8.2::baseos | kernel-debug-core | 0:4.18.0-193.168.1.el8_2 öncesi | 0:4.18.0-193.168.1.el8_2 |
| Red Hat:rhel_aus:8.2::baseos | kernel-debug-debuginfo | 0:4.18.0-193.168.1.el8_2 öncesi | 0:4.18.0-193.168.1.el8_2 |
| Red Hat:rhel_aus:8.2::baseos | kernel-debug-devel | 0:4.18.0-193.168.1.el8_2 öncesi | 0:4.18.0-193.168.1.el8_2 |
| Red Hat:rhel_aus:8.2::baseos | kernel-debug-modules | 0:4.18.0-193.168.1.el8_2 öncesi | 0:4.18.0-193.168.1.el8_2 |
| Red Hat:rhel_aus:8.2::baseos | kernel-debug-modules-extra | 0:4.18.0-193.168.1.el8_2 öncesi | 0:4.18.0-193.168.1.el8_2 |
| Red Hat:rhel_aus:8.2::baseos | kernel-debuginfo | 0:4.18.0-193.168.1.el8_2 öncesi | 0:4.18.0-193.168.1.el8_2 |
| Red Hat:rhel_aus:8.2::baseos | kernel-debuginfo-common-x86_64 | 0:4.18.0-193.168.1.el8_2 öncesi | 0:4.18.0-193.168.1.el8_2 |
| Red Hat:rhel_aus:8.2::baseos | kernel-devel | 0:4.18.0-193.168.1.el8_2 öncesi | 0:4.18.0-193.168.1.el8_2 |
| Red Hat:rhel_aus:8.2::baseos | kernel-modules | 0:4.18.0-193.168.1.el8_2 öncesi | 0:4.18.0-193.168.1.el8_2 |
| Red Hat:rhel_aus:8.2::baseos | kernel-modules-extra | 0:4.18.0-193.168.1.el8_2 öncesi | 0:4.18.0-193.168.1.el8_2 |
| Red Hat:rhel_aus:8.2::baseos | kernel-tools | 0:4.18.0-193.168.1.el8_2 öncesi | 0:4.18.0-193.168.1.el8_2 |
| Red Hat:rhel_aus:8.2::baseos | kernel-tools-debuginfo | 0:4.18.0-193.168.1.el8_2 öncesi | 0:4.18.0-193.168.1.el8_2 |
| Red Hat:rhel_aus:8.2::baseos | kernel-tools-libs | 0:4.18.0-193.168.1.el8_2 öncesi | 0:4.18.0-193.168.1.el8_2 |
| Red Hat:rhel_aus:8.2::baseos | perf | 0:4.18.0-193.168.1.el8_2 öncesi | 0:4.18.0-193.168.1.el8_2 |
| Red Hat:rhel_aus:8.2::baseos | perf-debuginfo | 0:4.18.0-193.168.1.el8_2 öncesi | 0:4.18.0-193.168.1.el8_2 |
| Red Hat:rhel_aus:8.2::baseos | python3-perf | 0:4.18.0-193.168.1.el8_2 öncesi | 0:4.18.0-193.168.1.el8_2 |
| Red Hat:rhel_aus:8.2::baseos | python3-perf-debuginfo | 0:4.18.0-193.168.1.el8_2 öncesi | 0:4.18.0-193.168.1.el8_2 |
+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 | 0f4d18cbea4a6e37a05fd8ee2887439f85211110 | Üretici (CNA) |
| Linux Linux | 5f57843565131bb782388f9d993f9ee8f453dee1 | Üretici (CNA) |
| Linux Linux | 5fd4ffa2372a41361d2bdd27ea5730e4e673240c | Üretici (CNA) |
| Linux Linux | 75fbd370a2cec9e92f48285bd90735ed0c837f52 | Üretici (CNA) |
| Linux Linux | 7a6ccc8fa192fd357c2d5d4c6ce67c834a179e23 | Üretici (CNA) |
| Linux Linux | bcbdc26a44aba488d2f7122f2d66801bccb74733 | Üretici (CNA) |
| Linux Linux | bf30b9ba09b0ac2a10f04dce2b0835ec4d178aa6 | Üretici (CNA) |
| Linux Linux | ce839b9331c11780470f3d727b6fe3c2794a4620 | Üretici (CNA) |
| Linux Linux | d17f744e883b2f8d13cca252d71cfe8ace346f7d | Üretici (CNA) |
| Debian:linux | 6.0.2-1 · Debian:12 | Paket deposu (OSV) |
| Red Hat:bpftool | 0:4.18.0-193.168.1.el8_2 · Red Hat:rhel_aus:8.2::baseos | Paket deposu (OSV) |
| Red Hat:bpftool-debuginfo | 0:4.18.0-193.168.1.el8_2 · Red Hat:rhel_aus:8.2::baseos | Paket deposu (OSV) |
| Red Hat:kernel | 0:4.18.0-193.168.1.el8_2 · Red Hat:rhel_aus:8.2::baseos | Paket deposu (OSV) |
| Red Hat:kernel-abi-whitelists | 0:4.18.0-193.168.1.el8_2 · Red Hat:rhel_aus:8.2::baseos | Paket deposu (OSV) |
| Red Hat:kernel-core | 0:4.18.0-193.168.1.el8_2 · Red Hat:rhel_aus:8.2::baseos | Paket deposu (OSV) |
| Red Hat:kernel-debug | 0:4.18.0-193.168.1.el8_2 · Red Hat:rhel_aus:8.2::baseos | Paket deposu (OSV) |
| Red Hat:kernel-debug-core | 0:4.18.0-193.168.1.el8_2 · Red Hat:rhel_aus:8.2::baseos | Paket deposu (OSV) |
| Red Hat:kernel-debug-debuginfo | 0:4.18.0-193.168.1.el8_2 · Red Hat:rhel_aus:8.2::baseos | Paket deposu (OSV) |
| Red Hat:kernel-debug-devel | 0:4.18.0-193.168.1.el8_2 · Red Hat:rhel_aus:8.2::baseos | Paket deposu (OSV) |
| Red Hat:kernel-debug-modules | 0:4.18.0-193.168.1.el8_2 · Red Hat:rhel_aus:8.2::baseos | Paket deposu (OSV) |
| Red Hat:kernel-debug-modules-extra | 0:4.18.0-193.168.1.el8_2 · Red Hat:rhel_aus:8.2::baseos | Paket deposu (OSV) |
| Red Hat:kernel-debuginfo | 0:4.18.0-193.168.1.el8_2 · Red Hat:rhel_aus:8.2::baseos | Paket deposu (OSV) |
| SUSE:kernel-64kb | 5.3.18-150300.59.215.1 · SUSE:Linux Enterprise Server 15 SP3-LTSS | Paket deposu (OSV) |
| SUSE:kernel-default | 3.0.101-108.189.1 · SUSE:Linux Enterprise Server 11 SP4 LTSS EXTREME CORE | Paket deposu (OSV) |
| SUSE:kernel-default-base | 5.3.18-150300.59.215.1.150300.18.128.1 · SUSE:Linux Enterprise Server 15 SP3-LTSS | Paket deposu (OSV) |
| SUSE:kernel-docs | 3.0.101-108.189.1 · SUSE:Linux Enterprise Server 11 SP4 LTSS EXTREME CORE | Paket deposu (OSV) |
| SUSE:kernel-ec2 | 3.0.101-108.189.1 · SUSE:Linux Enterprise Server 11 SP4 LTSS EXTREME CORE | Paket deposu (OSV) |
| SUSE:kernel-livepatch-SLE15-SP3_Update_60 | 1-150300.7.3.1 · SUSE:Linux Enterprise Live Patching 15 SP3 | Paket deposu (OSV) |
| SUSE:kernel-obs-build | 5.3.18-150300.59.215.1 · SUSE:Linux Enterprise Server 15 SP3-LTSS | Paket deposu (OSV) |
| SUSE:kernel-preempt | 5.3.18-150300.59.215.1 · SUSE:Linux Enterprise Server 15 SP3-LTSS | Paket deposu (OSV) |
+4
İ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
- 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
- Yüksek
- Bütünlük etkisi
- Yok
- Erişilebilirlik etkisi
- Yüksek
Zayıflık sınıfı (CWE)
CWE-125 · Out-of-bounds ReadCVSS vektörü
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/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ı.
Saldırı desenleri (CAPEC)
ATT&CK teknikleri
—
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/0f4d18cbea4a6e37a05fd8ee2887439f85211110
- git.kernel.org/stable/c/5f57843565131bb782388f9d993f9ee8f453dee1
- git.kernel.org/stable/c/5fd4ffa2372a41361d2bdd27ea5730e4e673240c
- git.kernel.org/stable/c/75fbd370a2cec9e92f48285bd90735ed0c837f52
- git.kernel.org/stable/c/7a6ccc8fa192fd357c2d5d4c6ce67c834a179e23
- git.kernel.org/stable/c/bcbdc26a44aba488d2f7122f2d66801bccb74733
- git.kernel.org/stable/c/bf30b9ba09b0ac2a10f04dce2b0835ec4d178aa6
- git.kernel.org/stable/c/ce839b9331c11780470f3d727b6fe3c2794a4620
- git.kernel.org/stable/c/d17f744e883b2f8d13cca252d71cfe8ace346f7d
Üretici bildirimleri ve resmî kayıtlar. İstismar/PoC bağlantıları bilinçli olarak dışarıda bırakıldı.