Jump to content

Grave bug in bookworm kernel


Kluas

Recommended Posts

Please move this message to correct folder, if I used the wrong one.

 

There is a grave bug in the ext4 FS, which was introduced in kernel around 6.1.55 and is fixed in kernel 6.1.66.

The bug is causing data coruption and data loss, like new packages aren't installed properly.

A fix was introduced today into kernel, in version 6.1.66

 

Armbian Bookworm 23.11.1 (Debian) comes with 6.1.63 and, according to my knowledge, is affected.

When will new kernel packages from armbian be available?

 

References:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1057843

https://fulda.social/@Ganneff/111551628003050712

 

Link to comment
Share on other sites

35 minutes ago, Kluas said:

 

Armbian Bookworm 23.11.1 (Debian) comes with 6.1.63 and, according to my knowledge, is affected.

Could you please share more detail about why you think 6.1.63 is affected? As I can see in the links you have shared, the problematic commit was introduced in 6.1.64. So 6.1.63 is not affected. Am I missing something?

Link to comment
Share on other sites

To my understanding it was introduced by kernel commit 91562895f803, which was accepted by kernel team

https://lore.kernel.org/linux-ext4/87bkbbijwt.fsf@doe.com/T/

 

I didn't find any changelogs for the kernel on my Armbian host. I looked into these changelogs, but didn't find any data:

  zless /usr/share/doc/linux-dtb-current-meson64/changelog.gz

  zless /usr/share/doc/linux-image-current-meson64/changelog.gz

--> I'm unsure, if I'm affected. FUD.,

 

On the other side, on the Debian Users ML are reports, that Debian Bookworm is affected:
https://lists.debian.org/debian-user/2023/12/msg00500.html
More FUD on my site.

 

As I don't have a changelog, and people are saying that my distribution (bookworm) is affected, I can only assume that Armbian is very likely affected too.

But I'm glad to here, that I'm not.

Thank you.

Link to comment
Share on other sites

Most of the Armbian kernels are made by taking the upstream kernel and applying patches on top of it.

 

If you go to https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/log/fs/ext4/file.c?h=v6.1.66, you will see that the commit at the top is the one that caused the bug. In the same url, if you change the version to 6.1.63, you can see the commit is not there. Hence we are not affected.

 

Fun Fact, first commit after we had made v23.11 release was upgrading to 6.1.64 kernel, and it was only published to beta repository. Currently beta repository is using 6.1.66 kernel for current branch. 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines