Comment 3 for bug 1621989

Revision history for this message
Vladimir Rutsky (rutsky-vladimir) wrote : Re: chown in docker container on overlayfs fails with kernel BUG at linux-4.4.0/fs/attr.c:280

Same result with kernel from Yakkety (linux-headers-4.4.0-9136-generic):

[ 57.178253] ------------[ cut here ]------------
[ 57.178269] kernel BUG at /build/linux-rTsl6N/linux-4.4.0/fs/attr.c:280!
[ 57.178297] invalid opcode: 0000 [#1] SMP
[ 57.178321] Modules linked in: veth ipt_MASQUERADE nf_nat_masquerade_ipv4 iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 xt_addrtype iptable_filter ip_tables xt_conntrack x_tables nf_nat nf_conntrack br_netfilter bridge stp llc overlay vboxsf(OE) ppdev crct10dif_pclmul crc32_pclmul aesni_intel aes_x86_64 lrw gf128mul glue_helper ablk_helper cryptd input_leds serio_raw i2c_piix4 parport_pc parport vboxvideo(OE) 8250_fintek vboxguest(OE) ttm drm_kms_helper mac_hid drm fb_sys_fops syscopyarea sysfillrect sysimgblt sunrpc autofs4 psmouse ahci libahci e1000 pata_acpi fjes video
[ 57.178467] CPU: 0 PID: 2311 Comm: chown Tainted: G W OE 4.4.0-9136-generic #55-Ubuntu
[ 57.178483] Hardware name: innotek GmbH VirtualBox/VirtualBox, BIOS VirtualBox 12/01/2006
[ 57.178498] task: ffff88001a75ac40 ti: ffff88001be98000 task.ti: ffff88001be98000
[ 57.178512] RIP: 0010:[<ffffffff8122a3f3>] [<ffffffff8122a3f3>] notify_change+0x303/0x360
[ 57.178536] RSP: 0018:ffff88001be9bdb0 EFLAGS: 00010202
[ 57.178547] RAX: 0000000057d31402 RBX: 0000000000001847 RCX: 0000000000000017
[ 57.178559] RDX: 00000000072eb4fc RSI: 00000000072eb4fc RDI: 0000000057d31402
[ 57.178572] RBP: ffff88001be9bde0 R08: 0000000000000000 R09: 0000000000000001
[ 57.178585] R10: 0000000000000000 R11: ffff88001ec4320c R12: ffff88001be9be78
[ 57.178598] R13: ffff880019ce0e40 R14: 00000000000089e4 R15: ffff880019d14948
[ 57.178612] FS: 0000000000f241f0(0063) GS:ffff88001fc00000(0000) knlGS:0000000000000000
[ 57.178626] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b
[ 57.178637] CR2: 0000000000f25bf8 CR3: 000000001745a000 CR4: 00000000000406f0
[ 57.178652] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 57.178665] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 57.178677] Stack:
[ 57.178698] 0000000000000000 0000000000000000 ffff88001be9be78 ffff880019ce0f00
[ 57.178716] ffff880019ce0e40 ffff88001f1bd3f8 ffff88001be9be10 ffffffffc02953d1
[ 57.178747] 0000000000001847 ffff88001be9be78 ffff880019ce0f00 0000000000000000
[ 57.178764] Call Trace:
[ 57.178773] [<ffffffffc02953d1>] ovl_setattr+0x81/0xc0 [overlay]
[ 57.178786] [<ffffffff8122a325>] notify_change+0x235/0x360
[ 57.178810] [<ffffffff8120a83b>] chown_common+0x18b/0x1e0
[ 57.178851] [<ffffffff8120bc6d>] SyS_chown+0x9d/0xe0
[ 57.178862] [<ffffffff8182dff2>] entry_SYSCALL_64_fastpath+0x16/0x71
[ 57.179294] Code: 4c 89 ef e8 90 87 17 00 31 c0 e9 00 fe ff ff 83 ca 01 41 89 14 24 89 d3 41 0f b7 07 e9 23 fe ff ff b8 ff ff ff ff e9 e4 fd ff ff <0f> 0b 48 3b 50 30 0f 85 50 fe ff ff e9 08 ff ff ff 4c 89 e6 4c
[ 57.180459] RIP [<ffffffff8122a3f3>] notify_change+0x303/0x360
[ 57.180828] RSP <ffff88001be9bdb0>
[ 57.181247] ---[ end trace 4d5ff9f2f68c4235 ]---