Перейти к содержимому
Noroxi
CVE-2026-23157· NVD / CVE Program· CNA Linux

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.

СредняяCVSS 5.5 · v3.1—Эксплойта нет Есть исправление
Опубликовано
14 февр. 2026 г.
Обновлено
17 июн. 2026 г.
EPSS
0,1 % · 2-й процентиль
Следить за этой CVE

Войдите, чтобы следить · Вы получите уведомление, если запись попадёт в KEV, получит эксплойт или обновится.

Инструменты для отчёта

JSON

Оценка срочности

22

Наблюдать

Пока низкий приоритет.

CVSS
22 / 40 · 5.5 / 10
CISA KEV
0 / 30 · Нет в списке
EPSS
0 / 30 · 0,1 %

Анализ Noroxi

Анализа Noroxi для этой записи пока нет

Мы не пишем анализ вручную для сотен тысяч уязвимостей в базе; это было бы нечестно. Для значимых уязвимостей с реальным влиянием наша команда описывает механизм, обнаружение и устранение.

Мы используем этот продукт, нужна помощь

Затронутые системы

ВендорПродукт
linuxlinux kernel

Затронутые версии

Диапазоны версий NVD (для продуктов из каталога). Добавьте продукт в стек с версией, и сопоставление будет по ним.

  • linux linux kernel2.6.29 и новее · до 6.18.9
  • linux linux kernel6.19

Версии, заявленные вендором

Диапазоны затронутых версий, заявленные назначающей организацией (Linux). Не зависят от анализа CPE в NVD и обычно опережают его.

  • Linux Linux

    • 2.6.29затронута
    • 793955bca66c99defdffc857ae6eb7e8431d6bbe и новее · до 6a8b6242eaa1dd7a0de2d6de6420d10ffe68db90затронута · git
    • 793955bca66c99defdffc857ae6eb7e8431d6bbe и новее · до bb9be3f713652e330df00f3724c18c7a5469e7acзатронута · git
    • 793955bca66c99defdffc857ae6eb7e8431d6bbe и новее · до 4357e02cafabe01c2d737ceb4c4c6382fc2ee10aзатронута · git
    • 793955bca66c99defdffc857ae6eb7e8431d6bbe и новее · до 0c3666ec188640c20e254011e7adf4464c32ee58затронута · git
    • 793955bca66c99defdffc857ae6eb7e8431d6bbe и новее · до 629666d20c7dcd740e193ec0631fdff035b1f7d6затронута · git
    • 793955bca66c99defdffc857ae6eb7e8431d6bbe и новее · до 4e159150a9a56d66d247f4b5510bed46fe58aa1cзатронута · git
    • до 2.6.29не затронута · semver
    • 5.15.209 и новее · до 5.15.* включительноне затронута · semver
    • 6.1.167 и новее · до 6.1.* включительноне затронута · semver

Затронутые пакеты

Данные OSV и GitHub Advisory: экосистема, пакет и диапазон. Сопоставление SBOM использует эту таблицу.

