Bug 94531
Summary: | kernel BUG at fs/9p/acl.c:96! | ||
---|---|---|---|
Product: | File System | Reporter: | Sverd Johnsen (sverd.johnsen) |
Component: | v9fs | Assignee: | Eric Van Hensbergen (ericvh) |
Status: | RESOLVED OBSOLETE | ||
Severity: | normal | CC: | aneesh.kumar, fs_vfs |
Priority: | P1 | ||
Hardware: | x86-64 | ||
OS: | Linux | ||
Kernel Version: | 4.1.1 | Subsystem: | |
Regression: | No | Bisected commit-id: |
Description
Sverd Johnsen
2015-03-08 15:04:10 UTC
To clarify, qemu runs as non-root and the file that is created outside of qemu in the host by root with mode 0600 where 9p is shared in the guest is not readable by the qemu user. Can still be reproduced but does not seem too important. [ 224.248568] ------------[ cut here ]------------ [ 224.252792] kernel BUG at fs/9p/acl.c:96! [ 224.256308] invalid opcode: 0000 [#1] [ 224.258424] Modules linked in: af_packet [ 224.258424] CPU: 0 PID: 266 Comm: ls Not tainted 4.1.1-kvm #1 [ 224.258424] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.8.2-20150617_082717-anatol 04/01/2014 [ 224.258424] task: ffff880025029a40 ti: ffff8800252f0000 task.ti: ffff8800252f0000 [ 224.258424] RIP: 0010:[<ffffffff81149c5f>] [<ffffffff81149c5f>] v9fs_get_cached_acl+0xf/0x13 [ 224.258424] RSP: 0018:ffff8800252f3d08 EFLAGS: 00010246 [ 224.258424] RAX: ffffffffffffffff RBX: ffff8800252f3db0 RCX: 0000000000000000 [ 224.258424] RDX: ffffffffffffffff RSI: 0000000000008000 RDI: ffff880025cba040 [ 224.258424] RBP: ffff8800252f3d08 R08: 0000000000008000 R09: ff72726462626000 [ 224.258424] R10: ffff880025ca3600 R11: 0000000000000000 R12: ffff880025ca3600 [ 224.258424] R13: 0000000000000000 R14: 0000000000000000 R15: ffff880025cba040 [ 224.258424] FS: 00007fad3f89b700(0000) GS:ffffffff8161a000(0000) knlGS:0000000000000000 [ 224.258424] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b [ 224.258424] CR2: 00007fad3f8b1000 CR3: 0000000001f1b000 CR4: 00000000000007b0 [ 224.258424] Stack: [ 224.258424] ffff8800252f3d38 ffffffff81149f1f 0000000000000000 0000000000000000 [ 224.258424] ffff8800252f3db0 ffff880025ca3600 ffff8800252f3d60 ffffffff810ce701 [ 224.258424] 0000000000000000 0000000000000000 ffff8800252f3dc7 ffff8800252f3d98 [ 224.258424] Call Trace: [ 224.258424] [<ffffffff81149f1f>] v9fs_xattr_get_acl+0x67/0xaf [ 224.258424] [<ffffffff810ce701>] generic_getxattr+0x4d/0x55 [ 224.258424] [<ffffffff810cea8c>] vfs_getxattr+0x90/0x9d [ 224.258424] [<ffffffff810cedf3>] getxattr+0xcb/0x186 [ 224.258424] [<ffffffff810c0de5>] ? user_path_at_empty+0x80/0xca [ 224.258424] [<ffffffff8115ee7e>] ? __aa_current_profile+0x1c/0x1e [ 224.258424] [<ffffffff811481a3>] ? v9fs_cached_dentry_delete+0x28/0x35 [ 224.258424] [<ffffffff810cef0a>] path_getxattr+0x5c/0xa2 [ 224.258424] [<ffffffff810cf684>] SyS_getxattr+0xf/0x11 [ 224.258424] [<ffffffff8138d26b>] system_call_fastpath+0x12/0x71 [ 224.258424] Code: 33 f6 ff 8b 45 d4 eb 08 31 c0 c3 b8 f4 ff ff ff 5a 5b 41 5c 41 5d 41 5e 41 5f 5d c3 55 48 89 e5 e8 3b 29 fa ff 48 83 f8 ff 75 02 <0f> 0b 5d c3 55 48 89 e5 41 57 41 56 41 55 41 54 53 48 83 ec 70 [ 224.258424] RIP [<ffffffff81149c5f>] v9fs_get_cached_acl+0xf/0x13 [ 224.258424] RSP <ffff8800252f3d08> [ 224.366590] ---[ end trace 11bd711b8565ce78 ]--- [ 224.367527] Kernel panic - not syncing: Fatal exception [ 224.368142] Kernel Offset: disabled [ 224.368610] Rebooting in 30 seconds.. Probably fixed, cannot confirm. https://github.com/torvalds/linux/commit/0a73d0a204a4a04a1e110539c5a524ae51f91d6d |