Public bug reported:

The backport of upstream commit 68dde63d138882860109178f4ab0b7b1b1bb3cfd in 
0.8.3-1ubuntu14 is not correct for the 0.8.3 stable series and causes an oops 
on boot with a 5.7 kernel. The patch that shipped in 0.8.4 is slightly 
different, and works correctly:
https://github.com/openzfs/zfs/commit/e6142ac0f28891a0ef3de366a45bb857a17ee25a

[   13.848194] BUG: kernel NULL pointer dereference, address: 0000000000000040
[   13.848415] #PF: supervisor write access in kernel mode
[   13.848572] #PF: error_code(0x0002) - not-present page
[   13.848813] PGD 0 P4D 0 
[   13.848896] Oops: 0002 [#1] SMP PTI
[   13.849006] CPU: 3 PID: 1501 Comm: z_zvol Tainted: P           OE     
5.7.0-rc7-customskl #1
[   13.849254] Hardware name: System manufacturer System Product Name/ROG 
MAXIMUS X HERO (WI-FI AC), BIOS 2301 02/25/2020
[   13.849623] RIP: 0010:zvol_create_minor_impl+0x52a/0x810 [zfs]
[   13.849800] Code: 48 8b 54 24 18 49 89 87 08 01 00 00 48 8b 44 24 20 49 89 
97 10 01 00 00 49 8b 97 a8 01 00 00 49 89 87 00 01 00 00 48 c1 e8 09 <48> 89 42 
40 49 8b bf b0 01 00 00 e8 f6 3e f2 cf 49 8b bf b0 01 00
[   13.850346] RSP: 0018:ffffb75ac1df7cf8 EFLAGS: 00010206
[   13.850504] RAX: 0000000002000000 RBX: 3471fa85c299b9ef RCX: 0000000000000000
[   13.850715] RDX: 0000000000000000 RSI: 0000000000008000 RDI: ffffa286a5775000
[   13.850926] RBP: ffffa286a0c60fb0 R08: ffffa286ae55580f R09: 0000000000000000
[   13.851137] R10: ffffa286ae55582c R11: ffffa286ae55580f R12: 0000000000000000
[   13.851347] R13: 0000000000000000 R14: ffffa286962ff380 R15: ffffa286ac071800
[   13.851560] FS:  0000000000000000(0000) GS:ffffa286beac0000(0000) 
knlGS:0000000000000000
[   13.851799] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[   13.851970] CR2: 0000000000000040 CR3: 000000051f20a001 CR4: 00000000003606e0
[   13.852181] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[   13.852392] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[   13.852602] Call Trace:
[   13.852733]  zvol_task_cb+0x258/0x570 [zfs]
[   13.852867]  ? __schedule+0x1d8/0x560
[   13.852988]  taskq_thread+0x2c3/0x490 [spl]
[   13.853119]  ? __switch_to_asm+0x34/0x70
[   13.853241]  ? wake_up_q+0xa0/0xa0
[   13.853350]  kthread+0xfb/0x130
[   13.853453]  ? task_done+0x90/0x90 [spl]
[   13.853573]  ? kthread_park+0x90/0x90
[   13.853686]  ret_from_fork+0x35/0x40
[   13.853797] Modules linked in: input_leds btusb uvcvideo btbcm btrtl 
videobuf2_vmalloc btintel videobuf2_memops snd_usb_audio videobuf2_v4l2 
bluetooth videobuf2_common hid_generic videodev snd_usbmidi_lib ecdh_generic mc 
usbhid ecc intel_rapl_msr intel_rapl_common uas usb_storage zfs(POE) 
x86_pkg_temp_thermal zunicode(POE) intel_powerclamp zlua(POE) mxm_wmi 
snd_hda_codec_realtek snd_hda_codec_generic ledtrig_audio snd_hda_codec_hdmi 
snd_hda_intel amdgpu snd_intel_dspcfg crct10dif_pclmul snd_hda_codec 
crc32_pclmul crc32c_intel snd_hwdep snd_hda_core rtwpci snd_pcm_oss rtw88 
snd_mixer_oss zcommon(POE) ghash_clmulni_intel snd_pcm znvpair(POE) vfat 
zavl(POE) icp(POE) fat snd_seq_oss spl(OE) mac80211 snd_seq_midi mfd_core 
gpu_sched i2c_algo_bit aesni_intel snd_rawmidi ttm snd_seq_midi_event 
crypto_simd xhci_pci snd_seq xhci_hcd cryptd deflate snd_seq_device 
drm_kms_helper glue_helper efi_pstore cfg80211 e1000e snd_timer syscopyarea 
intel_cstate sysfillrect rfkill ptp sysimgblt efivars pps_core
[   13.853860]  i2c_i801 usbcore snd libarc4 sr_mod intel_rapl_perf fb_sys_fops 
cec cdrom mei_hdcp usb_common sg rc_core soundcore video wmi acpi_pad button 
squashfs sch_fq_codel coretemp hwmon loop drm i2c_core nfsd auth_rpcgss nfs_acl 
lockd grace sunrpc ip_tables x_tables
[   13.857103] CR2: 0000000000000040
[   13.857207] ---[ end trace a20c8291d85b28f4 ]---
[   13.994917] RIP: 0010:zvol_create_minor_impl+0x52a/0x810 [zfs]
[   13.994993] Code: 48 8b 54 24 18 49 89 87 08 01 00 00 48 8b 44 24 20 49 89 
97 10 01 00 00 49 8b 97 a8 01 00 00 49 89 87 00 01 00 00 48 c1 e8 09 <48> 89 42 
40 49 8b bf b0 01 00 00 e8 f6 3e f2 cf 49 8b bf b0 01 00
[   13.997900] RSP: 0018:ffffb75ac1df7cf8 EFLAGS: 00010206
[   14.000564] RAX: 0000000002000000 RBX: 3471fa85c299b9ef RCX: 0000000000000000
[   14.003239] RDX: 0000000000000000 RSI: 0000000000008000 RDI: ffffa286a5775000
[   14.005901] RBP: ffffa286a0c60fb0 R08: ffffa286ae55580f R09: 0000000000000000
[   14.008580] R10: ffffa286ae55582c R11: ffffa286ae55580f R12: 0000000000000000
[   14.011210] R13: 0000000000000000 R14: ffffa286962ff380 R15: ffffa286ac071800
[   14.013877] FS:  0000000000000000(0000) GS:ffffa286beac0000(0000) 
knlGS:0000000000000000
[   14.016555] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[   14.019184] CR2: 0000000000000040 CR3: 0000000c074fc006 CR4: 00000000003606e0
[   14.021851] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[   14.024495] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

** Affects: zfs-linux (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: groovy

** Tags added: groovy

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1881427

Title:
  zfs-linux 0.8.3-1ubuntu14 has a broken backport of Linux 5.7 compat

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/zfs-linux/+bug/1881427/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to