Linus Torvalds pushes out emergency Linux update

Linus Torvalds
(Image credit: Linus Torvalds)

In a break from tradition, Linux kernel head honcho Linus Torvalds has published the newest release earlier than usual to address a filesystem corruption issue in the previous release.

Torvalds noted that last week’s v5.12-rc1 broke the swapfile in an unusual way that could trash the entire filesystem on certain installations. Before he put out the update to correct that issue, Torvalds marked the previous release as v5.12-rc1-dontuse to ward off anyone from using that particular release in their Linux machines.

“Ok, so this is a couple of days early, but rc1 had the nasty swapfile issue, so I'm just accelerating rc2 a bit,” noted Torvalds as he merged the fix that was released in the days following the rc1 release.

Swapfile issue

Linux release candidates, despite essentially being under-development releases, are surprisingly robust. They aren’t meant for production machines and are intended for developers to test the inclusion of new features.

A couple of days after the first release candidate of the 5.12 branch was released, it was discovered to trash installations that used a swapfile. While most Linux distros use swap partitions and wouldn’t have been impacted by this bug, some like Ubuntu do default to using a swapfile. 

Michael Larabel over at Phoronix was one of the first to run into the issue on his test systems, which then came into spotlight as it crashed Intel's graphics continuous integration systems forcing Intel engineers to look into the issue.

The issue was soon resolved and now a patch has been merged into the latest release candidate. However, it’s given the developers a moment of reflection. “Most of our rc1 releases have been so solid over the years that people may have forgotten that ‘yeah, this is all the new code that can have nasty bugs in it,” wrote Torvalds, reminding developers not to be tempted to use the release candidates in production deployments.

Via: The Register

TOPICS
Mayank Sharma

With almost two decades of writing and reporting on Linux, Mayank Sharma would like everyone to think he’s TechRadar Pro’s expert on the topic. Of course, he’s just as interested in other computing topics, particularly cybersecurity, cloud, containers, and coding.

Read more
Linux penguin logo on wood.
Best Linux repair and rescue distro of 2025
A laptop with the Windows 11 desktop on screen, glowing, while on a work desk
Are you unable to get security updates for Windows 11 24H2? Here’s the likely reason why, and the fix to get your PC safe and secure again
Angry businessman destroying his desk and laptop with a baseball bat
New patch for Windows 11 24H2 reportedly plays havoc with File Explorer, and some folks are claiming it's broken their PC
Windows fail
It looks like Microsoft might have broken Windows 11 24H2 again as performance plummets with Intel's latest CPUs
A person using a desktop computer.
Best weird and wonderful niche Linux distros of 2025
Digital image of a lock.
Nvidia systems could be facing another worrying security flaw
Latest in Software & Services
Windows 11 Start menu layout choices: Grid view
Windows 11 vs Linux for business: which operating system should you embrace?
A phone sitting on a laptop keyboard with the Microsoft Outlook logo on the screen.
Gmail vs Outlook for business: which email system is right for your organization?
Windows 11 logo
Windows 11 Pro vs Windows 11 Home: which version is right for you?
Canva HubSpot
HubSpot and Canva team up to level the creative playing field
a laptop computer
Windows 11 vs ChromeOS for business: Is one better than the other for your needs?
a laptop computer
Windows 11 vs macOS for business: which side are you on?
Latest in News
A masculine hand holding the Nvidia GeForce RTX 5070 Ti
Budget gamers rejoice as Nvidia RTX 5050 and RTX 5060 are rumored to launch in April
The Asus ROG Ally handheld gaming PC
AMD's new driver adds AFMF 2.1 support for improved frame generation - and it could be a game-changer for handheld gaming PCs
Victrola Stream Carbon turntable playing David Bowie, with the tonearm being operated
Victrola putting Bluetooth, UPnP and Roon in its Sonos-only turntables is the hi-fi equivalent of ‘I think we should see other people’
Android 16 logo on a phone
Android 16 beta users are reporting major battery drain issues – but I’m not too worried about it
Woman holding phone in field with Spotify app onscreen
The Spotify bug that shows ads to Premium subscribers has finally been fixed - for now at least
PC Gamer looking happy
AMD might go for Nvidia’s jugular in Q2 with a faster RX 9070 ‘Extreme’ GPU that could leave the RTX 5070 Ti in the dust