ЭкосистемаПакетЗатронутый диапазонИсправление
Debian:12linuxдо 6.1.170-16.1.170-1
Debian:13linuxдо 6.12.85-16.12.85-1
Debian:14linuxдо 6.18.9-16.18.9-1
openSUSE:Leap 15.6dtb-aarch64до 6.4.0-150600.23.92.16.4.0-150600.23.92.1
openSUSE:Leap 15.6kernel-debugдо 6.4.0-150600.23.92.16.4.0-150600.23.92.1
openSUSE:Leap 15.6kernel-kvmsmallдо 6.4.0-150600.23.92.16.4.0-150600.23.92.1
openSUSE:Leap 15.6kernel-obs-qaдо 6.4.0-150600.23.92.16.4.0-150600.23.92.1
SUSE:Linux Enterprise Live Patching 15 SP6kernel-defaultдо 6.4.0-150600.23.92.16.4.0-150600.23.92.1
SUSE:Linux Enterprise Live Patching 15 SP6kernel-defaultдо 6.4.0-150600.23.92.16.4.0-150600.23.92.1
SUSE:Linux Enterprise Live Patching 15 SP6kernel-livepatch-SLE15-SP6_Update_21до 1-150600.13.5.11-150600.13.5.1
SUSE:Linux Enterprise Live Patching 15 SP6kernel-livepatch-SLE15-SP6_Update_21до 1-150600.13.5.11-150600.13.5.1
SUSE:Linux Enterprise Server 15 SP6-LTSSkernel-64kbдо 6.4.0-150600.23.92.16.4.0-150600.23.92.1
SUSE:Linux Enterprise Server 15 SP6-LTSSkernel-64kbдо 6.4.0-150600.23.92.16.4.0-150600.23.92.1
SUSE:Linux Enterprise Server 15 SP6-LTSSkernel-default-baseдо 6.4.0-150600.23.92.1.150600.12.42.26.4.0-150600.23.92.1.150600.12.42.2
SUSE:Linux Enterprise Server 15 SP6-LTSSkernel-default-baseдо 6.4.0-150600.23.92.1.150600.12.42.26.4.0-150600.23.92.1.150600.12.42.2
SUSE:Linux Enterprise Server 15 SP6-LTSSkernel-docsдо 6.4.0-150600.23.92.16.4.0-150600.23.92.1
SUSE:Linux Enterprise Server 15 SP6-LTSSkernel-docsдо 6.4.0-150600.23.92.16.4.0-150600.23.92.1
SUSE:Linux Enterprise Server 15 SP6-LTSSkernel-obs-buildдо 6.4.0-150600.23.92.16.4.0-150600.23.92.1
SUSE:Linux Enterprise Server 15 SP6-LTSSkernel-obs-buildдо 6.4.0-150600.23.92.16.4.0-150600.23.92.1
SUSE:Linux Enterprise Server 15 SP6-LTSSkernel-sourceдо 6.4.0-150600.23.92.16.4.0-150600.23.92.1
SUSE:Linux Enterprise Server 15 SP6-LTSSkernel-sourceдо 6.4.0-150600.23.92.16.4.0-150600.23.92.1
SUSE:Linux Enterprise Server 15 SP6-LTSSkernel-symsдо 6.4.0-150600.23.92.16.4.0-150600.23.92.1
SUSE:Linux Enterprise Server 15 SP6-LTSSkernel-symsдо 6.4.0-150600.23.92.16.4.0-150600.23.92.1
SUSE:Linux Enterprise Server 15 SP6-LTSSkernel-zfcpdumpдо 6.4.0-150600.23.92.16.4.0-150600.23.92.1

+1

Тот же продукт

linux: все записи

Другие записи с наивысшей оценкой для того же основного продукта.

  • 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 KEV
    89Срочно
  • CVE-2021-22555Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACEKEV
    85Срочно
  • 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 haKEV
    83Срочно
  • 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 creKEV
    77На этой неделе
  • 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 addKEV
    77На этой неделе
  • 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 loKEV
    77На этой неделе

Исправление

На какую версию обновиться

Версии с исправлением по данным вендора, реестров пакетов и Microsoft. Перед обновлением сверьтесь с бюллетенем вендора.

