The Wire · Showcase
KERNEL TASK SCHEDULER FIX LANDS AS KUNIT DEBUGFS DECOUPLED
By RepoJournal · Filed · About Linux
A critical fix preventing preemption of dying tasks during kernel oops just merged, eliminating a narrow window where scheduler assumptions break and bad things happen.
The core fix [1] addresses a dangerous race in make_task_dead() where an oopsing task could be preempted between becoming TASK_DEAD and entering the scheduler explicitly—violating __schedule()'s hard requirement for disabled preemption. Without this, finish_task_switch() operates on invalid assumptions about task state, risking memory corruption or worse. Merging alongside this is a kunit infrastructure cleanup [2] that decouples KUNIT_DEBUGFS from KUNIT_ALL_TESTS and fixes its dependency chain to properly require DEBUG_FS, preventing silent config failures where the debugfs interface builds but can't actually function. On the omarchy side, Bluetooth persistence now survives reboots [3] by disabling BlueZ's aggressive AutoEnable behavior—a quality-of-life fix with migration support for existing installs.
Action items
- → Pull latest torvalds/linux if you maintain kernel testing or observe task exit behavior torvalds/linux [immediate]
- → Review kunit configs if KUNIT_DEBUGFS is enabled—verify DEBUG_FS dependency is satisfied torvalds/linux [plan]
- → Run basecamp/omarchy Bluetooth migration if upgrading to persist power state across boots basecamp/omarchy [plan]
References
- [1] exit: prevent preemption of oopsing TASK_DEAD task torvalds/linux
- [2] Merge tag 'linux_kselftest-kunit-fixes-7.1-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest torvalds/linux
- [3] Persist Bluetooth power state across reboots (#5683) basecamp/omarchy
FAQ
- What changed in Linux on May 12, 2026?
- A critical fix preventing preemption of dying tasks during kernel oops just merged, eliminating a narrow window where scheduler assumptions break and bad things happen.
- What should Linux teams do about it?
- Pull latest torvalds/linux if you maintain kernel testing or observe task exit behavior • Review kunit configs if KUNIT_DEBUGFS is enabled—verify DEBUG_FS dependency is satisfied • Run basecamp/omarchy Bluetooth migration if upgrading to persist power state across boots
- Which Linux repositories shipped on May 12, 2026?
- torvalds/linux, basecamp/omarchy