Sorry - I see right now that the bug is slightly different: Mine has the NULL pointer dereference in abd_verify while the above posted trace shows abd_borrow_buf.
[ 7081.805511] BUG: kernel NULL pointer dereference, address: 0000000000000000 [ 7081.805517] #PF: supervisor read access in kernel mode [ 7081.805519] #PF: error_code(0x0000) - not-present page [ 7081.805520] PGD 0 P4D 0 [ 7081.805525] Oops: 0000 [#1] SMP NOPTI [ 7081.805529] CPU: 5 PID: 312206 Comm: receive_writer Tainted: P O 5.8.0-25-generic #26-Ubuntu [ 7081.805531] Hardware name: LENOVO 20T9S00K00/20T9S00K00, BIOS R1AET32W (1.08 ) 08/14/2020 [ 7081.805538] RIP: 0010:sg_next+0x0/0x20 [ 7081.805541] Code: cc cc cc cc cc cc cc cc cc cc c7 47 10 00 00 00 00 89 57 0c 48 89 37 89 4f 08 c3 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 <f6> 07 02 75 17 48 8b 57 20 48 83 c7 20 48 89 d0 48 83 e0 fc 83 e2 [ 7081.805543] RSP: 0018:ffffaef209a379e0 EFLAGS: 00010293 [ 7081.805546] RAX: 0000000000000001 RBX: 0000000000000001 RCX: 0000000000000000 [ 7081.805548] RDX: 0000000000004000 RSI: ffff9c6ea4a90000 RDI: 0000000000000000 [ 7081.805549] RBP: ffffaef209a379f8 R08: ffff9c6ea4a93e00 R09: 0000000000000000 [ 7081.805551] R10: 0000000000000000 R11: 0000000000000000 R12: 000000001138482c [ 7081.805553] R13: ffff9c6ea4a90000 R14: 0000000000004000 R15: ffff9c6d56f2daf0 [ 7081.805555] FS: 0000000000000000(0000) GS:ffff9c6fff940000(0000) knlGS:0000000000000000 [ 7081.805557] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 7081.805559] CR2: 0000000000000000 CR3: 0000000111f1a000 CR4: 0000000000340ee0 [ 7081.805561] Call Trace: [ 7081.805642] ? abd_verify+0x29/0x40 [zfs] [ 7081.805712] abd_return_buf+0x1c/0x50 [zfs] [ 7081.805815] zio_crypt_copy_dnode_bonus+0x106/0x130 [zfs] [ 7081.805886] arc_buf_untransform_in_place.constprop.0+0x2b/0x40 [zfs] [ 7081.805957] arc_buf_fill+0x219/0x4d0 [zfs] [ 7081.806028] arc_untransform+0x22/0x90 [zfs] [ 7081.806100] dbuf_read_verify_dnode_crypt+0xed/0x160 [zfs] [ 7081.806185] dbuf_read_impl+0x107/0x5e0 [zfs] [ 7081.806198] ? spl_kmem_free_impl+0x25/0x30 [spl] [ 7081.806270] dbuf_read+0xc1/0x580 [zfs] [ 7081.806280] ? spl_kmem_free+0xe/0x10 [spl] [ 7081.806351] ? dbuf_hold_impl+0x2f/0x40 [zfs] [ 7081.806430] dmu_tx_check_ioerr+0x70/0xd0 [zfs] [ 7081.806505] dmu_tx_hold_free_impl+0x128/0x240 [zfs] [ 7081.806578] dmu_tx_hold_free+0x40/0x50 [zfs] [ 7081.806659] dmu_free_long_range_impl+0x11f/0x330 [zfs] [ 7081.806735] dmu_free_long_range+0x74/0xc0 [zfs] [ 7081.806808] dmu_free_long_object+0x27/0xc0 [zfs] [ 7081.806888] receive_freeobjects+0x72/0x100 [zfs] [ 7081.806967] receive_process_record+0x83/0x170 [zfs] [ 7081.807044] receive_writer_thread+0x9a/0x150 [zfs] [ 7081.807120] ? spl_fstrans_unmark.isra.0+0x20/0x20 [zfs] [ 7081.807136] thread_generic_wrapper+0x79/0x90 [spl] [ 7081.807141] kthread+0x12f/0x150 [ 7081.807151] ? __thread_exit+0x20/0x20 [spl] [ 7081.807154] ? __kthread_bind_mask+0x70/0x70 [ 7081.807159] ret_from_fork+0x22/0x30 [ 7081.807162] Modules linked in: nfnetlink ufs qnx4 hfsplus hfs minix ntfs msdos btrfs blake2b_generic xor raid6_pq ccm rfcomm cmac algif_hash algif_skcipher af_alg bnep zfs(PO) zunicode(PO) zavl(PO) icp(PO) zcommon(PO) znvpair(PO) spl(O) zlua(PO) iwlmvm mac80211 libarc4 iwlwifi edac_mce_amd kvm_amd cfg80211 kvm btusb btrtl btbcm btintel bluetooth uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 videobuf2_common videodev mc snd_hda_codec_realtek snd_hda_codec_generic snd_hda_codec_hdmi snd_hda_intel snd_intel_dspcfg snd_hda_codec thinkpad_acpi snd_hda_core snd_hwdep ecdh_generic ecc snd_seq_midi rapl snd_seq_midi_event snd_pcm nvram ccp ledtrig_audio snd_rawmidi snd_seq snd_seq_device snd_timer snd input_leds joydev snd_rn_pci_acp3x snd_pci_acp3x serio_raw efi_pstore k10temp mac_hid soundcore ucsi_acpi typec_ucsi typec wmi_bmof sch_fq_codel parport_pc ppdev lp parport ip_tables x_tables autofs4 overlay nls_utf8 isofs nls_iso8859_1 jfs xfs libcrc32c reiserfs dm_mirror dm_region_hash [ 7081.807224] dm_log uas usb_storage amdgpu iommu_v2 gpu_sched i2c_algo_bit crct10dif_pclmul ttm crc32_pclmul drm_kms_helper syscopyarea ghash_clmulni_intel sysfillrect sysimgblt fb_sys_fops aesni_intel cec crypto_simd rc_core cryptd glue_helper psmouse drm i2c_piix4 xhci_pci nvme xhci_pci_renesas r8169 realtek nvme_core wmi video i2c_scmi [ 7081.807254] CR2: 0000000000000000 [ 7081.807258] ---[ end trace 6159701013ce6dd9 ]--- [ 7081.885700] RIP: 0010:sg_next+0x0/0x20 [ 7081.885700] Code: cc cc cc cc cc cc cc cc cc cc c7 47 10 00 00 00 00 89 57 0c 48 89 37 89 4f 08 c3 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 <f6> 07 02 75 17 48 8b 57 20 48 83 c7 20 48 89 d0 48 83 e0 fc 83 e2 [ 7081.885700] RSP: 0018:ffffaef209a379e0 EFLAGS: 00010293 [ 7081.885700] RAX: 0000000000000001 RBX: 0000000000000001 RCX: 0000000000000000 [ 7081.885700] RDX: 0000000000004000 RSI: ffff9c6ea4a90000 RDI: 0000000000000000 [ 7081.885700] RBP: ffffaef209a379f8 R08: ffff9c6ea4a93e00 R09: 0000000000000000 [ 7081.885700] R10: 0000000000000000 R11: 0000000000000000 R12: 000000001138482c [ 7081.885700] R13: ffff9c6ea4a90000 R14: 0000000000004000 R15: ffff9c6d56f2daf0 [ 7081.885700] FS: 0000000000000000(0000) GS:ffff9c6fff940000(0000) knlGS:0000000000000000 [ 7081.885700] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 7081.885700] CR2: 0000000000000000 CR3: 0000000111f1a000 CR4: 0000000000340ee0 -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1870559 Title: Kernel NULL pointer dereference while receiving zfs snapshots Status in linux package in Ubuntu: Invalid Bug description: I was transferring my zfs snapshots to the backup server, when suddenly it stalled. I checked dmesg on the server and found a "kernel bug" entry. ProblemType: Bug DistroRelease: Ubuntu 20.04 Package: linux-image-5.4.0-21-generic 5.4.0-21.25 ProcVersionSignature: Ubuntu 5.4.0-21.25-generic 5.4.27 Uname: Linux 5.4.0-21-generic x86_64 NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair AlsaVersion: Advanced Linux Sound Architecture Driver Version k5.4.0-21-generic. AplayDevices: Error: [Errno 2] No such file or directory: 'aplay' ApportVersion: 2.20.11-0ubuntu22 Architecture: amd64 ArecordDevices: Error: [Errno 2] No such file or directory: 'arecord' AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/by-path', '/dev/snd/controlC0', '/dev/snd/pcmC0D4p', '/dev/snd/pcmC0D3p', '/dev/snd/pcmC0D2p', '/dev/snd/pcmC0D1p', '/dev/snd/pcmC0D0c', '/dev/snd/pcmC0D0p', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1: Card0.Amixer.info: Error: [Errno 2] No such file or directory: 'amixer' Card0.Amixer.values: Error: [Errno 2] No such file or directory: 'amixer' Date: Fri Apr 3 14:48:19 2020 IwConfig: Error: [Errno 2] No such file or directory: 'iwconfig' MachineType: System manufacturer System Product Name ProcFB: 0 nouveaudrmfb ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.4.0-21-generic root=UUID=7934268a-8e6f-11e8-828e-00133b1029de ro mitigations=off maybe-ubiquity RelatedPackageVersions: linux-restricted-modules-5.4.0-21-generic N/A linux-backports-modules-5.4.0-21-generic N/A linux-firmware 1.187 RfKill: Error: [Errno 2] No such file or directory: 'rfkill' SourcePackage: linux UpgradeStatus: Upgraded to focal on 2020-01-19 (75 days ago) dmi.bios.date: 12/23/2008 dmi.bios.vendor: American Megatrends Inc. dmi.bios.version: 0214 dmi.board.asset.tag: To Be Filled By O.E.M. dmi.board.name: P5LD2-X/1333 dmi.board.vendor: ASUSTeK Computer INC. dmi.board.version: Rev x.xx dmi.chassis.asset.tag: Asset-1234567890 dmi.chassis.type: 3 dmi.chassis.vendor: ASUSTek Computer INC. dmi.chassis.version: Rev 1.xx dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr0214:bd12/23/2008:svnSystemmanufacturer:pnSystemProductName:pvrRev1.xx:rvnASUSTeKComputerINC.:rnP5LD2-X/1333:rvrRevx.xx:cvnASUSTekComputerINC.:ct3:cvrRev1.xx: dmi.product.family: To Be Filled By O.E.M. dmi.product.name: System Product Name dmi.product.sku: To Be Filled By O.E.M. dmi.product.version: Rev 1.xx dmi.sys.vendor: System manufacturer To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1870559/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp