Linux Kernel Btrfs NOFS Context Management Flaw
CVE-2026-99757
Currently unrated
What is CVE-2026-99757?
A flaw in the Linux kernel's Btrfs subsystem allows for improper management of the NOFS context during specific function calls. The btrfs_sysfs_add_block_group_type() function, which is meant to set up a NOFS context, fails to restore it properly when an early return occurs due to a threading issue. This can lead to PF_MEMALLOC_NOFS remaining set on the calling task, thereby restricting all subsequent memory allocations to the NOFS scope. Such a condition might result in unexpected allocation failures or lead to deadlocks, impacting system performance and stability.
Affected Version(s)
Linux 49ea112da0e6e323bb923315ec54ee920759bf19
Linux 49ea112da0e6e323bb923315ec54ee920759bf19
Linux 49ea112da0e6e323bb923315ec54ee920759bf19