Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 526730 - kernel-3.17.[01]: btrfs corruption on creating readonly snapshot
Summary: kernel-3.17.[01]: btrfs corruption on creating readonly snapshot
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-25 10:32 UTC by Naohiro Aota
Modified: 2014-12-17 19:48 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Naohiro Aota gentoo-dev 2014-10-25 10:32:05 UTC
In kernel 3.17, a commit (9c3b306e1c9e6be4be09e99a8fe2227d1005effc) corrupting btrfs on creating readonly snapshot is introduced. If a user try to access the corrupted snapshot, kernel get crashed.

A reverting commit is already sent to the linus tree and linux-stable. So it will be solved with 3.17.2 

https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/fs/btrfs?id=d37973082b453ba6b89ec07eb7b84305895d35e1

http://thread.gmane.org/gmane.linux.kernel.stable/110479

I suggest to mask 3.17.1 or apply revering patch not to create such corrupted snapshot.
Comment 1 Mike Pagano gentoo-dev 2014-12-17 19:48:48 UTC
3.17.1 is not in the tree anymore. Thanks for reporting.