Jump to content

Linux kernel 6.8 fixes two serious problems in bcachefs

Recommended Posts

Two serious problems were discovered (https://lore.kernel.org/lkml/v6czqjwdsso2hy6be7qeu4mqxsx4oydq6shavws4k7sexshcrp@np4inrse4e4p/T/) and fixed (https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=99bd3cb0d12e85d5114425353552121ec8f93adc) in the bcachefs file system, which has been part of the Linux kernel since 6.7, in preparation for the 6.8 kernel release (the fixes will be part of the 6.8-rc4 release).

- The first issue is related to incorrect locking when working with directories, so that when deleting non-existent subvolumes, the first deletion attempt could result in an error and the second attempt could hang due to leaving an unreleased lock.

- In the second case, a race condition occurred, which could lead to premature thread termination in the kernel when closing files.

The problems are present in all versions of bcachefs since the original pull request in kernel 6.7. Both problems are considered serious enough to backport the proposed patch to the stable 6.7 kernel branch.

Link to comment
Share on other sites

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...

Important Information

By using this site you automatically agree to the Privacy Policy | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.