Open rincebrain opened 3 years ago
This issue has been automatically marked as "stale" because it has not had any activity for a while. It will be closed in 90 days if no further activity occurs. Thank you for your contributions.
We just hit something similar (openSUSE 15.4 on x86_64, zfs 2.1.12):
kernel: BUG: kernel NULL pointer dereference, address: 0000000000000000
kernel: #PF: supervisor read access in kernel mode
kernel: #PF: error_code(0x0000) - not-present page
kernel: PGD 2c0c9e067 P4D 0
kernel: Oops: 0000 [#1] PREEMPT SMP NOPTI
kernel: CPU: 21 PID: 155257 Comm: lxd Tainted: P W OEL N 5.14.21-150400.24.74-default #1 SLE15-SP4 07091c7be5d59eef57a6ebdfed686f664f470b8f
kernel: Hardware name: ASUSTeK COMPUTER INC. RS500A-E12-RS12U/K14PA-U24 Series, BIOS 0901 05/04/2023
kernel: RIP: 0010:abd_borrow_buf_copy+0x1e/0x90 [zfs]
kernel: Code: 89 f7 e9 25 ad 10 00 0f 1f 44 00 00 0f 1f 44 00 00 55 53 48 89 fb 48 83 ec 18 65 48 8b 04 25 28 00 00 00 48 89 44 24 10 31 c0 <f6> 07 01 74 22 48 8b 6f 48 48 8b 54 24 10 65 48 33 14 25 28 00 00
kernel: RSP: 0018:ff58234fcd6036a0 EFLAGS: 00010246
kernel: RAX: 0000000000000000 RBX: 0000000000000000 RCX: ff44b8b0e9d8c000
kernel: RDX: 0000000000004000 RSI: 0000000000004000 RDI: 0000000000000000
kernel: RBP: 0000000000000000 R08: 00000000000002d9 R09: 000000000055fcce
kernel: R10: ff58234fcd603718 R11: 000000000053a758 R12: 0000000000000010
kernel: R13: 000000000000000a R14: ffffffffc29e7590 R15: ffffffffc29e75b0
kernel: FS: 00007fd1d77fe700(0000) GS:ff44b96389d40000(0000) knlGS:0000000000000000
kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
kernel: CR2: 0000000000000000 CR3: 0000000186e2a005 CR4: 0000000000771ee0
kernel: PKRU: 55555554
kernel: Call Trace:
kernel: <TASK>
kernel: zio_crypt_copy_dnode_bonus+0x2e/0x130 [zfs a647e9021e8813a1e3977354ef6278e499acd8a9]
kernel: arc_buf_fill+0x3fb/0xb40 [zfs a647e9021e8813a1e3977354ef6278e499acd8a9]
kernel: ? spl_kmem_cache_alloc+0x73/0x750 [spl df0d1403fe30b557d05a20f0126feb831ea7125d]
kernel: arc_untransform+0x1d/0x80 [zfs a647e9021e8813a1e3977354ef6278e499acd8a9]
kernel: dbuf_read_verify_dnode_crypt+0xf7/0x160 [zfs a647e9021e8813a1e3977354ef6278e499acd8a9]
kernel: dbuf_read_impl.constprop.33+0x2f5/0x6a0 [zfs a647e9021e8813a1e3977354ef6278e499acd8a9]
kernel: ? zio_create+0x41c/0x4b0 [zfs a647e9021e8813a1e3977354ef6278e499acd8a9]
kernel: ? zio_null+0x2b/0x40 [zfs a647e9021e8813a1e3977354ef6278e499acd8a9]
kernel: dbuf_read+0x1b6/0x5a0 [zfs a647e9021e8813a1e3977354ef6278e499acd8a9]
kernel: dmu_buf_hold+0x5a/0x90 [zfs a647e9021e8813a1e3977354ef6278e499acd8a9]
kernel: ? __mutex_lock.isra.13+0x468/0x4a0
kernel: zap_lockdir+0x4e/0xc0 [zfs a647e9021e8813a1e3977354ef6278e499acd8a9]
kernel: zap_lookup_norm+0x5d/0xd0 [zfs a647e9021e8813a1e3977354ef6278e499acd8a9]
kernel: zap_lookup+0x12/0x20 [zfs a647e9021e8813a1e3977354ef6278e499acd8a9]
kernel: sa_setup+0x216/0x5d0 [zfs a647e9021e8813a1e3977354ef6278e499acd8a9]
kernel: ? dbuf_cache_multilist_index_func+0x29/0x40 [zfs a647e9021e8813a1e3977354ef6278e499acd8a9]
kernel: ? multilist_insert+0x83/0xc0 [zfs a647e9021e8813a1e3977354ef6278e499acd8a9]
kernel: ? dbuf_rele_and_unlock+0x599/0x670 [zfs a647e9021e8813a1e3977354ef6278e499acd8a9]
kernel: ? mze_find+0x8f/0xc0 [zfs a647e9021e8813a1e3977354ef6278e499acd8a9]
kernel: ? zap_lookup_impl+0x89/0x280 [zfs a647e9021e8813a1e3977354ef6278e499acd8a9]
kernel: ? zap_lockdir+0x90/0xc0 [zfs a647e9021e8813a1e3977354ef6278e499acd8a9]
kernel: ? zap_lookup_norm+0x9a/0xd0 [zfs a647e9021e8813a1e3977354ef6278e499acd8a9]
kernel: ? zfs_rangelock_cb+0x90/0x90 [zfs a647e9021e8813a1e3977354ef6278e499acd8a9]
kernel: ? zfs_rangelock_cb+0x90/0x90 [zfs a647e9021e8813a1e3977354ef6278e499acd8a9]
kernel: zfsvfs_init+0x39c/0x560 [zfs a647e9021e8813a1e3977354ef6278e499acd8a9]
kernel: zfsvfs_create_impl+0x214/0x2e0 [zfs a647e9021e8813a1e3977354ef6278e499acd8a9]
kernel: zfsvfs_create+0x93/0xd0 [zfs a647e9021e8813a1e3977354ef6278e499acd8a9]
kernel: zfs_domount+0x8d/0x510 [zfs a647e9021e8813a1e3977354ef6278e499acd8a9]
kernel: ? register_shrinker_prepared+0x15/0x50
kernel: zpl_mount+0x172/0x1c0 [zfs a647e9021e8813a1e3977354ef6278e499acd8a9]
kernel: legacy_get_tree+0x27/0x50
kernel: vfs_get_tree+0x25/0xd0
kernel: path_mount+0x6e4/0x9b0
kernel: do_mount+0x79/0x90
kernel: __x64_sys_mount+0x86/0xe0
kernel: do_syscall_64+0x5b/0x80
kernel: ? syscall_exit_to_user_mode+0x18/0x40
kernel: ? do_syscall_64+0x67/0x80
kernel: ? do_syscall_64+0x67/0x80
kernel: ? syscall_exit_to_user_mode+0x18/0x40
kernel: ? do_syscall_64+0x67/0x80
kernel: ? do_syscall_64+0x67/0x80
kernel: ? do_syscall_64+0x67/0x80
kernel: entry_SYSCALL_64_after_hwframe+0x61/0xcb
kernel: RIP: 0033:0x55befd480cca
kernel: Code: e8 9b a8 fe ff 48 8b 7c 24 10 48 8b 74 24 18 48 8b 54 24 20 4c 8b 54 24 28 4c 8b 44 24 30 4c 8b 4c 24 38 48 8b 44 24 08 0f 05 <48> 3d 01 f0 ff ff 76 20 48 c7 44 24 40 ff ff ff ff 48 c7 44 24 48
kernel: RSP: 002b:000000c000a40bc0 EFLAGS: 00000206 ORIG_RAX: 00000000000000a5
kernel: RAX: ffffffffffffffda RBX: 000000c00004a000 RCX: 000055befd480cca
kernel: RDX: 000000c0008b3608 RSI: 000000c001ee23c0 RDI: 000000c0014aa2c0
kernel: RBP: 000000c000a40c60 R08: 0000000000000000 R09: 0000000000000000
kernel: R10: 0000000000000000 R11: 0000000000000206 R12: 000000c0008b3600
kernel: R13: 0000000000000000 R14: 000000c0010b0340 R15: ffffffffffffffff
kernel: </TASK>
kernel: Modules linked in: ext4 crc16 mbcache jbd2 mptcp_diag(N) xsk_diag vsock_diag tcp_diag udp_diag raw_diag inet_diag unix_diag af_packet_diag netlink_diag nf_conntrack_netlink veth vhost_net tun macvtap tap xt_MASQUERADE bridge xfrm_user xfrm_algo >
kernel: bpfilter ipmi_ssif irdma ice ib_uverbs ib_core intel_rapl_msr intel_rapl_common amd64_edac edac_mce_amd kvm_amd kvm irqbypass wmi_bmof pcspkr ast drm_vram_helper drm_ttm_helper ttm drm_kms_helper cec rc_core igb cdc_ether acpi_ipmi nls_iso8859_>
kernel: Supported: No, Proprietary and Unsupported modules are loaded
kernel: CR2: 0000000000000000
kernel: ---[ end trace 8fee561c11b22c55 ]---
kernel: RIP: 0010:abd_borrow_buf_copy+0x1e/0x90 [zfs]
kernel: Code: 89 f7 e9 25 ad 10 00 0f 1f 44 00 00 0f 1f 44 00 00 55 53 48 89 fb 48 83 ec 18 65 48 8b 04 25 28 00 00 00 48 89 44 24 10 31 c0 <f6> 07 01 74 22 48 8b 6f 48 48 8b 54 24 10 65 48 33 14 25 28 00 00
kernel: RSP: 0018:ff58234fcd6036a0 EFLAGS: 00010246
kernel: RAX: 0000000000000000 RBX: 0000000000000000 RCX: ff44b8b0e9d8c000
kernel: RDX: 0000000000004000 RSI: 0000000000004000 RDI: 0000000000000000
kernel: RBP: 0000000000000000 R08: 00000000000002d9 R09: 000000000055fcce
kernel: R10: ff58234fcd603718 R11: 000000000053a758 R12: 0000000000000010
kernel: R13: 000000000000000a R14: ffffffffc29e7590 R15: ffffffffc29e75b0
kernel: FS: 00007fd1d77fe700(0000) GS:ff44b96389d40000(0000) knlGS:0000000000000000
kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
kernel: CR2: 0000000000000000 CR3: 0000000186e2a005 CR4: 0000000000771ee0
kernel: PKRU: 55555554
(This could be related to #11679 , but I'm not sure, because the stack isn't entirely the same.)
System information
Describe the problem you're observing
While running ZTS through the "sanity" runfile, suddenly Oops in my logs.
Describe how to reproduce the problem
See above.
Include any warning/errors/backtraces from the system logs