btrfs refcount overflow detected upon emerge sync
Posted: Tue Mar 01, 2016 5:43 am
After enabling qgroups on btrfs file system:
- Code: Select all
kernel: PAX: From IP: refcount overflow detected in: rsync:5602, uid/euid: 250/250
kernel: CPU: 2 PID: 5602 Comm: rsync Not tainted 4.4.2-hardened #1
kernel: Hardware name: Hewlett-Packard HP EliteBook 8560w/1631, BIOS 68SVD Ver. F.50 08/04/2014
kernel: task: ffff8801df856480 ti: ffff8801df8572c8 task.ti: ffff8801df8572c8
kernel: RIP: 0010:[<ffffffff9251b1b5>] [<ffffffff9251b1b5>] btrfs_qgroup_reserve_meta+0x65/0x80
kernel: RSP: 0018:ffffc900087ebca0 EFLAGS: 00000a06
kernel: RAX: 0000000000000000 RBX: ffff880231c9d000 RCX: 0000000000000000
kernel: RDX: 0000000000000000 RSI: ffffc900087ebc68 RDI: ffff880231cc2540
kernel: RBP: 000000000002c000 R08: 0000000000000000 R09: ffff8802350001c0
kernel: R10: 0000000000000100 R11: 00000000000000fe R12: 8000000000000000
kernel: R13: ffff880231c9d000 R14: 000000000000000b R15: 000000000002c000
kernel: FS: 000003a67e513700(0000) GS:ffff88023dc80000(0000) knlGS:0000000000000000
kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
kernel: CR2: 00000047347a9fd8 CR3: 0000000012f3a000 CR4: 00000000000606f0
kernel: Stack:
kernel: 0000000000000002 0000000000000201 ffffffff924a007a 0000000000000000
kernel: 0000000000000000 0000000000000000 537e0c59b2a7eab5 ffff88008e9967d0
kernel: ffffc900087ebd90 0000000000504e37 ffff8801d8a3ec28 ffff880082788c48
kernel: Call Trace:
kernel: [<ffffffff924a007a>] ? start_transaction+0x33a/0x420
kernel: [<ffffffff924b3493>] ? btrfs_rename2+0x193/0x910
kernel: [<ffffffff92213678>] ? vfs_rename+0x5b8/0x910
kernel: [<ffffffff9220fb01>] ? follow_dotdot_rcu+0xb1/0x170
kernel: [<ffffffff92218c22>] ? SyS_rename+0x3d2/0x460
kernel: [<ffffffff92f22ed8>] ? entry_SYSCALL_64_fastpath+0x12/0x88
kernel: Code: 00 00 f7 d8 21 e8 39 c5 75 2c 48 63 f5 48 89 df e8 01 c8 ff ff 85 c0 78 16 f0 01 ab fc 04 00 00 71 09 f0 29 ab fc 04 00 00 cd 04 <eb> 02 31 c0 5b 5d 4c 09 24 24 c3 0f 0b 0f 1f 40 00 66 2e 0f 1f
kernel: PAX: From IP: refcount overflow detected in: rsync:5601, uid/euid: 250/250
kernel: CPU: 4 PID: 5601 Comm: rsync Not tainted 4.4.2-hardened #1
kernel: Hardware name: Hewlett-Packard HP EliteBook 8560w/1631, BIOS 68SVD Ver. F.50 08/04/2014
kernel: task: ffff8801df256180 ti: ffff8801df256fc8 task.ti: ffff8801df256fc8
kernel: RIP: 0010:[<ffffffff9251b1b5>] [<ffffffff9251b1b5>] btrfs_qgroup_reserve_meta+0x65/0x80
kernel: RSP: 0018:ffffc900087e3d88 EFLAGS: 00000a06
kernel: RAX: 0000000000000000 RBX: ffff880231c9d000 RCX: 0000000000000000
kernel: RDX: 0000000000000000 RSI: ffffc900087e3d50 RDI: ffff880231cc2540
kernel: RBP: 0000000000014000 R08: 0000000000000000 R09: ffff8802350001c0
kernel: R10: 0000000000000000 R11: ffff880233316d60 R12: 8000000000000000
kernel: R13: ffff880231c9d000 R14: 0000000000000005 R15: 0000000000014000
kernel: FS: 000003a67e513700(0000) GS:ffff88023dd00000(0000) knlGS:0000000000000000
kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
kernel: CR2: 000000473030a6f8 CR3: 0000000012f3e000 CR4: 00000000000606f0
kernel: Stack:
kernel: 0000000000000002 0000000000000201 ffffffff924a007a c20817f964c63696
kernel: ffff880233316d60 ffff8801d9f9f768 ffff8800ab184c00 ffff8801d9f9f768
kernel: 0000000000000005 ffff880231c9d000 0000000000000005 ffff8801edc7f650
kernel: Call Trace:
kernel: [<ffffffff924a007a>] ? start_transaction+0x33a/0x420
kernel: [<ffffffff924a0632>] ? btrfs_start_transaction_fallback_global_rsv+0x22/0xc0
kernel: [<ffffffff924ace9f>] ? btrfs_unlink+0x2f/0x100
kernel: [<ffffffff92212a44>] ? vfs_unlink+0x124/0x1c0
kernel: [<ffffffff92216981>] ? do_unlinkat+0x2c1/0x360
kernel: [<ffffffff92f22ed8>] ? entry_SYSCALL_64_fastpath+0x12/0x88
kernel: Code: 00 00 f7 d8 21 e8 39 c5 75 2c 48 63 f5 48 89 df e8 01 c8 ff ff 85 c0 78 16 f0 01 ab fc 04 00 00 71 09 f0 29 ab fc 04 00 00 cd 04 <eb> 02 31 c0 5b 5d 4c 09 24 24 c3 0f 0b 0f 1f 40 00 66 2e 0f 1f
kernel: PAX: From IP: refcount overflow detected in: emerge:5598, uid/euid: 0/0
kernel: CPU: 0 PID: 5598 Comm: emerge Not tainted 4.4.2-hardened #1
kernel: Hardware name: Hewlett-Packard HP EliteBook 8560w/1631, BIOS 68SVD Ver. F.50 08/04/2014
kernel: task: ffff8801de91e380 ti: ffff8801de91f1c8 task.ti: ffff8801de91f1c8
kernel: RIP: 0010:[<ffffffff9251b1b5>] [<ffffffff9251b1b5>] btrfs_qgroup_reserve_meta+0x65/0x80
kernel: RSP: 0018:ffffc900087cbcc8 EFLAGS: 00000a06
kernel: RAX: 0000000000000000 RBX: ffff880231c9d000 RCX: 0000000000000000
kernel: RDX: 0000000000000000 RSI: ffffc900087cbc90 RDI: ffff880231cc2540
kernel: RBP: 0000000000014000 R08: 0000000000000000 R09: ffff8802350001c0
kernel: R10: 0000000000000000 R11: ffff880233316d60 R12: 8000000000000000
kernel: R13: ffff880231c9d000 R14: 0000000000000005 R15: 0000000000014000
kernel: FS: 0000037577af5700(0000) GS:ffff88023dc00000(0000) knlGS:0000000000000000
kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
kernel: CR2: 0000037577ae2e60 CR3: 0000000012f36000 CR4: 00000000000606f0
kernel: Stack:
kernel: 0000000000000002 0000000000000201 ffffffff924a007a ffffffff920dc399
kernel: 00000000ffffbe12 0000000000000002 ffff8801ebdfc478 ffff88021f49d908
kernel: 0000000000000005 ffff880231c9d000 0000000000000005 ffff8801ebdfc478
kernel: Call Trace:
kernel: [<ffffffff924a007a>] ? start_transaction+0x33a/0x420
kernel: [<ffffffff920dc399>] ? capable_wrt_inode_uidgid+0x59/0x70
kernel: [<ffffffff924a0632>] ? btrfs_start_transaction_fallback_global_rsv+0x22/0xc0
kernel: [<ffffffff924ace9f>] ? btrfs_unlink+0x2f/0x100
kernel: [<ffffffff92212a44>] ? vfs_unlink+0x124/0x1c0
kernel: [<ffffffff92216981>] ? do_unlinkat+0x2c1/0x360
kernel: [<ffffffff92f22ed8>] ? entry_SYSCALL_64_fastpath+0x12/0x88
kernel: [<ffffffff9218c6fb>] ? __context_tracking_enter+0x1b/0x90
kernel: Code: 00 00 f7 d8 21 e8 39 c5 75 2c 48 63 f5 48 89 df e8 01 c8 ff ff 85 c0 78 16 f0 01 ab fc 04 00 00 71 09 f0 29 ab fc 04 00 00 cd 04 <eb> 02 31 c0 5b 5d 4c 09 24 24 c3 0f 0b 0f 1f 40 00 66 2e 0f 1f