btrfs: do not strictly require dirty metadata threshold for metadata writepages
In the Linux kernel, the following vulnerability has been resolved: btrfs: do not strictly require dirty metadata threshold for metadata writepages [BUG] There is an internal report that over 1000 processes are waiting at the io_schedule_timeout() of balance_dirty_pages(), causing a system hang and trigger a kernel coredump. The kernel is v6.4 kernel based, but the root problem still applies to any upstream kernel before v6.18. [CAUSE] From Jan Kara for his wisdom on the dirty page balance behavior first. This cgroup dirty limit was what was actually playing the role here because the cgroup had only a small amount of memory and so the dirty limit for it was something like 16MB. Dirty throttling is responsible for enforcing that nobody can dirty (significantly) more dirty memory than there's dirty limit. Thus when a task is dirtying pages it periodically enters into balance_dirty_pages() and we let it sleep there to slow down the dirtying. When the system is over dirty limit already (either globally or within a cgroup of the running task), we will not let the task exit from balance_dirty_pages() until the number of dirty pages drops below the limit. So in this particular case, as I already mentioned, there was a cgroup with relatively small amount of memory and as a result with dirty limit set at 16MB. A task from that cgroup has dirtied about 28MB worth of pages in btrfs btree inode and these were practically the only dirty pages in that cgroup. So that means the only way to reduce the dirty pages of that cgroup is to writeback the dirty pages of btrfs btree inode, and only after that those processes can exit balance_dirty_pages(). Now back to the btrfs part, btree_writepages() is responsible for writing back dirty btree inode pages. The problem here is, there is a btrfs internal threshold that if the btree inode's dirty bytes are below the 32M threshold, it will not do any writeback. This behavior is to batch as much metadata as possible so we won't write back those tree blocks and then later re-COW them again for another modification. This internal 32MiB is higher than the existing dirty page size (28MiB), meaning no writeback will happen, causing a deadlock between btrfs and cgroup: - Btrfs doesn't want to write back btree inode until more dirty pages - Cgroup/MM doesn't want more dirty pages for btrfs btree inode Thus any process touching that btree inode is put into sleep until the number of dirty pages is reduced. Thanks Jan Kara a lot for the analysis of the root cause. [ENHANCEMENT] Since kernel commit b55102826d7d ("btrfs: set AS_KERNEL_FILE on the btree_inode"), btrfs btree inode pages will only be charged to the root cgroup which should have a much larger limit than btrfs' 32MiB threshold. So it should not affect newer kernels. But for all current LTS kernels, they are all affected by this problem, and backporting the whole AS_KERNEL_FILE may not be a good idea. Even for newer kernels I still think it's a good idea to get rid of the internal threshold at btree_writepages(), since for most cases cgroup/MM has a better view of full system memory usage than btrfs' fixed threshold. For internal callers using btrfs_btree_balance_dirty() since that function is already doing internal threshold check, we don't need to bother them. But for external callers of btree_writepages(), just respect their requests and write back whatever they want, ignoring the internal btrfs threshold to avoid such deadlock on btree inode dirty page balancing.
- Yayın
- 14 Şub 2026
- Güncelleme
- 17 Haz 2026
- EPSS
- %0,1 · 2. 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,1
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 kernel2.6.29 ve sonrası · 6.18.9 öncesi
- 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
- 2.6.29etkilenir
- 793955bca66c99defdffc857ae6eb7e8431d6bbe ve sonrası · 6a8b6242eaa1dd7a0de2d6de6420d10ffe68db90 öncesietkilenir · git
- 793955bca66c99defdffc857ae6eb7e8431d6bbe ve sonrası · bb9be3f713652e330df00f3724c18c7a5469e7ac öncesietkilenir · git
- 793955bca66c99defdffc857ae6eb7e8431d6bbe ve sonrası · 4357e02cafabe01c2d737ceb4c4c6382fc2ee10a öncesietkilenir · git
- 793955bca66c99defdffc857ae6eb7e8431d6bbe ve sonrası · 0c3666ec188640c20e254011e7adf4464c32ee58 öncesietkilenir · git
- 793955bca66c99defdffc857ae6eb7e8431d6bbe ve sonrası · 629666d20c7dcd740e193ec0631fdff035b1f7d6 öncesietkilenir · git
- 793955bca66c99defdffc857ae6eb7e8431d6bbe ve sonrası · 4e159150a9a56d66d247f4b5510bed46fe58aa1c öncesietkilenir · git
- 2.6.29 öncesietkilenmez · semver
- 5.15.209 ve sonrası · 5.15.* dahil öncesietkilenmez · semver
- 6.1.167 ve sonrası · 6.1.* 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 |
|---|---|---|---|
| Debian:12 | linux | 6.1.170-1 öncesi | 6.1.170-1 |
| Debian:13 | linux | 6.12.85-1 öncesi | 6.12.85-1 |
| Debian:14 | linux | 6.18.9-1 öncesi | 6.18.9-1 |
| openSUSE:Leap 15.6 | dtb-aarch64 | 6.4.0-150600.23.92.1 öncesi | 6.4.0-150600.23.92.1 |
| openSUSE:Leap 15.6 | kernel-debug | 6.4.0-150600.23.92.1 öncesi | 6.4.0-150600.23.92.1 |
| openSUSE:Leap 15.6 | kernel-kvmsmall | 6.4.0-150600.23.92.1 öncesi | 6.4.0-150600.23.92.1 |
| openSUSE:Leap 15.6 | kernel-obs-qa | 6.4.0-150600.23.92.1 öncesi | 6.4.0-150600.23.92.1 |
| SUSE:Linux Enterprise Live Patching 15 SP6 | kernel-default | 6.4.0-150600.23.92.1 öncesi | 6.4.0-150600.23.92.1 |
| SUSE:Linux Enterprise Live Patching 15 SP6 | kernel-default | 6.4.0-150600.23.92.1 öncesi | 6.4.0-150600.23.92.1 |
| SUSE:Linux Enterprise Live Patching 15 SP6 | kernel-livepatch-SLE15-SP6_Update_21 | 1-150600.13.5.1 öncesi | 1-150600.13.5.1 |
| SUSE:Linux Enterprise Live Patching 15 SP6 | kernel-livepatch-SLE15-SP6_Update_21 | 1-150600.13.5.1 öncesi | 1-150600.13.5.1 |
| SUSE:Linux Enterprise Server 15 SP6-LTSS | kernel-64kb | 6.4.0-150600.23.92.1 öncesi | 6.4.0-150600.23.92.1 |
| SUSE:Linux Enterprise Server 15 SP6-LTSS | kernel-64kb | 6.4.0-150600.23.92.1 öncesi | 6.4.0-150600.23.92.1 |
| SUSE:Linux Enterprise Server 15 SP6-LTSS | kernel-default-base | 6.4.0-150600.23.92.1.150600.12.42.2 öncesi | 6.4.0-150600.23.92.1.150600.12.42.2 |
| SUSE:Linux Enterprise Server 15 SP6-LTSS | kernel-default-base | 6.4.0-150600.23.92.1.150600.12.42.2 öncesi | 6.4.0-150600.23.92.1.150600.12.42.2 |
| SUSE:Linux Enterprise Server 15 SP6-LTSS | kernel-docs | 6.4.0-150600.23.92.1 öncesi | 6.4.0-150600.23.92.1 |
| SUSE:Linux Enterprise Server 15 SP6-LTSS | kernel-docs | 6.4.0-150600.23.92.1 öncesi | 6.4.0-150600.23.92.1 |
| SUSE:Linux Enterprise Server 15 SP6-LTSS | kernel-obs-build | 6.4.0-150600.23.92.1 öncesi | 6.4.0-150600.23.92.1 |
| SUSE:Linux Enterprise Server 15 SP6-LTSS | kernel-obs-build | 6.4.0-150600.23.92.1 öncesi | 6.4.0-150600.23.92.1 |
| SUSE:Linux Enterprise Server 15 SP6-LTSS | kernel-source | 6.4.0-150600.23.92.1 öncesi | 6.4.0-150600.23.92.1 |
| SUSE:Linux Enterprise Server 15 SP6-LTSS | kernel-source | 6.4.0-150600.23.92.1 öncesi | 6.4.0-150600.23.92.1 |
| SUSE:Linux Enterprise Server 15 SP6-LTSS | kernel-syms | 6.4.0-150600.23.92.1 öncesi | 6.4.0-150600.23.92.1 |
| SUSE:Linux Enterprise Server 15 SP6-LTSS | kernel-syms | 6.4.0-150600.23.92.1 öncesi | 6.4.0-150600.23.92.1 |
| SUSE:Linux Enterprise Server 15 SP6-LTSS | kernel-zfcpdump | 6.4.0-150600.23.92.1 öncesi | 6.4.0-150600.23.92.1 |
+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
- 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 | 0c3666ec188640c20e254011e7adf4464c32ee58 | Üretici (CNA) |
| Linux Linux | 4357e02cafabe01c2d737ceb4c4c6382fc2ee10a | Üretici (CNA) |
| Linux Linux | 4e159150a9a56d66d247f4b5510bed46fe58aa1c | Üretici (CNA) |
| Linux Linux | 629666d20c7dcd740e193ec0631fdff035b1f7d6 | Üretici (CNA) |
| Linux Linux | 6a8b6242eaa1dd7a0de2d6de6420d10ffe68db90 | Üretici (CNA) |
| Linux Linux | bb9be3f713652e330df00f3724c18c7a5469e7ac | Üretici (CNA) |
| cbl2 kernel 5.15.202.1-1 on CBL-Mariner 2.0 | Release Notes | Microsoft (MSRC) |
| debian:linux | 6.1.170-1 · Debian:12 | Paket deposu (OSV) |
| opensuse:dtb-aarch64 | 6.4.0-150600.23.92.1 · openSUSE:Leap 15.6 | Paket deposu (OSV) |
| opensuse:kernel-64kb | 6.4.0-150600.23.92.1 · openSUSE:Leap 15.6 | Paket deposu (OSV) |
| opensuse:kernel-debug | 6.4.0-150600.23.92.1 · openSUSE:Leap 15.6 | Paket deposu (OSV) |
| suse:kernel-64kb | 6.4.0-150600.23.92.1 · SUSE:Linux Enterprise Server 15 SP6-LTSS | Paket deposu (OSV) |
| suse:kernel-default | 6.4.0-150600.23.92.1 · SUSE:Linux Enterprise Live Patching 15 SP6 | Paket deposu (OSV) |
| suse:kernel-default-base | 6.4.0-150600.23.92.1.150600.12.42.2 · SUSE:Linux Enterprise Server 15 SP6-LTSS | Paket deposu (OSV) |
| suse:kernel-docs | 6.4.0-150600.23.92.1 · SUSE:Linux Enterprise Server 15 SP6-LTSS | Paket deposu (OSV) |
| suse:kernel-livepatch-SLE15-SP6_Update_21 | 1-150600.13.5.1 · SUSE:Linux Enterprise Live Patching 15 SP6 | Paket deposu (OSV) |
| suse:kernel-obs-build | 6.4.0-150600.23.92.1 · SUSE:Linux Enterprise Server 15 SP6-LTSS | Paket deposu (OSV) |
| suse:kernel-source | 6.4.0-150600.23.92.1 · SUSE:Linux Enterprise Server 15 SP6-LTSS | Paket deposu (OSV) |
| suse:kernel-syms | 6.4.0-150600.23.92.1 · SUSE:Linux Enterprise Server 15 SP6-LTSS | Paket deposu (OSV) |
| suse:kernel-zfcpdump | 6.4.0-150600.23.92.1 · SUSE:Linux Enterprise Server 15 SP6-LTSS | 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/0c3666ec188640c20e254011e7adf4464c32ee58
- git.kernel.org/stable/c/4357e02cafabe01c2d737ceb4c4c6382fc2ee10a
- git.kernel.org/stable/c/4e159150a9a56d66d247f4b5510bed46fe58aa1c
- git.kernel.org/stable/c/629666d20c7dcd740e193ec0631fdff035b1f7d6
- git.kernel.org/stable/c/6a8b6242eaa1dd7a0de2d6de6420d10ffe68db90
- git.kernel.org/stable/c/bb9be3f713652e330df00f3724c18c7a5469e7ac
Üretici bildirimleri ve resmî kayıtlar. İstismar/PoC bağlantıları bilinçli olarak dışarıda bırakıldı.