Linux Kernel: KUnit Testing Fixes and Critical Task Exit Bug

Linus Torvalds merged KUnit testing configuration fixes and applied a critical patch from Google's Jann Horn that prevents memory corruption when tasks crash during exit.

Duration: PT1M48S

Episode overview

This episode is a short developer briefing from Linux Kernel.

It explains recent repository work in plain language.

  • Show: Linux Kernel
  • Published: 2026-05-12T10:02:47Z
  • Audio duration: PT1M48S

Transcript excerpt

This excerpt keeps the crawler page concise. Listen to the episode or use the RSS feed for the full update.

Good morning, this is your Linux Kernel update for Thursday, May 12th, 2026.

Two commits landed in the main tree yesterday. Linus Torvalds merged KUnit testing framework fixes from Shuah Khan that resolve configuration dependencies. The changes decouple KUNIT_DEBUGFS from KUNIT_ALL_TESTS and ensure the debug filesystem feature properly depends on DEBUG_FS. KUNIT_DEBUGFS is now enabled by…

More significantly, Jann Horn from Google contributed a critical fix for a memory corruption vulnerability in the task exit path. The issue occurs when an already-exiting task crashes - the kernel would call do_task_dead with preemption enabled, violating scheduler requirements. If the dying task gets preempted…

The fix is surgical - adding a single line to disable preemption before calling do_task_dead in make_task_dead. This prevents the race condition that allowed the stack corruption. The patch addresses both recursive crashes and single crashes during normal task exit, such as failures in file operation release handlers.

Looking ahead: This exit path fix will likely be backported to stable kernel branches given its potential for system corruption. The KUnit improvements should help developers…

Th…

Nearby episodes from Linux Kernel

  1. Critical Security and Stability Fixes in RC4
  2. Graphics and Core System Fixes
  3. KVM Virtualization Fixes and Live Update Patches
  4. Probes Subsystem Fixes
  5. Bug Fixes and Driver Updates
  6. Networking and Audio Fixes for RC3
  7. Critical Subsystem Fixes for RC3
  8. Spring Cleaning & Bug Squashing Bonanza