btrfs: always detect conflicting inodes when logging inode refs
Noroxi değerlendirmesi
Öncelik: İzleyin (aksiyon skoru 22/100)
- İzlediğimiz kaynaklarda (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) herkese açık istismar kodu ya da sahada sömürü kaydı yok.
- Önümüzdeki 30 günde sömürülme olasılığı %0,41 (FIRST EPSS).
- 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.
- CISA'ya göre saldırı otomatikleştirilebilir: toplu taramalarla hedef bulunabilir.
- Düzeltilmiş sürüm: Linux Linux 0c2413c69129f6ce60157f7b53d9ba880260400b, 3.19, 4.2; cbl2 kernel 5.15.202.1-1 on CBL-Mariner 2.0 Release Notes.
- Önem derecesi tartışmalı: kaydı açan kurum (CNA) 9.1, NVD 5.5 puan veriyor.
Şimdilik düşük öncelik. Linux Linux 0c2413c69129f6ce60157f7b53d9ba880260400b, 3.19, 4.2; cbl2 kernel 5.15.202.1-1 on CBL-Mariner 2.0 Release Notes ya da daha yeni sürüme yükseltin.
Kaydın verisinden otomatik üretilir: CVSS (NVD ve CNA), CISA KEV ve SSVC, FIRST EPSS, istismar kaynakları, düzeltme sürümleri. Nasıl hesaplıyoruz
Birincil kaynaklar: NVD · CVE.org · FIRST EPSS
In the Linux kernel, the following vulnerability has been resolved: btrfs: always detect conflicting inodes when logging inode refs After rename exchanging (either with the rename exchange operation or regular renames in multiple non-atomic steps) two inodes and at least one of them is a directory, we can end up with a log tree that contains only of the inodes and after a power failure that can result in an attempt to delete the other inode when it should not because it was not deleted before the power failure. In some case that delete attempt fails when the target inode is a directory that contains a subvolume inside it, since the log replay code is not prepared to deal with directory entries that point to root items (only inode items). 1) We have directories "dir1" (inode A) and "dir2" (inode B) under the same parent directory; 2) We have a file (inode C) under directory "dir1" (inode A); 3) We have a subvolume inside directory "dir2" (inode B); 4) All these inodes were persisted in a past transaction and we are currently at transaction N; 5) We rename the file (inode C), so at btrfs_log_new_name() we update inode C's last_unlink_trans to N; 6) We get a rename exchange for "dir1" (inode A) and "dir2" (inode B), so after the exchange "dir1" is inode B and "dir2" is inode A. During the rename exchange we call btrfs_log_new_name() for inodes A and B, but because they are directories, we don't update their last_unlink_trans to N; 7) An fsync against the file (inode C) is done, and because its inode has a last_unlink_trans with a value of N we log its parent directory (inode A) (through btrfs_log_all_parents(), called from btrfs_log_inode_parent()). 8) So we end up with inode B not logged, which now has the old name of inode A. At copy_inode_items_to_log(), when logging inode A, we did not check if we had any conflicting inode to log because inode A has a generation lower than the current transaction (created in a past transaction); 9) After a power failure, when replaying the log tree, since we find that inode A has a new name that conflicts with the name of inode B in the fs tree, we attempt to delete inode B... this is wrong since that directory was never deleted before the power failure, and because there is a subvolume inside that directory, attempting to delete it will fail since replay_dir_deletes() and btrfs_unlink_inode() are not prepared to deal with dir items that point to roots instead of inodes. When that happens the mount fails and we get a stack trace like the following: [87.2314] BTRFS info (device dm-0): start tree-log replay [87.2318] BTRFS critical (device dm-0): failed to delete reference to subvol, root 5 inode 256 parent 259 [87.2332] ------------[ cut here ]------------ [87.2338] BTRFS: Transaction aborted (error -2) [87.2346] WARNING: CPU: 1 PID: 638968 at fs/btrfs/inode.c:4345 __btrfs_unlink_inode+0x416/0x440 [btrfs] [87.2368] Modules linked in: btrfs loop dm_thin_pool (...) [87.2470] CPU: 1 UID: 0 PID: 638968 Comm: mount Tainted: G W 6.18.0-rc7-btrfs-next-218+ #2 PREEMPT(full) [87.2489] Tainted: [W]=WARN [87.2494] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.2-0-gea1b7a073390-prebuilt.qemu.org 04/01/2014 [87.2514] RIP: 0010:__btrfs_unlink_inode+0x416/0x440 [btrfs] [87.2538] Code: c0 89 04 24 (...) [87.2568] RSP: 0018:ffffc0e741f4b9b8 EFLAGS: 00010286 [87.2574] RAX: 0000000000000000 RBX: ffff9d3ec8a6cf60 RCX: 0000000000000000 [87.2582] RDX: 0000000000000002 RSI: ffffffff84ab45a1 RDI: 00000000ffffffff [87.2591] RBP: ffff9d3ec8a6ef20 R08: 0000000000000000 R09: ffffc0e741f4b840 [87.2599] R10: ffff9d45dc1fffa8 R11: 0000000000000003 R12: ffff9d3ee26d77e0 [87.2608] R13: ffffc0e741f4ba98 R14: ffff9d4458040800 R15: ffff9d44b6b7ca10 [87.2618] FS: 00007f7b9603a840(0000) GS:ffff9d4658982000(0000) knlGS:0000000000000000 [87. ---truncated---
- Yayın
- 31 Oca 2026
- Güncelleme
- 19 Eki 2026
- EPSS
- %0,4 · 33. yüzdelik
- CWE
- CWE-362
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,4
CISA SSVC kararı
- Sömürü
- yok
- Otomatikleştirilebilir
- evet
- Teknik etki
- kısmi
Vulnrichment: CISA'nın karar ağacı girdileri.
CNA ile NVD puanı
- NVD
- 5,5
- CNA · Linux
- 9,1
- 3,6 puan fark
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/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.
Bu kayıt değişirse haber alın
- KEV'de değil: sahada sömürü kaydı yok
- Herkese açık istismar kodu kaydı yok
- Düzeltme yayımlandı
Bunlardan biri değişirse günlük e-posta özetinde haber veririz.
WordPress siteniz mi var? WP Lens ile ücretsiz tarayın
Noroxi analizi
Sizin ortamınızda ne anlama geliyor?
Yukarıdaki değerlendirme kaydın verisinden otomatik üretilir; ortamınızı bilmez. Bu açığın sizde gerçekten sömürülebilir olup olmadığını ve hangi önlemin yeteceğini ekibimiz sizin sistemlerinizde doğrular.
Bu ürünü kullanıyoruz, yardım isteyinEtkilenen sistemler
Sürümünüz etkileniyor mu?
Ürünü seçip kullandığınız sürümü yazın. Bu kaydın sürüm aralıklarıyla tarayıcınızda karşılaştırılır; sürüm hiçbir yere gönderilmez.
| Ü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’inize sürümle eklerseniz eşleşme bunlarla yapılır.
- linux linux kernel3.18.32 ve sonrası · 3.19 öncesi
- linux linux kernel4.1.23 ve sonrası · 4.2 öncesi
- linux linux kernel4.4.8 ve sonrası · 4.5 öncesi
- linux linux kernel4.5.2 ve sonrası · 4.6 öncesi
- linux linux kernel4.6.1 ve sonrası · 6.1.161 öncesi
- linux linux kernel6.2 ve sonrası · 6.6.121 öncesi
- linux linux kernel6.7 ve sonrası · 6.12.66 öncesi
- linux linux kernel6.13 ve sonrası · 6.18.6 öncesi
- linux linux kernel4.6
- linux linux kernel6.19
Ü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
- 048605483fbdd1e77ead32a7cd7b95cc17eaaf0e, 033ad030df0ea932a21499582fea59e1df95769b, 1653a3b0e9436c10eb307c318776cf91fe18ff08, ff440e9185e96cbb94481fc8b6192b944dcfc061, 4.6etkilenir
- 56f23fdbb600e6087db7b009775b95ce07cc3195 ve sonrası · c7f0207db68d5a1b4af23acbef1a8e8ddc431ebb öncesietkilenir · git
- 56f23fdbb600e6087db7b009775b95ce07cc3195 ve sonrası · a63998cd6687c14b160dccb0bbcf281b2eb0dab3 öncesietkilenir · git
- 56f23fdbb600e6087db7b009775b95ce07cc3195 ve sonrası · 0c2413c69129f6ce60157f7b53d9ba880260400b öncesietkilenir · git
- 56f23fdbb600e6087db7b009775b95ce07cc3195 ve sonrası · d52af58dd463821c5c516aebb031a58934f696ea öncesietkilenir · git
- 56f23fdbb600e6087db7b009775b95ce07cc3195 ve sonrası · 7ba0b6461bc4edb3005ea6e00cdae189bcf908a5 öncesietkilenir · git
- 3.18.32 ve sonrası · 3.19 öncesietkilenir · semver
- 4.1.23 ve sonrası · 4.2 öncesietkilenir · semver
- 4.4.8 ve sonrası · 4.5 öncesietkilenir · semver
- 4.5.2 ve sonrası · 4.6 öncesietkilenir · 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 |
|---|---|---|---|
| Debian:12 | linux | 6.1.162-1 öncesi | 6.1.162-1 |
| Debian:13 | linux | 6.12.69-1 öncesi | 6.12.69-1 |
| Debian:14 | linux | 6.18.8-1 öncesi | 6.18.8-1 |
| SUSE:Linux Enterprise Live Patching 15 SP7 | kernel-livepatch-SLE15-SP7_Update_15 | 1-150700.15.3.1 öncesi | 1-150700.15.3.1 |
| SUSE:Linux Enterprise Module for Basesystem 15 SP7 | kernel-64kb | 6.4.0-150700.53.55.1 öncesi | 6.4.0-150700.53.55.1 |
| SUSE:Linux Enterprise Module for Basesystem 15 SP7 | kernel-default | 6.4.0-150700.53.55.1 öncesi | 6.4.0-150700.53.55.1 |
| SUSE:Linux Enterprise Module for Basesystem 15 SP7 | kernel-default-base | 6.4.0-150700.53.55.1.150700.17.33.1 öncesi | 6.4.0-150700.53.55.1.150700.17.33.1 |
| SUSE:Linux Enterprise Module for Basesystem 15 SP7 | kernel-source | 6.4.0-150700.53.55.1 öncesi | 6.4.0-150700.53.55.1 |
| SUSE:Linux Enterprise Module for Basesystem 15 SP7 | kernel-zfcpdump | 6.4.0-150700.53.55.1 öncesi | 6.4.0-150700.53.55.1 |
| SUSE:Linux Enterprise Module for Development Tools 15 SP7 | kernel-docs | 6.4.0-150700.53.55.1 öncesi | 6.4.0-150700.53.55.1 |
| SUSE:Linux Enterprise Module for Development Tools 15 SP7 | kernel-obs-build | 6.4.0-150700.53.55.1 öncesi | 6.4.0-150700.53.55.1 |
| SUSE:Linux Enterprise Module for Development Tools 15 SP7 | kernel-syms | 6.4.0-150700.53.55.1 öncesi | 6.4.0-150700.53.55.1 |
| SUSE:Linux Enterprise Module for Public Cloud 15 SP7 | kernel-azure | 6.4.0-150700.53.55.1 öncesi | 6.4.0-150700.53.55.1 |
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
Bu üründe bundan önce ve sonra yayımlananlar
- ← ÖncekiCVE-2026-2302531 Oca 2026 · mm/page_alloc: prevent pcp corruption with SMP=n31İzleyin
- ← ÖncekiCVE-2025-7118231 Oca 2026 · can: j1939: make j1939_session_activate() fail if device is no longer registered22İzleyin
- Sonraki →CVE-2025-7118531 Oca 2026 · dmaengine: ti: dma-crossbar: fix device leak on am335x route allocation22İzleyin
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 | 0c2413c69129f6ce60157f7b53d9ba880260400b | Üretici (CNA) |
| Linux Linux | 3.19 | Üretici (CNA) |
| Linux Linux | 4.2 | Üretici (CNA) |
| Linux Linux | 4.5 | Üretici (CNA) |
| Linux Linux | 4.6 | Üretici (CNA) |
| Linux Linux | 7ba0b6461bc4edb3005ea6e00cdae189bcf908a5 | Üretici (CNA) |
| Linux Linux | a63998cd6687c14b160dccb0bbcf281b2eb0dab3 | Üretici (CNA) |
| Linux Linux | c7f0207db68d5a1b4af23acbef1a8e8ddc431ebb | Üretici (CNA) |
| Linux Linux | d52af58dd463821c5c516aebb031a58934f696ea | Üretici (CNA) |
| cbl2 kernel 5.15.202.1-1 on CBL-Mariner 2.0 | Release Notes | Microsoft (MSRC) |
| debian:linux | 6.1.162-1 · Debian:12 | Paket deposu (OSV) |
| suse:kernel-64kb | 6.4.0-150700.53.55.1 · SUSE:Linux Enterprise Module for Basesystem 15 SP7 | Paket deposu (OSV) |
| suse:kernel-azure | 6.4.0-150700.53.55.1 · SUSE:Linux Enterprise Module for Public Cloud 15 SP7 | Paket deposu (OSV) |
| suse:kernel-default | 6.4.0-150700.53.55.1 · SUSE:Linux Enterprise Module for Basesystem 15 SP7 | Paket deposu (OSV) |
| suse:kernel-default-base | 6.4.0-150700.53.55.1.150700.17.33.1 · SUSE:Linux Enterprise Module for Basesystem 15 SP7 | Paket deposu (OSV) |
| suse:kernel-docs | 6.4.0-150700.53.55.1 · SUSE:Linux Enterprise Module for Development Tools 15 SP7 | Paket deposu (OSV) |
| suse:kernel-livepatch-SLE15-SP7_Update_15 | 1-150700.15.3.1 · SUSE:Linux Enterprise Live Patching 15 SP7 | Paket deposu (OSV) |
| suse:kernel-obs-build | 6.4.0-150700.53.55.1 · SUSE:Linux Enterprise Module for Development Tools 15 SP7 | Paket deposu (OSV) |
| suse:kernel-source | 6.4.0-150700.53.55.1 · SUSE:Linux Enterprise Module for Basesystem 15 SP7 | Paket deposu (OSV) |
| suse:kernel-syms | 6.4.0-150700.53.55.1 · SUSE:Linux Enterprise Module for Development Tools 15 SP7 | Paket deposu (OSV) |
| suse:kernel-zfcpdump | 6.4.0-150700.53.55.1 · SUSE:Linux Enterprise Module for Basesystem 15 SP7 | 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ıklayın, aynı araştırmacının diğer kayıtlarını görün.
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-362 · Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')CVSS 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ı.
Saldırı desenleri (CAPEC)
ATT&CK teknikleri
—
Değişiklik günlüğü
- SSVC sömürü— → none
- Düzeltme✗ → ✓
Takip ettiğiniz kayıtlarda bu değişiklikler bildirim olarak da gelir. →
Referanslar
Tüm referansları göster (4 daha)Daha az göster
Üretici bildirimleri ve resmî kayıtlar. İstismar/PoC bağlantıları bilinçli olarak dışarıda bırakıldı.