[Bug 779432] New: kernel panic when mounting btrfs filesystem in free-space-cache.c
https://bugzilla.novell.com/show_bug.cgi?id=779432 https://bugzilla.novell.com/show_bug.cgi?id=779432#c0 Summary: kernel panic when mounting btrfs filesystem in free-space-cache.c Classification: openSUSE Product: openSUSE 12.2 Version: Final Platform: x86-64 OS/Version: openSUSE 12.2 Status: NEW Severity: Critical Priority: P5 - None Component: Kernel AssignedTo: kernel-maintainers@forge.provo.novell.com ReportedBy: gryffus@hkfree.org QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20100101 Firefox/15.0 Btrfs: fix tree log remove space corner case The tree log stuff can have allocated space that we end up having split across a bitmap and a real extent. The free space code does not deal with this, it assumes that if it finds an extent or bitmap entry that the entire range must fall within the entry it finds. This isn't necessarily the case, so rework the remove function so it can handle this case properly. This fixed two panics the user hit, first in the case where the space was initially in a bitmap and then in an extent entry, and then the reverse case. Thanks, Reported-and-tested-by: Shaun Reich <sreich@kde.org> Signed-off-by: Josef Bacik <jbacik@fusionio.com> (from http://kernel.opensuse.org/cgit/kernel/commit/?id=bdb7d303b33c1648514c9f9461... ) Reproducible: Always Steps to Reproduce: 1. Boot your system with btrfs filesystem 2. 3. Actual Results: Kernel panic when trying to use free space in free-space-cache.c Expected Results: System mounts filesystem and continues with boot This patch should be backported for openSUSE 11.4 through 12.2. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=779432 https://bugzilla.novell.com/show_bug.cgi?id=779432#c Lukas Krejza <gryffus@hkfree.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P0 - Crit Sit -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=779432 https://bugzilla.novell.com/show_bug.cgi?id=779432#c2 David Sterba <dsterba@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #2 from David Sterba <dsterba@suse.com> 2012-09-11 12:34:25 CEST --- A P0 for opensuse does not mean what you think, but I understand the problem is serious and committed the patch quickly. You can reach the kernel via daily build repos at http://download.opensuse.org/repositories/Kernel:/openSUSE-12.1/standard/ http://download.opensuse.org/repositories/Kernel:/openSUSE-12.2/standard/ (11.4 is based on old kernel and does not receive btrfs updates) You can verify that the patch is applied via 'rpm -q --changelog' and search for this bug number. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=779432 https://bugzilla.novell.com/show_bug.cgi?id=779432#c Swamp Workflow Management <swamp@suse.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status Whiteboard| |obs:running:970:important -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=779432 https://bugzilla.novell.com/show_bug.cgi?id=779432#c3 --- Comment #3 from Swamp Workflow Management <swamp@suse.de> 2012-10-12 14:11:01 UTC --- openSUSE-SU-2012:1330-1: An update that solves two vulnerabilities and has 12 fixes is now available. Category: security (important) Bug References: 762693,765230,771392,772566,772831,772923,773406,774523,774859,776925,778630,779432,780624,781134 CVE References: CVE-2012-3412,CVE-2012-3520 Sources used: openSUSE 12.2 (src): kernel-docs-3.4.11-2.16.2, kernel-source-3.4.11-2.16.1, kernel-syms-3.4.11-2.16.1 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=779432 https://bugzilla.novell.com/show_bug.cgi?id=779432#c Swamp Workflow Management <swamp@suse.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status Whiteboard|obs:running:970:important |obs:running:970:important | |obs:running:1391:important -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=779432 https://bugzilla.novell.com/show_bug.cgi?id=779432#c4 --- Comment #4 from Swamp Workflow Management <swamp@suse.de> 2013-03-05 17:08:41 UTC --- openSUSE-SU-2013:0396-1: An update that solves 10 vulnerabilities and has 25 fixes is now available. Category: security (important) Bug References: 714906,720226,733148,755546,762693,765524,768506,769784,769896,770695,773406,773831,774285,774523,774859,776144,778630,779432,781134,783515,784192,786013,787168,792500,793671,797175,799209,800280,801178,801782,802153,802642,804154,804652,804738 CVE References: CVE-2012-0957,CVE-2012-2745,CVE-2012-3412,CVE-2012-4530,CVE-2013-0160,CVE-2013-0216,CVE-2013-0231,CVE-2013-0268,CVE-2013-0309,CVE-2013-0871 Sources used: openSUSE 12.1 (src): kernel-docs-3.1.10-1.19.2, kernel-source-3.1.10-1.19.1, kernel-syms-3.1.10-1.19.1 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=779432 Swamp Workflow Management <swamp@suse.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Whiteboard|obs:running:970:important |obs:running:970:important |obs:running:1391:important | -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=779432 Swamp Workflow Management <swamp@suse.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Whiteboard|obs:running:970:important | -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com