[Software] Kernel Bug - 6.1.64-1 EXT4 data corruption

If none of the specific sub-forums seem right for your thread, ask here.
Post Reply
Message
Author
User avatar
Ardouos
Posts: 1080
Joined: 2013-11-03 00:30
Location: Elicoor II
Has thanked: 1 time
Been thanked: 4 times

[Software] Kernel Bug - 6.1.64-1 EXT4 data corruption

#1 Post by Ardouos »

After the 12.3 upgrade it seem there is a kernel bug with 6.1.64-1 which will be fixed in 6.1.66-1. It may be fixed by the time you have read this. If you are running 6.1.64-1 you hopefully should be able to use the previous kernel for now: 6.1.55-1

https://bugs.debian.org/cgi-bin/bugrepo ... ug=1057843
There is only one Debian | Do not break Debian | Stability and Debian | Backports

⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀

User avatar
fabien
Forum Helper
Forum Helper
Posts: 1158
Joined: 2019-12-03 12:51
Location: Anarres (Toulouse, France actually)
Has thanked: 101 times
Been thanked: 265 times

Re: [Software] Kernel Bug - 6.1.64-1 EXT4 data corruption

#2 Post by fabien »

Thank you very much.
Too bad, I updated a day too early. For now I have purged linux-image-amd64 and linux-image-6.1.0-14-amd64 (to unattended-updates users: this will prevent linux-image-6.1.0-13-amd64 to be automatically removed. You reinstall linux-image-amd64 when a new kernel is released).

https://bugs.debian.org/cgi-bin/bugrepo ... 1057843#38
The bug appears to be triggered when an ->end_io handler returns a non-
zero value to iomap after a direct IO write.
[...]
The bug corrupts file data during a direct write operation
Direct I/O
Direct I/O is a feature of the file system whereby file reads and writes go directly from the applications to the storage device, bypassing the operating system read and write caches. Direct I/O is used only by applications (such as databases) that manage their own caches.
If I'm right, the bug shouldn't affect desktop users too much.
ImageShare your Debian SCRIPTS
There will be neither barrier nor walls, neither official nor guard, there will be no more desert and the entire world will become a garden. — Anacharsis Cloots

User avatar
Ardouos
Posts: 1080
Joined: 2013-11-03 00:30
Location: Elicoor II
Has thanked: 1 time
Been thanked: 4 times

Re: [Software] Kernel Bug - 6.1.64-1 EXT4 data corruption

#3 Post by Ardouos »

It does look like there an announcement on the top of this board:
viewtopic.php?t=157711

Sorry for reposting. I tried looking at active threads and didn't see it, as it does not seem to appear there.
There is only one Debian | Do not break Debian | Stability and Debian | Backports

⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄⠀

User avatar
fabien
Forum Helper
Forum Helper
Posts: 1158
Joined: 2019-12-03 12:51
Location: Anarres (Toulouse, France actually)
Has thanked: 101 times
Been thanked: 265 times

Re: [Software] Kernel Bug - 6.1.64-1 EXT4 data corruption

#4 Post by fabien »

The new kernel is released

Code: Select all

$> apt --installed list linux-image-*
Listing... Done
linux-image-6.1.0-13-amd64/stable,now 6.1.55-1 amd64 [installed,automatic]
linux-image-6.1.0-15-amd64/stable,now 6.1.66-1 amd64 [installed,automatic]
linux-image-amd64/stable,now 6.1.66-1 amd64 [installed]
$> ls -l /initrd.img*
lrwxrwxrwx 1 root root 30 Dec 10 21:36 /initrd.img -> boot/initrd.img-6.1.0-15-amd64
lrwxrwxrwx 1 root root 30 Dec  9 22:51 /initrd.img.old -> boot/initrd.img-6.1.0-13-amd64
$> cat /etc/debian_version 
12.4
And we have seen the shortest lived Debian version.
ImageShare your Debian SCRIPTS
There will be neither barrier nor walls, neither official nor guard, there will be no more desert and the entire world will become a garden. — Anacharsis Cloots

Post Reply