ext4_mb_generate_buddy:756: group N, block bitmap and bg descriptor inconsistent: X vs Y
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Linux |
Confirmed
|
Medium
|
|||
linux (Debian) |
Fix Released
|
Unknown
|
|||
linux (Ubuntu) |
Confirmed
|
High
|
Unassigned | ||
Trusty |
Fix Released
|
High
|
Chris J Arges | ||
linux-lts-utopic (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Trusty |
Fix Released
|
Undecided
|
Chris J Arges |
Bug Description
SRU Justification:
Impact: Users of VMs running 3.13/3.16 and ext4 can experience data corruption in the guest.
Fix: https:/
Testcase: https:/
--
I noticed that one of my VM had this "dmesg -T" output:
[Tue Feb 17 09:53:27 2015] systemd-
[Thu Feb 19 06:25:08 2015] EXT4-fs error (device vda1): ext4_mb_
[Thu Feb 19 06:25:09 2015] Aborting journal on device vda1-8.
[Thu Feb 19 06:25:09 2015] EXT4-fs (vda1): Remounting filesystem read-only
[Thu Feb 19 06:25:09 2015] ------------[ cut here ]------------
[Thu Feb 19 06:25:09 2015] WARNING: CPU: 0 PID: 9946 at /build/
[Thu Feb 19 06:25:09 2015] Modules linked in: nf_conntrack_ipv6 nf_defrag_ipv6 ip6table_filter ip6_tables xt_tcpudp nf_conntrack_ipv4 nf_defrag_ipv4 xt_owner xt_conntrack nf_conntrack iptable_filter ip_tables x_tables serio_raw psmouse floppy
[Thu Feb 19 06:25:09 2015] CPU: 0 PID: 9946 Comm: logrotate Not tainted 3.13.0-45-generic #74-Ubuntu
[Thu Feb 19 06:25:09 2015] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Bochs 01/01/2011
[Thu Feb 19 06:25:09 2015] 0000000000000009 ffff880003a11aa0 ffffffff81720eb6 0000000000000000
[Thu Feb 19 06:25:09 2015] ffff880003a11ad8 ffffffff810677cd ffff880000c41340 0000000000000000
[Thu Feb 19 06:25:09 2015] ffff88000a58e000 ffffffff81835280 0000000000001302 ffff880003a11ae8
[Thu Feb 19 06:25:09 2015] Call Trace:
[Thu Feb 19 06:25:09 2015] [<ffffffff81720
[Thu Feb 19 06:25:09 2015] [<ffffffff81067
[Thu Feb 19 06:25:09 2015] [<ffffffff81067
[Thu Feb 19 06:25:09 2015] [<ffffffff8126e
[Thu Feb 19 06:25:09 2015] [<ffffffff81246
[Thu Feb 19 06:25:09 2015] [<ffffffff81277
[Thu Feb 19 06:25:09 2015] [<ffffffff810aa
[Thu Feb 19 06:25:09 2015] [<ffffffff81268
[Thu Feb 19 06:25:09 2015] [<ffffffff81267
[Thu Feb 19 06:25:09 2015] [<ffffffff8126a
[Thu Feb 19 06:25:09 2015] [<ffffffff8126a
[Thu Feb 19 06:25:09 2015] [<ffffffff8126d
[Thu Feb 19 06:25:09 2015] [<ffffffff81244
[Thu Feb 19 06:25:09 2015] [<ffffffff81245
[Thu Feb 19 06:25:09 2015] [<ffffffff811d8
[Thu Feb 19 06:25:09 2015] [<ffffffff811d9
[Thu Feb 19 06:25:09 2015] [<ffffffff811d4
[Thu Feb 19 06:25:09 2015] [<ffffffff811d4
[Thu Feb 19 06:25:09 2015] [<ffffffff811bf
[Thu Feb 19 06:25:09 2015] [<ffffffff811bf
[Thu Feb 19 06:25:09 2015] [<ffffffff81088
[Thu Feb 19 06:25:09 2015] [<ffffffff81013
[Thu Feb 19 06:25:09 2015] [<ffffffff81731
[Thu Feb 19 06:25:09 2015] ---[ end trace ebff9843d81b5c41 ]---
[Thu Feb 19 06:25:09 2015] BUG: unable to handle kernel NULL pointer dereference at 0000000000000028
[Thu Feb 19 06:25:09 2015] IP: [<ffffffff8125d
[Thu Feb 19 06:25:09 2015] PGD 167067 PUD 161067 PMD 0
[Thu Feb 19 06:25:09 2015] Oops: 0000 [#1] SMP
[Thu Feb 19 06:25:09 2015] Modules linked in: nf_conntrack_ipv6 nf_defrag_ipv6 ip6table_filter ip6_tables xt_tcpudp nf_conntrack_ipv4 nf_defrag_ipv4 xt_owner xt_conntrack nf_conntrack iptable_filter ip_tables x_tables serio_raw psmouse floppy
[Thu Feb 19 06:25:09 2015] CPU: 0 PID: 9946 Comm: logrotate Tainted: G W 3.13.0-45-generic #74-Ubuntu
[Thu Feb 19 06:25:09 2015] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Bochs 01/01/2011
[Thu Feb 19 06:25:09 2015] task: ffff880009ac4800 ti: ffff880003a10000 task.ti: ffff880003a10000
[Thu Feb 19 06:25:09 2015] RIP: 0010:[<
[Thu Feb 19 06:25:09 2015] RSP: 0000:ffff880003
[Thu Feb 19 06:25:09 2015] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000086
[Thu Feb 19 06:25:09 2015] RDX: 0000000000001302 RSI: ffffffff81a6e81f RDI: 0000000000000000
[Thu Feb 19 06:25:09 2015] RBP: ffff880003a11ae8 R08: ffffffff81a78568 R09: 0000000000000005
[Thu Feb 19 06:25:09 2015] R10: 00000000ffffffe2 R11: ffff880003a117ce R12: 0000000000000086
[Thu Feb 19 06:25:09 2015] R13: ffffffff81835280 R14: 0000000000001302 R15: ffffffff81a78568
[Thu Feb 19 06:25:09 2015] FS: 00007f74eaca484
[Thu Feb 19 06:25:09 2015] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b
[Thu Feb 19 06:25:09 2015] CR2: 0000000001de4000 CR3: 0000000009b45000 CR4: 00000000000006f0
[Thu Feb 19 06:25:09 2015] Stack:
[Thu Feb 19 06:25:09 2015] ffff880003a11a60 0000000000000103 ebff9843d81b5c41 000000000000321e
[Thu Feb 19 06:25:09 2015] 00000000000014d8 0000000000000092 000000000000020e ffff88000a58e000
[Thu Feb 19 06:25:09 2015] ffff880003a11ae8 ffffffff8126e372 ffffffff810677df ffff880000c41340
[Thu Feb 19 06:25:09 2015] Call Trace:
[Thu Feb 19 06:25:09 2015] [<ffffffff8126e
[Thu Feb 19 06:25:09 2015] [<ffffffff81067
[Thu Feb 19 06:25:09 2015] [<ffffffff8126e
[Thu Feb 19 06:25:09 2015] [<ffffffff81277
[Thu Feb 19 06:25:09 2015] [<ffffffff810aa
[Thu Feb 19 06:25:09 2015] [<ffffffff81268
[Thu Feb 19 06:25:09 2015] [<ffffffff81267
[Thu Feb 19 06:25:09 2015] [<ffffffff8126a
[Thu Feb 19 06:25:09 2015] [<ffffffff8126a
[Thu Feb 19 06:25:09 2015] [<ffffffff8126d
[Thu Feb 19 06:25:09 2015] [<ffffffff81244
[Thu Feb 19 06:25:09 2015] [<ffffffff81245
[Thu Feb 19 06:25:09 2015] [<ffffffff811d8
[Thu Feb 19 06:25:09 2015] [<ffffffff811d9
[Thu Feb 19 06:25:09 2015] [<ffffffff811d4
[Thu Feb 19 06:25:09 2015] [<ffffffff811d4
[Thu Feb 19 06:25:09 2015] [<ffffffff811bf
[Thu Feb 19 06:25:09 2015] [<ffffffff811bf
[Thu Feb 19 06:25:09 2015] [<ffffffff81088
[Thu Feb 19 06:25:09 2015] [<ffffffff81013
[Thu Feb 19 06:25:09 2015] [<ffffffff81731
[Thu Feb 19 06:25:09 2015] Code: 48 89 e5 41 57 4d 89 c7 41 56 41 89 d6 41 55 49 89 f5 48 c7 c6 1f e8 a6 81 41 54 49 89 cc 53 48 89 fb 48 83 ec 68 4c 89 4c 24 60 <48> 8b 47 28 48 8b 57 40 48 8b 80 f8 02 00 00 48 8b 40 68 89 90
[Thu Feb 19 06:25:09 2015] RIP [<ffffffff8125d
[Thu Feb 19 06:25:09 2015] RSP <ffff880003a11a58>
[Thu Feb 19 06:25:09 2015] CR2: 0000000000000028
[Thu Feb 19 06:25:10 2015] ---[ end trace ebff9843d81b5c42 ]---
cron.daily jobs fired at 6:25:01 apparently:
# tail -n2 /var/log/syslog
Feb 19 06:17:01 git CRON[9848]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
Feb 19 06:25:01 git CRON[9853]: (root) CMD (test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily ))
# run-parts --test /etc/cron.daily
/etc/cron.daily/apt
/etc/cron.
/etc/cron.
/etc/cron.
/etc/cron.
/etc/cron.
/etc/cron.
It seems like all the jobs ran and the upstart one somehow triggered the crash:
# ls -alt /var/log/upstart/ | head
total 272
drwxrwxr-x 5 root syslog 4096 Feb 19 06:25 ..
drwxr-xr-x 2 root root 4096 Feb 14 06:25 .
-rw-r----- 1 root root 591 Feb 12 12:26 ureadahead.log.1.gz
-rw-r----- 1 root root 178 Feb 12 12:25 mountall.log.1.gz
Now that I have collected some information (sorry, I don't have ubuntu-bug installed on the VM) I'll reboot it and see how it goes.
More information on the VM:
# lsb_release -rd
Description: Ubuntu 14.04.2 LTS
Release: 14.04
# apt-cache policy linux-image-
linux-image-
Installed: 3.13.0-45.74
Candidate: 3.13.0-45.74
Version table:
*** 3.13.0-45.74 0
500 http://
100 /var/lib/
---
AlsaDevices:
total 0
crw-rw---- 1 root audio 116, 1 Feb 19 14:34 seq
crw-rw---- 1 root audio 116, 33 Feb 19 14:34 timer
AplayDevices: Error: [Errno 2] No such file or directory
ApportVersion: 2.14.1-0ubuntu3.7
Architecture: amd64
ArecordDevices: Error: [Errno 2] No such file or directory
AudioDevicesInUse: Error: [Errno 2] No such file or directory
CRDA: Error: [Errno 2] No such file or directory
CurrentDmesg:
[ 13.891047] init: console-font main process (855) terminated with status 71
[ 13.952825] init: plymouth-splash main process (870) terminated with status 1
[ 217.853139] random: nonblocking pool is initialized
DistroRelease: Ubuntu 14.04
IwConfig: Error: [Errno 2] No such file or directory
Lspci: Error: [Errno 2] No such file or directory
Lsusb: Error: [Errno 2] No such file or directory
MachineType: QEMU Standard PC (i440FX + PIIX, 1996)
Package: linux (not installed)
PciMultimedia:
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcFB:
ProcKernelCmdLine: root=UUID=
ProcVersionSign
RelatedPackageV
linux-
linux-
linux-firmware N/A
RfKill: Error: [Errno 2] No such file or directory
Tags: trusty
Uname: Linux 3.13.0-45-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:
_MarkForUpload: True
dmi.bios.date: 01/01/2011
dmi.bios.vendor: Bochs
dmi.bios.version: Bochs
dmi.chassis.type: 1
dmi.chassis.vendor: Bochs
dmi.modalias: dmi:bvnBochs:
dmi.product.name: Standard PC (i440FX + PIIX, 1996)
dmi.product.
dmi.sys.vendor: QEMU
summary: |
- ext4 turned read-only following a cronjob run + ext4 turned read-only during logrotate daily run |
Changed in linux (Ubuntu): | |
importance: | Medium → High |
Changed in linux (Ubuntu Trusty): | |
importance: | Undecided → High |
status: | New → Confirmed |
Changed in linux (Ubuntu Trusty): | |
status: | Incomplete → Confirmed |
summary: |
- ext4 turned read-only during logrotate daily run + ext4_mb_generate_buddy:756: group N, block bitmap and bg descriptor + inconsistent: X vs Y |
Changed in linux (Debian): | |
importance: | Undecided → Unknown |
status: | New → Unknown |
affects: | linux-kernel-headers → linux |
Changed in linux (Debian): | |
status: | Unknown → Confirmed |
Changed in linux (Ubuntu): | |
status: | Incomplete → Confirmed |
Changed in linux (Ubuntu Trusty): | |
assignee: | nobody → Chris J Arges (arges) |
Changed in linux-lts-utopic (Ubuntu Trusty): | |
assignee: | nobody → Chris J Arges (arges) |
description: | updated |
Changed in linux (Ubuntu Trusty): | |
status: | Confirmed → Fix Committed |
Changed in linux-lts-utopic (Ubuntu Trusty): | |
status: | New → Fix Committed |
Changed in linux (Debian): | |
status: | Confirmed → Fix Released |
tags: |
added: verification-done-trusty removed: verification-needed-trusty |
Changed in linux: | |
importance: | Unknown → Medium |
status: | Unknown → Confirmed |
tags: | added: cscc |
This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:
apport-collect 1423672
and then change the status of the bug to 'Confirmed'.
If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.
This change has been made by an automated script, maintained by the Ubuntu Kernel Team.