{"action":"created","issue":{"url":"https://api.github.com/repos/coreos/rkt/issues/1498","labels_url":"https://api.github.com/repos/coreos/rkt/issues/1498/labels{/name}","comments_url":"https://api.github.com/repos/coreos/rkt/issues/1498/comments","events_url":"https://api.github.com/repos/coreos/rkt/issues/1498/events","html_url":"https://github.com/coreos/rkt/issues/1498","id":108768575,"number":1498,"title":"rkt: kernel null pointer dereference in btrfs_sync_file","user":{"login":"dgonyeo","id":2439413,"avatar_url":"https://avatars.githubusercontent.com/u/2439413?v=3","gravatar_id":"","url":"https://api.github.com/users/dgonyeo","html_url":"https://github.com/dgonyeo","followers_url":"https://api.github.com/users/dgonyeo/followers","following_url":"https://api.github.com/users/dgonyeo/following{/other_user}","gists_url":"https://api.github.com/users/dgonyeo/gists{/gist_id}","starred_url":"https://api.github.com/users/dgonyeo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dgonyeo/subscriptions","organizations_url":"https://api.github.com/users/dgonyeo/orgs","repos_url":"https://api.github.com/users/dgonyeo/repos","events_url":"https://api.github.com/users/dgonyeo/events{/privacy}","received_events_url":"https://api.github.com/users/dgonyeo/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/coreos/rkt/labels/dependency/external","name":"dependency/external","color":"fbfa04"},{"url":"https://api.github.com/repos/coreos/rkt/labels/help%20wanted","name":"help wanted","color":"006b75"},{"url":"https://api.github.com/repos/coreos/rkt/labels/kind/bug","name":"kind/bug","color":"FF0000"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-09-28T23:51:19Z","updated_at":"2015-10-23T23:23:16Z","closed_at":null,"body":"Not sure how I got my system into its current state where this happens, but whenever I try to run the following command my system explodes.\r\n\r\n```\r\nsudo ./rkt run --debug --mds-register=false --interactive quay.io/coreos/alpine-sh --exec=/bin/sh\r\n```\r\n\r\n```\r\nSep 28 16:36:18 energia kernel: BUG: unable to handle kernel NULL pointer dereference at 0000000000000334\r\nSep 28 16:36:18 energia kernel: IP: [<ffffffffa0207f43>] btrfs_sync_file+0xe3/0x380 [btrfs]\r\nSep 28 16:36:18 energia kernel: PGD 0 \r\nSep 28 16:36:18 energia kernel: Oops: 0002 [#1] PREEMPT SMP \r\nSep 28 16:36:18 energia kernel: Modules linked in: overlay xt_CHECKSUM iptable_mangle ipt_REJECT nf_reject_ipv4 xt_tcpudp tun ebtable_filter ebtables ip6table_filter ip6_tables xt_conntrack ipt_MASQUERADE nf_nat_masquerade_ipv4 iptable_nat\r\nSep 28 16:36:18 energia kernel:  videobuf2_core drm_kms_helper v4l2_common thinkpad_acpi nvram serio_raw psmouse snd_hda_intel pcspkr snd_hda_codec videodev i2c_i801 mousedev lpc_ich media evdev input_leds mac_hid tpm_tis snd_hda_core wmi \r\nSep 28 16:36:18 energia kernel: CPU: 1 PID: 886 Comm: systemd-journal Not tainted 4.2.1-1-ARCH #1\r\nSep 28 16:36:18 energia kernel: Hardware name: LENOVO 4180AP3/4180AP3, BIOS 83ET73WW (1.43 ) 11/30/2012\r\nSep 28 16:36:18 energia kernel: task: ffff880290ea3700 ti: ffff8800d05ec000 task.ti: ffff8800d05ec000\r\nSep 28 16:36:18 energia kernel: RIP: 0010:[<ffffffffa0207f43>]  [<ffffffffa0207f43>] btrfs_sync_file+0xe3/0x380 [btrfs]\r\nSep 28 16:36:18 energia kernel: RSP: 0018:ffff8800d05efe28  EFLAGS: 00010292\r\nSep 28 16:36:18 energia kernel: RAX: ffff880290ea3700 RBX: ffff88007fcd7100 RCX: 0000000000000000\r\nSep 28 16:36:18 energia kernel: RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff880287acb5e8\r\nSep 28 16:36:18 energia kernel: RBP: ffff8800d05efeb8 R08: 0000000000000001 R09: d39cd408d006fa08\r\nSep 28 16:36:18 energia kernel: R10: 00005593879195c0 R11: 0000000000000246 R12: ffff880287acb5e8\r\nSep 28 16:36:18 energia kernel: R13: ffff880287acb540 R14: 0000000000000000 R15: 0000000000000000\r\nSep 28 16:36:18 energia kernel: FS:  00007f342e8f4840(0000) GS:ffff88029e240000(0000) knlGS:0000000000000000\r\nSep 28 16:36:18 energia kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033\r\nSep 28 16:36:18 energia kernel: CR2: 0000000000000334 CR3: 00000000d0581000 CR4: 00000000000406e0\r\nSep 28 16:36:18 energia kernel: Stack:\r\nSep 28 16:36:18 energia kernel:  ffff880000000788 00000000f992d198 8000000000000000 ffff8800cfa06840\r\nSep 28 16:36:18 energia kernel:  7fffffffffffffff 0000000000000000 ffff8800d05efed8 ffffffff8110f52c\r\nSep 28 16:36:18 energia kernel:  00000000000000ff 0000000000001000 0000000000001020 00000000f992d198\r\nSep 28 16:36:18 energia kernel: Call Trace:\r\nSep 28 16:36:18 energia kernel:  [<ffffffff8110f52c>] ? seccomp_phase1+0x8c/0x280\r\nSep 28 16:36:18 energia kernel:  [<ffffffff81201edb>] vfs_fsync_range+0x4b/0xb0\r\nSep 28 16:36:18 energia kernel:  [<ffffffff81201f9d>] do_fsync+0x3d/0x70\r\nSep 28 16:36:18 energia kernel:  [<ffffffff81202240>] SyS_fsync+0x10/0x20\r\nSep 28 16:36:18 energia kernel:  [<ffffffff81570cee>] entry_SYSCALL_64_fastpath+0x12/0x71\r\nSep 28 16:36:18 energia kernel: Code: eb 8e e8 f5 b0 df e0 eb 87 48 8b 45 90 4c 8b 75 98 4d 8d a5 a8 00 00 00 4c 89 e7 4c 29 f0 48 83 c0 01 48 89 45 80 e8 ed 6b 36 e1 <f0> 41 ff 87 34 03 00 00 49 8b 85 70 ff ff ff 48 c1 e8 07 83 e0 \r\nSep 28 16:36:18 energia kernel: RIP  [<ffffffffa0207f43>] btrfs_sync_file+0xe3/0x380 [btrfs]\r\nSep 28 16:36:18 energia kernel:  RSP <ffff8800d05efe28>\r\nSep 28 16:36:18 energia kernel: CR2: 0000000000000334\r\nSep 28 16:36:18 energia kernel: ---[ end trace f1424ae37b5abefa ]---\r\n```"},"comment":{"url":"https://api.github.com/repos/coreos/rkt/issues/comments/150714575","html_url":"https://github.com/coreos/rkt/issues/1498#issuecomment-150714575","issue_url":"https://api.github.com/repos/coreos/rkt/issues/1498","id":150714575,"user":{"login":"dgonyeo","id":2439413,"avatar_url":"https://avatars.githubusercontent.com/u/2439413?v=3","gravatar_id":"","url":"https://api.github.com/users/dgonyeo","html_url":"https://github.com/dgonyeo","followers_url":"https://api.github.com/users/dgonyeo/followers","following_url":"https://api.github.com/users/dgonyeo/following{/other_user}","gists_url":"https://api.github.com/users/dgonyeo/gists{/gist_id}","starred_url":"https://api.github.com/users/dgonyeo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dgonyeo/subscriptions","organizations_url":"https://api.github.com/users/dgonyeo/orgs","repos_url":"https://api.github.com/users/dgonyeo/repos","events_url":"https://api.github.com/users/dgonyeo/events{/privacy}","received_events_url":"https://api.github.com/users/dgonyeo/received_events","type":"User","site_admin":false},"created_at":"2015-10-23T23:23:16Z","updated_at":"2015-10-23T23:23:16Z","body":"Looks to me like you're hitting a bug in a different location in the kernel. Could be another symptom of the same issue though."}}