Bug 209295
Summary: | btrfs: NULL pointer dereference, address: 0000000000000018 - btrfs-delalloc btrfs_work_helper - RIP: 0010:compress_file_range+0x612/0x790 | ||
---|---|---|---|
Product: | File System | Reporter: | Tomas Thiemel (thiemel) |
Component: | btrfs | Assignee: | BTRFS virtual assignee (fs_btrfs) |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | ||
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 5.9.8, 5.7.19 | Subsystem: | |
Regression: | No | Bisected commit-id: |
Description
Tomas Thiemel
2020-09-17 07:26:27 UTC
Kernel 5.9.8, same error. [12391.403972] BUG: kernel NULL pointer dereference, address: 0000000000000018 [12391.411563] #PF: supervisor read access in kernel mode [12391.417481] #PF: error_code(0x0000) - not-present page [12391.423430] PGD 0 P4D 0 [12391.426743] Oops: 0000 [#1] SMP [12391.430652] CPU: 1 PID: 8958 Comm: kworker/u16:1 Tainted: G A 5.9.8-gentoo-xeon #2 [12391.440306] Hardware name: MSI MS-7759/Z77MA-G45 (MS-7759), BIOS V1.9 03/01/2013 [12391.448521] Workqueue: btrfs-delalloc btrfs_work_helper [12391.454576] RIP: 0010:compress_file_range+0x612/0x790 [12391.460443] Code: c5 01 4d 85 ff 0f 84 08 fd ff ff 31 db 31 c0 48 83 7c 24 48 00 75 0f eb 3e 83 c3 01 48 63 c3 48 3b 44 24 48 73 31 49 8b 3c c7 <48> 83 7f 18 00 75 6c 48 8b 47 08 48 8d 50 ff a8 01 48 0f 45 fa f0 [12391.480971] RSP: 0018:ffffc90001aa7d38 EFLAGS: 00010206 [12391.487096] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 [12391.495174] RDX: ffffffff82e11c00 RSI: ffffffff813deed4 RDI: 0000000000000000 [12391.503236] RBP: ffff88811a546ae0 R08: ffff8887f1382e60 R09: ffff8887f1382e60 [12391.511312] R10: 0000000000000000 R11: fffffffffffffffb R12: 0000000000001000 [12391.519401] R13: 0000000000000001 R14: 000000000002b000 R15: ffff8887ef49d080 [12391.527519] FS: 0000000000000000(0000) GS:ffff8887fe600000(0000) knlGS:0000000000000000 [12391.536591] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [12391.543326] CR2: 0000000000000018 CR3: 0000000006211004 CR4: 00000000001726e0 [12391.551450] Call Trace: [12391.554943] async_cow_start+0xd/0x30 [12391.559639] btrfs_work_helper+0xdd/0x1f0 [12391.564627] ? try_to_wake_up+0x1a0/0x3a0 [12391.569633] process_one_work+0x201/0x3e0 [12391.574631] ? process_one_work+0x1a4/0x3e0 [12391.579784] worker_thread+0x4b/0x3a0 [12391.584381] ? process_one_work+0x3e0/0x3e0 [12391.589497] kthread+0x110/0x150 [12391.593686] ? kthread_park+0x80/0x80 [12391.598271] ret_from_fork+0x1f/0x30 [12391.602742] Modules linked in: xt_state vhost_net vhost vhost_iotlb tap tun xt_CHECKSUM xt_MASQUERADE xt_conntrack ipt_REJECT nf_reject_ipv4 xt_tcpudp ip6table_mangle ip6table_nat iptable_mangle iptable_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 ebtable_filter ebtables ip6table_filter ip6_tables iptable_filter ip_tables x_tables fuse nfsd auth_rpcgss oid_registry lockd grace sunrpc nls_iso8859_1 vfat fat binfmt_misc x86_pkg_temp_thermal dummy kvm_intel f71882fg kvm coretemp at24 regmap_i2c crct10dif_pclmul crc32_pclmul iTCO_wdt iTCO_vendor_support crc32c_intel ghash_clmulni_intel aesni_intel crypto_simd xhci_pci cryptd xhci_hcd glue_helper i2c_i801 ehci_pci i2c_smbus ehci_hcd video r8169 backlight i2c_core fan evdev thermal usbcore realtek mei_me mdio_devres pm80xx libphy mei lpc_ich usb_common mfd_core [12391.681680] CR2: 0000000000000018 [12391.685825] ---[ end trace c361f5cbe7dcdd12 ]--- [12391.691263] RIP: 0010:compress_file_range+0x612/0x790 [12391.697112] Code: c5 01 4d 85 ff 0f 84 08 fd ff ff 31 db 31 c0 48 83 7c 24 48 00 75 0f eb 3e 83 c3 01 48 63 c3 48 3b 44 24 48 73 31 49 8b 3c c7 <48> 83 7f 18 00 75 6c 48 8b 47 08 48 8d 50 ff a8 01 48 0f 45 fa f0 [12391.717691] RSP: 0018:ffffc90001aa7d38 EFLAGS: 00010206 [12391.723785] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 [12391.731818] RDX: ffffffff82e11c00 RSI: ffffffff813deed4 RDI: 0000000000000000 [12391.739860] RBP: ffff88811a546ae0 R08: ffff8887f1382e60 R09: ffff8887f1382e60 [12391.747896] R10: 0000000000000000 R11: fffffffffffffffb R12: 0000000000001000 [12391.755932] R13: 0000000000000001 R14: 000000000002b000 R15: ffff8887ef49d080 [12391.763923] FS: 0000000000000000(0000) GS:ffff8887fe600000(0000) knlGS:0000000000000000 [12391.772894] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [12391.779507] CR2: 0000000000000018 CR3: 0000000006211004 CR4: 00000000001726e0 [12391.787521] BUG: sleeping function called from invalid context at include/linux/percpu-rwsem.h:49 [12391.797309] in_atomic(): 0, irqs_disabled(): 1, non_block: 0, pid: 8958, name: kworker/u16:1 [12391.806617] INFO: lockdep is turned off. [12391.811417] CPU: 1 PID: 8958 Comm: kworker/u16:1 Tainted: G DA 5.9.8-gentoo-xeon #2 [12391.821175] Hardware name: MSI MS-7759/Z77MA-G45 (MS-7759), BIOS V1.9 03/01/2013 [12391.829462] Workqueue: btrfs-delalloc btrfs_work_helper [12391.835526] Call Trace: [12391.838800] dump_stack+0x57/0x6a [12391.842971] ___might_sleep.cold+0x95/0xa2 [12391.847889] exit_signals+0x2b/0x220 [12391.852287] do_exit+0xcb/0xb10 [12391.856243] ? process_one_work+0x3e0/0x3e0 [12391.861321] ? kthread+0x110/0x150 [12391.865573] rewind_stack_do_exit+0x17/0x20 [12391.870546] RIP: 0000:0x0 [12391.873967] Code: Unable to access opcode bytes at RIP 0xffffffffffffffd6. [12391.881627] RSP: 0000:0000000000000000 EFLAGS: 00000000 ORIG_RAX: 0000000000000000 [12391.890020] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 [12391.897983] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 [12391.905954] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000 [12391.913912] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 [12391.921863] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 Duplicate of 209153 *** This bug has been marked as a duplicate of bug 209153 *** |