Bug 209295 - btrfs: NULL pointer dereference, address: 0000000000000018 - btrfs-delalloc btrfs_work_helper - RIP: 0010:compress_file_range+0x612/0x790
Summary: btrfs: NULL pointer dereference, address: 0000000000000018 - btrfs-delalloc b...
Status: RESOLVED DUPLICATE of bug 209153
Alias: None
Product: File System
Classification: Unclassified
Component: btrfs (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: BTRFS virtual assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-09-17 07:26 UTC by Tomas Thiemel
Modified: 2020-12-18 22:46 UTC (History)
0 users

See Also:
Kernel Version: 5.9.8, 5.7.19
Subsystem:
Regression: No
Bisected commit-id:


Attachments

Description Tomas Thiemel 2020-09-17 07:26:27 UTC
I upgraded kernel from 5.7.13-gentoo to 5.7.19-gentoo.

I use "deduplication" daemon "bees":
[I] sys-fs/bees
     Available versions:  (~)0.6.1-r2 **9999*l {tools KERNEL="linux"}
     Installed versions:  0.6.1-r2(08:54:36 PM 12/17/2019)(-tools KERNEL="linux")
     Homepage:            https://github.com/Zygo/bees
     Description:         Best-Effort Extent-Same, a btrfs dedup agent




Today:
[14373.266116] perf: interrupt took too long (3274 > 3273), lowering kernel.perf_event_max_sample_rate to 2000
[39900.156715] BUG: kernel NULL pointer dereference, address: 0000000000000018
[39900.164417] #PF: supervisor read access in kernel mode
[39900.170302] #PF: error_code(0x0000) - not-present page
[39900.176191] PGD 0 P4D 0
[39900.179561] Oops: 0000 [#1] SMP
[39900.183420] CPU: 3 PID: 14499 Comm: kworker/u16:0 Tainted: G       A          5.7.19-gentoo-xeon #2
[39900.193639] Hardware name: MSI MS-7759/Z77MA-G45 (MS-7759), BIOS V1.9 03/01/2013
[39900.201779] Workqueue: btrfs-delalloc btrfs_work_helper
[39900.207730] RIP: 0010:compress_file_range+0x618/0x780
[39900.213516] Code: c5 01 4d 85 f6 0f 84 cd fb ff ff 31 db 31 c0 48 83 7c 24 40 00 75 0f eb 3e 83 c3 01 48 63 c3 48 3b 44 24 40 73 31 49 8b 3c c6 <48> 83 7f 18 00 75 6c 48 8b 47 08 48 8d 50 ff a8 01 48 0f 45 fa f0
[39900.233850] RSP: 0018:ffffc90000567d40 EFLAGS: 00010202
[39900.239857] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
[39900.247784] RDX: ffff8884197f1a80 RSI: ffffffff813ea804 RDI: 0000000000000000
[39900.255753] RBP: ffff88806f32ced8 R08: 0000000000000000 R09: 0000000000000000
[39900.263680] R10: 0000000000000001 R11: ffff8883958abcfa R12: 0000000000001000
[39900.271621] R13: 0000000000000001 R14: ffff88831fa3f9c0 R15: 0000000001b60000
[39900.279579] FS:  0000000000000000(0000) GS:ffff8887fea00000(0000) knlGS:0000000000000000
[39900.288814] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[39900.295378] CR2: 0000000000000018 CR3: 0000000006211005 CR4: 00000000001626e0
[39900.303403] Call Trace:
[39900.306668]  async_cow_start+0xd/0x30
[39900.311150]  btrfs_work_helper+0xdd/0x1f0
[39900.315971]  process_one_work+0x201/0x3e0
[39900.320786]  ? process_one_work+0x1a4/0x3e0
[39900.325774]  worker_thread+0x4b/0x3a0
[39900.330225]  kthread+0x109/0x140
[39900.334235]  ? process_one_work+0x3e0/0x3e0
[39900.339204]  ? kthread_park+0x80/0x80
[39900.343636]  ret_from_fork+0x1f/0x30
[39900.347970] Modules linked in: xt_state vhost_net vhost vhost_iotlb tap 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 tun fuse nfsd auth_rpcgss oid_registry lockd grace sunrpc nls_iso8859_1 vfat fat binfmt_misc dummy x86_pkg_temp_thermal f71882fg kvm_intel iTCO_wdt coretemp iTCO_vendor_support kvm crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel xhci_pci aesni_intel xhci_hcd crypto_simd cryptd glue_helper i2c_i801 ehci_pci ehci_hcd mei_me i2c_core r8169 usbcore pm80xx video mei evdev lpc_ich backlight realtek fan thermal ie31200_edac libphy usb_common mfd_core
[39900.423912] CR2: 0000000000000018
[39900.428112] ---[ end trace 487e651f836a3dd3 ]---
[39900.433628] RIP: 0010:compress_file_range+0x618/0x780
[39900.439561] Code: c5 01 4d 85 f6 0f 84 cd fb ff ff 31 db 31 c0 48 83 7c 24 40 00 75 0f eb 3e 83 c3 01 48 63 c3 48 3b 44 24 40 73 31 49 8b 3c c6 <48> 83 7f 18 00 75 6c 48 8b 47 08 48 8d 50 ff a8 01 48 0f 45 fa f0
[39900.460184] RSP: 0018:ffffc90000567d40 EFLAGS: 00010202
[39900.466359] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
[39900.474463] RDX: ffff8884197f1a80 RSI: ffffffff813ea804 RDI: 0000000000000000
[39900.482601] RBP: ffff88806f32ced8 R08: 0000000000000000 R09: 0000000000000000
[39900.490722] R10: 0000000000000001 R11: ffff8883958abcfa R12: 0000000000001000
[39900.498824] R13: 0000000000000001 R14: ffff88831fa3f9c0 R15: 0000000001b60000
[39900.506917] FS:  0000000000000000(0000) GS:ffff8887fea00000(0000) knlGS:0000000000000000
[39900.515981] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[39900.522680] CR2: 0000000000000018 CR3: 0000000006211005 CR4: 00000000001626e0
[39900.530785] BUG: sleeping function called from invalid context at include/linux/percpu-rwsem.h:49
[39900.540656] in_atomic(): 0, irqs_disabled(): 1, non_block: 0, pid: 14499, name: kworker/u16:0
[39900.550158] INFO: lockdep is turned off.
[39900.555077] CPU: 3 PID: 14499 Comm: kworker/u16:0 Tainted: G      DA          5.7.19-gentoo-xeon #2
[39900.565097] Hardware name: MSI MS-7759/Z77MA-G45 (MS-7759), BIOS V1.9 03/01/2013
[39900.573474] Workqueue: btrfs-delalloc btrfs_work_helper
[39900.579666] Call Trace:
[39900.583042]  dump_stack+0x50/0x70
[39900.587450]  ___might_sleep.cold+0x95/0xa2
[39900.592816]  exit_signals+0x2b/0x220
[39900.597321]  do_exit+0xcb/0xb20
[39900.601360]  ? kthread+0x109/0x140
[39900.605660]  rewind_stack_do_exit+0x17/0x20
[39900.610744] RIP: 0000:0x0
[39900.614303] Code: Bad RIP value.
[39900.618419] RSP: 0000:0000000000000000 EFLAGS: 00000000 ORIG_RAX: 0000000000000000
[39900.626884] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
[39900.634924] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
[39900.642949] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
[39900.650974] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
[39900.659034] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000



Yesterday:
[88952.629770] BTRFS info (device dm-2): scrub: finished on devid 4 with status: 0
[113525.549399] BTRFS info (device dm-2): scrub: finished on devid 3 with status: 0
[119731.467436] BTRFS info (device dm-2): scrub: finished on devid 1 with status: 0
[121246.861728] INFO: task crawl_14633:2459 blocked for more than 327 seconds.
[121246.861739]       Tainted: G       A          5.7.19-gentoo-xeon #2
[121246.861739] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[121246.861741] crawl_14633     D    0  2459   2372 0x00000000
[121246.861743] Call Trace:
[121246.861749]  __schedule+0x230/0x6c0
[121246.861752]  schedule+0x5a/0xc0
[121246.861754]  wait_current_trans+0xd9/0x140
[121246.861758]  ? finish_wait+0x80/0x80
[121246.861759]  start_transaction+0x34d/0x4e0
[121246.861761]  ? _raw_write_lock_irqsave+0x60/0x70
[121246.861764]  iterate_extent_inodes+0x78/0x260
[121246.861766]  ? btrfs_get_64+0x41/0x90
[121246.861768]  ? btrfs_inode_flags_to_xflags+0x50/0x50
[121246.861770]  ? iterate_inodes_from_logical+0x99/0xd0
[121246.861772]  iterate_inodes_from_logical+0x99/0xd0
[121246.861773]  ? btrfs_inode_flags_to_xflags+0x50/0x50
[121246.861775]  btrfs_ioctl_logical_to_ino+0x123/0x190
[121246.861778]  btrfs_ioctl+0x14c2/0x3000
[121246.861780]  ? _raw_spin_unlock_irq+0x1a/0x30
[121246.861782]  ? finish_task_switch+0x8e/0x250
[121246.861785]  ? ksys_ioctl+0x66/0xa0
[121246.861787]  ksys_ioctl+0x66/0xa0
[121246.861789]  __x64_sys_ioctl+0x11/0x20
[121246.861791]  do_syscall_64+0x41/0x160
[121246.861794]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
[121246.861795] RIP: 0033:0x7f90955c5347
[121246.861799] Code: Bad RIP value.
[121246.861800] RSP: 002b:00007f90954c2da8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
[121246.861801] RAX: ffffffffffffffda RBX: 00007f90954c2e60 RCX: 00007f90955c5347
[121246.861802] RDX: 00007f90954c2e68 RSI: 00000000c0389424 RDI: 0000000000000003
[121246.861803] RBP: 0000000000000003 R08: 00007f90800008d0 R09: 0000000000000002
[121246.861804] R10: 00007f9080000080 R11: 0000000000000246 R12: 00007f90954c2ea0
[121246.861804] R13: 00007f90954c2e68 R14: 00007f90954c2e30 R15: 00007f90954c2e28
[121246.861806] INFO: task crawl_14633:2461 blocked for more than 327 seconds.
[121246.861807]       Tainted: G       A          5.7.19-gentoo-xeon #2
[121246.861808] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[121246.861809] crawl_14633     D    0  2461   2372 0x00004000
[121246.861810] Call Trace:
[121246.861812]  __schedule+0x230/0x6c0
[121246.861814]  schedule+0x5a/0xc0
[121246.861815]  wait_current_trans+0xd9/0x140
[121246.861817]  ? finish_wait+0x80/0x80
[121246.861818]  start_transaction+0x34d/0x4e0
[121246.861820]  ? _raw_write_lock_irqsave+0x60/0x70
[121246.861821]  iterate_extent_inodes+0x78/0x260
[121246.861823]  ? btrfs_get_64+0x41/0x90
[121246.861824]  ? btrfs_inode_flags_to_xflags+0x50/0x50
[121246.861826]  ? iterate_inodes_from_logical+0x99/0xd0
[121246.861828]  iterate_inodes_from_logical+0x99/0xd0
[121246.861829]  ? btrfs_inode_flags_to_xflags+0x50/0x50
[121246.861831]  btrfs_ioctl_logical_to_ino+0x123/0x190
[121246.861833]  btrfs_ioctl+0x14c2/0x3000
[121246.861836]  ? file_fdatawait_range+0x20/0x20
[121246.861839]  ? new_sync_read+0x122/0x1b0
[121246.861841]  ? ksys_ioctl+0x66/0xa0
[121246.861843]  ksys_ioctl+0x66/0xa0
[121246.861845]  __x64_sys_ioctl+0x11/0x20
[121246.861846]  do_syscall_64+0x41/0x160
[121246.861847]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
[121246.861848] RIP: 0033:0x7f90955c5347
[121246.861850] Code: Bad RIP value.
[121246.861850] RSP: 002b:00007f90944c0da8 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
[121246.861851] RAX: ffffffffffffffda RBX: 00007f90944c0e60 RCX: 00007f90955c5347
[121246.861852] RDX: 00007f90944c0e68 RSI: 00000000c0389424 RDI: 0000000000000003
[121246.861853] RBP: 0000000000000003 R08: 00007f907c0008d0 R09: 0000000000000002
[121246.861854] R10: 00007f907c000080 R11: 0000000000000246 R12: 00007f90944c0ea0
[121246.861854] R13: 00007f90944c0e68 R14: 00007f90944c0e30 R15: 00007f90944c0e28
[121246.861860] INFO: lockdep is turned off.
[129091.244064] BTRFS info (device dm-2): scrub: finished on devid 2 with status: 0
[230901.803208] BUG: kernel NULL pointer dereference, address: 0000000000000018
[230901.810978] #PF: supervisor read access in kernel mode
[230901.816930] #PF: error_code(0x0000) - not-present page
[230901.822874] PGD 0 P4D 0
[230901.826237] Oops: 0000 [#1] SMP
[230901.830184] CPU: 4 PID: 14455 Comm: kworker/u16:1 Tainted: G       A          5.7.19-gentoo-xeon #2
[230901.840031] Hardware name: MSI MS-7759/Z77MA-G45 (MS-7759), BIOS V1.9 03/01/2013
[230901.848577] Workqueue: btrfs-delalloc btrfs_work_helper
[230901.854624] RIP: 0010:compress_file_range+0x618/0x780
[230901.860482] Code: c5 01 4d 85 f6 0f 84 cd fb ff ff 31 db 31 c0 48 83 7c 24 40 00 75 0f eb 3e 83 c3 01 48 63 c3 48 3b 44 24 40 73 31 49 8b 3c c6 <48> 83 7f 18 00 75 6c 48 8b 47 08 48 8d 50 ff a8 01 48 0f 45 fa f0
[230901.880974] RSP: 0018:ffffc900010cfd40 EFLAGS: 00010202
[230901.887257] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
[230901.895715] RDX: ffff8887f1f69a80 RSI: ffffffff813ea804 RDI: 0000000000000000
[230901.903746] RBP: ffff88801be729f8 R08: 0000000000000000 R09: 0000000000000000
[230901.911812] R10: 0000000000000001 R11: ffff888408cb3413 R12: 0000000000001000
[230901.919872] R13: 0000000000000001 R14: ffff8884187d56c0 R15: 0000000001b60000
[230901.927948] FS:  0000000000000000(0000) GS:ffff8887fec00000(0000) knlGS:0000000000000000
[230901.936970] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[230901.944078] CR2: 0000000000000018 CR3: 0000000006211006 CR4: 00000000001626e0
[230901.952133] Call Trace:
[230901.955489]  async_cow_start+0xd/0x30
[230901.960059]  btrfs_work_helper+0xdd/0x1f0
[230901.964972]  process_one_work+0x201/0x3e0
[230901.969873]  ? process_one_work+0x1a4/0x3e0
[230901.975051]  worker_thread+0x4b/0x3a0
[230901.979631]  kthread+0x109/0x140
[230901.983737]  ? process_one_work+0x3e0/0x3e0
[230901.988807]  ? kthread_park+0x80/0x80
[230901.993338]  ret_from_fork+0x1f/0x30
[230901.997784] Modules linked in: xt_state vhost_net vhost vhost_iotlb tap 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 tun fuse nfsd auth_rpcgss oid_registry lockd grace sunrpc nls_iso8859_1 vfat fat binfmt_misc dummy f71882fg x86_pkg_temp_thermal coretemp kvm_intel iTCO_wdt kvm iTCO_vendor_support crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel aesni_intel crypto_simd cryptd glue_helper i2c_i801 xhci_pci i2c_core xhci_hcd ehci_pci ehci_hcd r8169 video thermal backlight fan realtek usbcore mei_me pm80xx lpc_ich evdev libphy mei usb_common ie31200_edac mfd_core
[230902.074240] CR2: 0000000000000018
[230902.078535] ---[ end trace 1943403a6f20e398 ]---
[230902.084143] RIP: 0010:compress_file_range+0x618/0x780
[230902.090411] Code: c5 01 4d 85 f6 0f 84 cd fb ff ff 31 db 31 c0 48 83 7c 24 40 00 75 0f eb 3e 83 c3 01 48 63 c3 48 3b 44 24 40 73 31 49 8b 3c c6 <48> 83 7f 18 00 75 6c 48 8b 47 08 48 8d 50 ff a8 01 48 0f 45 fa f0
[230902.111454] RSP: 0018:ffffc900010cfd40 EFLAGS: 00010202
[230902.117723] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
[230902.126248] RDX: ffff8887f1f69a80 RSI: ffffffff813ea804 RDI: 0000000000000000
[230902.134840] RBP: ffff88801be729f8 R08: 0000000000000000 R09: 0000000000000000
[230902.143056] R10: 0000000000000001 R11: ffff888408cb3413 R12: 0000000000001000
[230902.151241] R13: 0000000000000001 R14: ffff8884187d56c0 R15: 0000000001b60000
[230902.159408] FS:  0000000000000000(0000) GS:ffff8887fec00000(0000) knlGS:0000000000000000
[230902.168523] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[230902.175307] CR2: 0000000000000018 CR3: 0000000006211006 CR4: 00000000001626e0
[230902.183614] BUG: sleeping function called from invalid context at include/linux/percpu-rwsem.h:49
[230902.193560] in_atomic(): 0, irqs_disabled(): 1, non_block: 0, pid: 14455, name: kworker/u16:1
[230902.203168] INFO: lockdep is turned off.
[230902.208187] CPU: 4 PID: 14455 Comm: kworker/u16:1 Tainted: G      DA          5.7.19-gentoo-xeon #2
[230902.218346] Hardware name: MSI MS-7759/Z77MA-G45 (MS-7759), BIOS V1.9 03/01/2013
[230902.226838] Workqueue: btrfs-delalloc btrfs_work_helper
[230902.233322] Call Trace:
[230902.236791]  dump_stack+0x50/0x70
[230902.241103]  ___might_sleep.cold+0x95/0xa2
[230902.246654]  exit_signals+0x2b/0x220
[230902.251257]  do_exit+0xcb/0xb20
[230902.255388]  ? kthread+0x109/0x140
[230902.259753]  rewind_stack_do_exit+0x17/0x20
[230902.264899] RIP: 0000:0x0
[230902.268505] Code: Bad RIP value.
[230902.272706] RSP: 0000:0000000000000000 EFLAGS: 00000000 ORIG_RAX: 0000000000000000
[230902.281264] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
[230902.289521] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
[230902.297599] RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
[230902.305672] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
[230902.313747] R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000
Comment 1 Tomas Thiemel 2020-11-13 17:06:25 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
Comment 2 Tomas Thiemel 2020-12-18 22:46:53 UTC
Duplicate of 209153

*** This bug has been marked as a duplicate of bug 209153 ***

Note You need to log in before you can comment on or make changes to this bug.