For reference, the splat was:

[ 2465.077373] BUG: kernel NULL pointer dereference, address: 0000000000000000
[ 2465.077397] #PF: supervisor read access in kernel mode
[ 2465.077403] #PF: error_code(0x0000) - not-present page
[ 2465.077409] PGD 0 P4D 0 
[ 2465.077415] Oops: 0000 [#1] SMP NOPTI
[ 2465.077422] CPU: 0 PID: 23215 Comm: receive_writer Tainted: P           O    
  5.4.0-21-generic #25-Ubuntu
[ 2465.077433] Hardware name: System manufacturer System Product 
Name/P5LD2-X/1333, BIOS 0214    12/23/2008
[ 2465.077619] RIP: 0010:abd_verify+0xa/0x40 [zfs]
[ 2465.077626] Code: ff 85 c0 74 12 48 c7 03 00 00 00 00 48 c7 43 08 00 00 00 
00 5b 5d c3 e8 04 ff ff ff eb e7 c3 90 55 48 89 e5 41 54 53 48 89 fb <8b> 3f e8 
0f ff ff ff 85 c0 75 22 44 8b 63 1c 48 8b 7b 20 4d 85 e4
[ 2465.077642] RSP: 0018:ffffb28b51f6f998 EFLAGS: 00010282
[ 2465.077649] RAX: 0000000000004000 RBX: 0000000000000000 RCX: 0000000000000000
[ 2465.077656] RDX: 0000000000004000 RSI: 0000000000004000 RDI: 0000000000000000
[ 2465.077662] RBP: ffffb28b51f6f9a8 R08: 00000000000003da R09: 000000000045e54c
[ 2465.077669] R10: 00000000000036bf R11: 0000000000000000 R12: 0000000000004000
[ 2465.077675] R13: ffff8ff6af5bd5f0 R14: 0000000000004000 R15: 0000000000000000
[ 2465.077683] FS:  0000000000000000(0000) GS:ffff8ff70c600000(0000) 
knlGS:0000000000000000
[ 2465.077691] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 2465.077697] CR2: 0000000000000000 CR3: 0000000058e50000 CR4: 00000000000006f0
[ 2465.077704] Call Trace:
[ 2465.077754]  abd_borrow_buf+0x19/0x60 [zfs]
[ 2465.077801]  abd_borrow_buf_copy+0x1a/0x50 [zfs]
[ 2465.077873]  zio_crypt_copy_dnode_bonus+0x30/0x130 [zfs]
[ 2465.077922]  arc_buf_untransform_in_place.isra.0+0x2b/0x40 [zfs]
[ 2465.077971]  arc_buf_fill+0x1f0/0x4a0 [zfs]
[ 2465.078021]  arc_untransform+0x22/0x90 [zfs]
[ 2465.078070]  dbuf_read_verify_dnode_crypt+0xed/0x160 [zfs]
[ 2465.078141]  ? atomic_cmpxchg+0x16/0x30 [zfs]
[ 2465.078191]  dbuf_read_impl+0x117/0x610 [zfs]
[ 2465.078240]  ? atomic64_add_return+0x12/0x30 [zfs]
[ 2465.078291]  dbuf_read+0xcb/0x5f0 [zfs]
[ 2465.078340]  ? dbuf_hold_impl+0x2f/0x40 [zfs]
[ 2465.078395]  dmu_tx_check_ioerr+0x70/0xd0 [zfs]
[ 2465.078450]  dmu_tx_hold_free_impl+0x12c/0x240 [zfs]
[ 2465.078507]  dmu_tx_hold_free+0x40/0x50 [zfs]
[ 2465.078559]  dmu_free_long_range_impl+0x124/0x350 [zfs]
[ 2465.078612]  dmu_free_long_range+0x74/0xc0 [zfs]
[ 2465.078665]  dmu_free_long_object+0x27/0xc0 [zfs]
[ 2465.078720]  receive_freeobjects.isra.0+0x7a/0x100 [zfs]
[ 2465.078777]  receive_process_record+0x89/0x1c0 [zfs]
[ 2465.078833]  receive_writer_thread+0x9a/0x150 [zfs]
[ 2465.078889]  ? receive_process_record+0x1c0/0x1c0 [zfs]
[ 2465.078910]  thread_generic_wrapper+0x83/0xa0 [spl]
[ 2465.078919]  kthread+0x104/0x140
[ 2465.078929]  ? clear_bit+0x20/0x20 [spl]
[ 2465.078934]  ? kthread_park+0x90/0x90
[ 2465.078941]  ret_from_fork+0x1f/0x40
[ 2465.078946] Modules linked in: nfnetlink 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 bpfilter 
essiv authenc dm_crypt zfs(PO) zunicode(PO) zavl(PO) icp(PO) zcommon(PO) 
znvpair(PO) spl(O) zlua(PO) snd_ctxfi snd_pcm snd_timer snd soundcore 
input_leds 8021q garp mrp asus_atk0110 kvm_intel bridge stp llc mac_hid kvm 
serio_raw sch_fq_codel nfsd nfs_acl lockd grace auth_rpcgss hwmon_vid coretemp 
sunrpc ip_tables x_tables autofs4 btrfs xor zstd_compress hid_generic usbhid 
hid raid6_pq libcrc32c nouveau mxm_wmi wmi gpio_ich video i2c_algo_bit ttm 
drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops r8169 i2c_i801 
pata_acpi lpc_ich drm realtek
[ 2465.079029] CR2: 0000000000000000
[ 2465.079035] ---[ end trace 7a059aed43188006 ]---
[ 2465.079084] RIP: 0010:abd_verify+0xa/0x40 [zfs]
[ 2465.079090] Code: ff 85 c0 74 12 48 c7 03 00 00 00 00 48 c7 43 08 00 00 00 
00 5b 5d c3 e8 04 ff ff ff eb e7 c3 90 55 48 89 e5 41 54 53 48 89 fb <8b> 3f e8 
0f ff ff ff 85 c0 75 22 44 8b 63 1c 48 8b 7b 20 4d 85 e4
[ 2465.079104] RSP: 0018:ffffb28b51f6f998 EFLAGS: 00010282
[ 2465.079110] RAX: 0000000000004000 RBX: 0000000000000000 RCX: 0000000000000000
[ 2465.079116] RDX: 0000000000004000 RSI: 0000000000004000 RDI: 0000000000000000
[ 2465.079411] RBP: ffffb28b51f6f9a8 R08: 00000000000003da R09: 000000000045e54c
[ 2465.079702] R10: 00000000000036bf R11: 0000000000000000 R12: 0000000000004000
[ 2465.079993] R13: ffff8ff6af5bd5f0 R14: 0000000000004000 R15: 0000000000000000
[ 2465.080279] FS:  0000000000000000(0000) GS:ffff8ff70c600000(0000) 
knlGS:0000000000000000
[ 2465.080571] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 2465.080883] CR2: 0000000000000000 CR3: 0000000058e50000 CR4: 00000000000006f0

** Changed in: linux (Ubuntu)
   Importance: Undecided => Medium

** Changed in: linux (Ubuntu)
     Assignee: (unassigned) => Colin Ian King (colin-king)

** Changed in: linux (Ubuntu)
       Status: Confirmed => Triaged

-- 
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:
  Triaged

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

Reply via email to