Продукт / пакетИсправленная версияИсточник
Linux Linux0c3666ec188640c20e254011e7adf4464c32ee58Вендор (CNA)
Linux Linux4357e02cafabe01c2d737ceb4c4c6382fc2ee10aВендор (CNA)
Linux Linux4e159150a9a56d66d247f4b5510bed46fe58aa1cВендор (CNA)
Linux Linux629666d20c7dcd740e193ec0631fdff035b1f7d6Вендор (CNA)
Linux Linux6a8b6242eaa1dd7a0de2d6de6420d10ffe68db90Вендор (CNA)
Linux Linuxbb9be3f713652e330df00f3724c18c7a5469e7acВендор (CNA)
cbl2 kernel 5.15.202.1-1 on CBL-Mariner 2.0Release NotesMicrosoft (MSRC)
debian:linux6.1.170-1 · Debian:12Реестр пакетов (OSV)
opensuse:dtb-aarch646.4.0-150600.23.92.1 · openSUSE:Leap 15.6Реестр пакетов (OSV)
opensuse:kernel-64kb6.4.0-150600.23.92.1 · openSUSE:Leap 15.6Реестр пакетов (OSV)
opensuse:kernel-debug6.4.0-150600.23.92.1 · openSUSE:Leap 15.6Реестр пакетов (OSV)
suse:kernel-64kb6.4.0-150600.23.92.1 · SUSE:Linux Enterprise Server 15 SP6-LTSSРеестр пакетов (OSV)
suse:kernel-default6.4.0-150600.23.92.1 · SUSE:Linux Enterprise Live Patching 15 SP6Реестр пакетов (OSV)
suse:kernel-default-base6.4.0-150600.23.92.1.150600.12.42.2 · SUSE:Linux Enterprise Server 15 SP6-LTSSРеестр пакетов (OSV)
suse:kernel-docs6.4.0-150600.23.92.1 · SUSE:Linux Enterprise Server 15 SP6-LTSSРеестр пакетов (OSV)
suse:kernel-livepatch-SLE15-SP6_Update_211-150600.13.5.1 · SUSE:Linux Enterprise Live Patching 15 SP6Реестр пакетов (OSV)
suse:kernel-obs-build6.4.0-150600.23.92.1 · SUSE:Linux Enterprise Server 15 SP6-LTSSРеестр пакетов (OSV)
suse:kernel-source6.4.0-150600.23.92.1 · SUSE:Linux Enterprise Server 15 SP6-LTSSРеестр пакетов (OSV)
suse:kernel-syms6.4.0-150600.23.92.1 · SUSE:Linux Enterprise Server 15 SP6-LTSSРеестр пакетов (OSV)
suse:kernel-zfcpdump6.4.0-150600.23.92.1 · SUSE:Linux Enterprise Server 15 SP6-LTSSРеестр пакетов (OSV)

Статус эксплойта

Публичный эксплойт неизвестен

Публичный эксплойт пока не обнаружен. Это не значит, что вы в безопасности, лишь что порог чуть выше.

Контекст для исследователя

Для пентестеров и исследователей: профиль атаки, расхождение оценок, хронология, коммиты исправлений, авторы, кандидаты в варианты и цепочки, охват bug bounty. Всё выводится из имеющихся данных; без кода эксплойтов.

Хронология

От публикации до сегодня: proof of concept, модуль Metasploit, CISA KEV и запись об исправлении. Даты — как сообщают источники.

Кроме публикации датированных событий нет.

EPSS за 120 дней

Ежедневная оценка FIRST EPSS; записываются только изменения от 0,01 (ступенчатый график).

Ссылки на патчи и коммиты

Коммиты, PR и diff среди источников. Отправная точка для patch-diff и поиска вариантов; это исправления, не эксплойты.

Среди источников нет ссылок на коммит или PR.

Нашедшие, сообщившие и аналитики, названные в записи CNA. Нажмите имя, чтобы увидеть другие записи исследователя.

В записи CNA нет авторов.

Кандидаты в варианты

Тот же продукт, тот же класс уязвимости, в пределах 18 месяцев. Если патч не закрыл первопричину, родственная ошибка здесь.

Ночной расчёт связей ничего не нашёл.

Кандидаты в цепочки

Обход аутентификации и уязвимость, требующая привилегий, в одном продукте и близко по времени: вместе они могут дать путь без аутентификации.

—

Охват bug bounty

Известной публичной программы нет.

Источник: bounty-targets-data (публичные списки HackerOne, Bugcrowd, Intigriti, YesWeHack).

Технические детали

Условия атаки

  • Может быть вызвана пользователем с локальным доступом к системе.
  • Достаточно учётной записи с низкими привилегиями.
  • Действия пользователя не требуются.
  • Особые условия не требуются; воспроизводится стабильно.

В случае успеха

Конфиденциальность
нет
Целостность
нет
Доступность
высокое · работа сервиса может быть нарушена
Вектор атаки
Локальный
Сложность атаки
Низкая
Требуемые привилегии
Низкие
Взаимодействие с пользователем
Не требуется
Область действия
Не изменяется
Влияние на конфиденциальность
Нет
Влияние на целостность
Нет
Влияние на доступность
Высокое

Класс уязвимости (CWE)

CWE-667 · Improper Locking

Вектор CVSS

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

nvd-primary

Контекст атаки

Шаблоны атак MITRE CAPEC и техники ATT&CK для этого класса уязвимости (CWE). Отправная точка для правил обнаружения и threat hunting.

Журнал изменений

  1. Исправление✗ → ✓

Для отслеживаемых записей эти изменения приходят и как уведомления. →

Источники

Все записи