CVE-2026-23157
linux linux kernel
Patch priority
RegularFix with the next regular update.
- CVSS
- 5.5
- Severity
- 5.5
- EPSS
- 0.1 %
- Percentile
- 3
- Actively exploited
- not known
The traffic light combines CVSS (severity), EPSS (exploitation probability, FIRST) and CISA's KEV catalog. It does not replace your own assessment. More in the glossary
What do I need to do?
in plain wordsWho is affected?
Everyone who uses Linux-Kernel.
How dangerous is it?
- An attacker already needs access to the device (or gets you to open a file).
- The attacker must already be logged in – this lowers the risk.
What to do?
- Include it in your next regular update.
- Install your distribution’s kernel update and reboot – the new kernel only runs after a restart.
Generated automatically from the CVSS vector, KEV and EPSS – does not replace the vendor’s information. Terms explained
Description
NVDIn 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.
- Vendor / product
- linux linux kernel
- Published
- 14.02.2026
- Modified
- 05.11.2026
- CWE
- CWE-667
- Status
- Modified
CVSS v3.1 · CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Vendor updates
47- Microsoft: Mariner 04.10.2026 · Medium · Patch day
- Ubuntu: USN-8668-2 – Linux kernel (Raspberry Pi) vulnerabilities 21.09.2026 · Critical · Patch day
- Ubuntu: USN-8669-1 – Linux kernel (NVIDIA) vulnerabilities 21.08.2026 · Critical · Patch day
- Ubuntu: USN-8668-1 – Linux kernel (GCP) vulnerabilities 21.08.2026 · Critical · Patch day
- Ubuntu: USN-8665-1 – Linux kernel (Raspberry Pi) vulnerabilities 21.08.2026 · Critical · Patch day
- Ubuntu: USN-8620-4 – Linux kernel (Intel IoTG) vulnerabilities 31.07.2026 · Critical · Patch day
- Ubuntu: USN-8620-3 – Linux kernel (Intel IoTG) vulnerabilities 31.07.2026 · Critical · Patch day
- Ubuntu: USN-8620-2 – Linux kernel (Azure FIPS) vulnerabilities 29.07.2026 · Critical · Patch day
- Ubuntu: USN-8620-1 – Linux kernel vulnerabilities 28.07.2026 · Critical · Patch day
- Ubuntu: USN-8619-1 – Linux kernel (HWE) vulnerabilities 28.07.2026 · Critical · Patch day
- Ubuntu: USN-8595-3 – Linux kernel (AWS) vulnerabilities 28.07.2026 · Critical · Patch day
- Ubuntu: USN-8574-3 – Linux kernel vulnerabilities 28.07.2026 · Critical · Patch day
- Ubuntu: USN-8570-2 – Linux kernel (Oracle) vulnerabilities 28.07.2026 · Critical · Patch day
- Ubuntu: USN-8610-1 – Linux kernel (Azure CVM) vulnerabilities 24.07.2026 · Critical · Patch day
- Ubuntu: USN-8575-3 – Linux kernel vulnerabilities 24.07.2026 · Critical · Patch day
- Ubuntu: USN-8609-1 – Linux kernel (Azure CVM) vulnerabilities 24.07.2026 · Critical · Patch day
- Ubuntu: USN-8608-1 – Linux kernel (Azure FIPS) vulnerabilities 24.07.2026 · Critical · Patch day
- Ubuntu: USN-8607-1 – Linux kernel (Azure CVM) vulnerabilities 24.07.2026 · Critical · Patch day
- Ubuntu: USN-8606-1 – Linux kernel (Azure) vulnerabilities 24.07.2026 · Critical · Patch day
- Ubuntu: USN-8595-2 – Linux kernel (AWS) vulnerabilities 24.07.2026 · Critical · Patch day
- Ubuntu: USN-8605-1 – Linux kernel (Azure CVM) vulnerabilities 24.07.2026 · Critical · Patch day
- Ubuntu: USN-8604-1 – Linux kernel (Azure) vulnerabilities 24.07.2026 · Critical · Patch day
- Ubuntu: USN-8597-1 – Linux kernel (IBM) vulnerabilities 23.07.2026 · Critical · Patch day
- Ubuntu: USN-8576-2 – Linux kernel (NVIDIA Tegra) vulnerabilities 23.07.2026 · Critical · Patch day
- Ubuntu: USN-8575-2 – Linux kernel vulnerabilities 23.07.2026 · Critical · Patch day
- Ubuntu: USN-8596-1 – Linux kernel (NVIDIA) vulnerabilities 23.07.2026 · Critical · Patch day
- Ubuntu: USN-8595-1 – Linux kernel (Oracle) vulnerabilities 23.07.2026 · Critical · Patch day
- Ubuntu: USN-8574-2 – Linux kernel vulnerabilities 23.07.2026 · Critical · Patch day
- Ubuntu: USN-8594-1 – Linux kernel (OEM) vulnerabilities 23.07.2026 · Critical · Patch day
- Ubuntu: USN-8576-1 – Linux kernel (NVIDIA Tegra) vulnerabilities 21.07.2026 · Critical · Patch day
- Ubuntu: USN-8575-1 – Linux kernel vulnerabilities 21.07.2026 · Critical · Patch day
- Ubuntu: USN-8574-1 – Linux kernel (GCP FIPS) vulnerabilities 21.07.2026 · Critical · Patch day
- Ubuntu: USN-8570-1 – Linux kernel vulnerabilities 20.07.2026 · Critical · Patch day
- Ubuntu: USN-8567-1 – Linux kernel vulnerabilities 20.07.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:21284-1 – Security update for google-guest-agent 27.04.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:21241-1 – Security update for the Linux Kernel 23.04.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:21255-1 – Security update for the Linux Kernel 23.04.2026 · HIGH · Patch day
- SUSE: SUSE-SU-2026:21114-1 – Security update for the Linux Kernel 17.04.2026 · HIGH · Patch day
- SUSE: SUSE-SU-2026:21123-1 – Security update for the Linux Kernel 17.04.2026 · HIGH · Patch day
- SUSE: SUSE-SU-2026:21129-1 – Security update for the Linux Kernel 17.04.2026 · HIGH · Patch day
- SUSE: SUSE-SU-2026:21131-1 – Security update for the Linux Kernel 17.04.2026 · HIGH · Patch day
- SUSE: SUSE-SU-2026:20931-1 – Security update for the Linux Kernel 01.04.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:20838-1 – Security update for the Linux Kernel 27.03.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:20873-1 – Security update for the Linux Kernel 27.03.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:1081-1 – Security update for the Linux Kernel 26.03.2026 · Critical · Patch day
- SUSE: SUSE-SU-2026:1041-1 – Security update for the Linux Kernel 25.03.2026 · HIGH · Patch day
- SUSE: SUSE-SU-2026:0962-1 – Security update for the Linux Kernel 23.03.2026 · Critical · Patch day
Sources: NVD (NIST), CISA KEV, EPSS (FIRST.org), vendors and authorities. No warranty.