zfs crashes kernel on fadvise issued by backup software
Author: komanekCreated Sep 23, 2026Updated Sep 23, 2026
LabelsType: Defect
System information
Type | Version/Name proxmox backup server | Proxmox backup server 4.2.0 / Debian 13 Distribution Name | Debian Distribution Version | 13 Kernel Version | proxmox-kernel-7.0.2-6-pve-signed Architecture | x86_64 OpenZFS Version | zfs-2.4.2-pve1, zfs-kmod-2.4.2-pve1
Describe the problem you're observing
kernel crash after some time of running Bareos backup job on data stored in zfs
Describe how to reproduce the problem
run bareos backup job, wait hours till days, it does not crash every time
today I upgraded to the latest stable kernel on my platform ( proxmox-kernel-7.0.14-19-pve-signed ) and latest zfs ( 2.4.4-pve1 ) , but I do not see anything in changelogs for 2.4.3 and 2.4.4 relevant to fadvise, so it probably will not help
Include any warning/errors/backtraces from the system logs
[Wed Sep 23 01:59:59 2026] BUG: kernel NULL pointer dereference, address: 0000000000000028
[Wed Sep 23 01:59:59 2026] #PF: supervisor read access in kernel mode
[Wed Sep 23 01:59:59 2026] #PF: error_code(0x0000) - not-present page
[Wed Sep 23 01:59:59 2026] PGD 0 P4D 0
[Wed Sep 23 01:59:59 2026] Oops: Oops: 0000 [#1] SMP NOPTI
[Wed Sep 23 01:59:59 2026] CPU: 12 UID: 0 PID: 2405066 Comm: bareos-fd Tainted: P O 7.0.2-6-pve #1 PREEMPT(lazy)
[Wed Sep 23 01:59:59 2026] Tainted: [P]=PROPRIETARY_MODULE, [O]=OOT_MODULE
[Wed Sep 23 01:59:59 2026] Hardware name: https://podpora.abacus.cz/ Super Server/H12SSL-NT, BIOS 2.6a 09/27/2023
[Wed Sep 23 01:59:59 2026] RIP: 0010:dnode_hold_impl+0xcd/0x1290 [zfs]
[Wed Sep 23 01:59:59 2026] Code: ff 00 00 48 8d 46 ff 48 39 c2 0f 82 17 04 00 00 48 8b 45 c0 49 89 f5 49 c1 e5 09 48 8b 98 a8 00 00 00 65 48 8b 05 eb 23 7d e5 <48> 39 43 28 0f 84 85 00 00 00 48 89 df e8 31 ae e9 e3 31 f6 4c 89
[Wed Sep 23 01:59:59 2026] RSP: 0018:ffffce67c9fc7be0 EFLAGS: 00010216
[Wed Sep 23 01:59:59 2026] RAX: ffff8e6deaeaaac0 RBX: 0000000000000000 RCX: 0000000000000000
[Wed Sep 23 01:59:59 2026] RDX: 0000fffffffffffe RSI: 0000000000753c94 RDI: ffff8e2c15a02000
[Wed Sep 23 01:59:59 2026] RBP: ffffce67c9fc7c60 R08: ffffffffc0a65a80 R09: ffffce67c9fc7c80
[Wed Sep 23 01:59:59 2026] R10: 000000000740e2fe R11: ffff8e4e7c36d3e0 R12: 0000000000753c94
[Wed Sep 23 01:59:59 2026] R13: 00000000ea792800 R14: 0000000000000000 R15: 000000000740e2fe
[Wed Sep 23 01:59:59 2026] FS: 000074af5dea86c0(0000) GS:ffff8ea56810f000(0000) knlGS:0000000000000000
[Wed Sep 23 01:59:59 2026] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[Wed Sep 23 01:59:59 2026] CR2: 0000000000000028 CR3: 0000000895a20002 CR4: 0000000000f70ef0
[Wed Sep 23 01:59:59 2026] PKRU: 55555554
[Wed Sep 23 01:59:59 2026] Call Trace:
[Wed Sep 23 01:59:59 2026] <TASK>
[Wed Sep 23 01:59:59 2026] ? generic_fadvise+0x228/0x2d0
[Wed Sep 23 01:59:59 2026] dnode_hold+0x1b/0x30 [zfs]
[Wed Sep 23 01:59:59 2026] dmu_evict_range+0x6a/0x110 [zfs]
[Wed Sep 23 01:59:59 2026] zpl_fadvise+0x194/0x240 [zfs]
[Wed Sep 23 01:59:59 2026] ksys_fadvise64_64+0x54/0xd0
[Wed Sep 23 01:59:59 2026] __x64_sys_fadvise64+0x1c/0x30
[Wed Sep 23 01:59:59 2026] x64_sys_call+0x21a4/0x2390
[Wed Sep 23 01:59:59 2026] do_syscall_64+0x11c/0x14e0
[Wed Sep 23 01:59:59 2026] ? srso_alias_return_thunk+0x5/0xfbef5
[Wed Sep 23 01:59:59 2026] ? x64_sys_call+0x17bd/0x2390
[Wed Sep 23 01:59:59 2026] ? srso_alias_return_thunk+0x5/0xfbef5
[Wed Sep 23 01:59:59 2026] ? do_syscall_64+0x15a/0x14e0
[Wed Sep 23 01:59:59 2026] ? srso_alias_return_thunk+0x5/0xfbef5
[Wed Sep 23 01:59:59 2026] ? do_syscall_64+0x15a/0x14e0
[Wed Sep 23 01:59:59 2026] ? srso_alias_return_thunk+0x5/0xfbef5
[Wed Sep 23 01:59:59 2026] ? do_futex+0x105/0x260
[Wed Sep 23 01:59:59 2026] ? srso_alias_return_thunk+0x5/0xfbef5
[Wed Sep 23 01:59:59 2026] ? __x64_sys_futex+0x127/0x200
[Wed Sep 23 01:59:59 2026] ? srso_alias_return_thunk+0x5/0xfbef5
[Wed Sep 23 01:59:59 2026] ? do_syscall_64+0x311/0x14e0
[Wed Sep 23 01:59:59 2026] ? srso_alias_return_thunk+0x5/0xfbef5
[Wed Sep 23 01:59:59 2026] ? do_syscall_64+0x311/0x14e0
[Wed Sep 23 01:59:59 2026] entry_SYSCALL_64_after_hwframe+0x76/0x7e
[Wed Sep 23 01:59:59 2026] RIP: 0033:0x74af5f694a1a
[Wed Sep 23 01:59:59 2026] Code: 48 83 ec 10 48 63 d2 45 31 c9 45 31 c0 6a 07 31 c9 e8 9a bc f8 ff 48 83 c4 18 c3 0f 1f 44 00 00 41 89 ca b8 dd 00 00 00 0f 05 <89> c2 f7 da 3d 00 f0 ff ff b8 00 00 00 00 0f 47 c2 c3 0f 1f 40 00
[Wed Sep 23 01:59:59 2026] RSP: 002b:000074af5dea6e68 EFLAGS: 00000246 ORIG_RAX: 00000000000000dd
[Wed Sep 23 01:59:59 2026] RAX: ffffffffffffffda RBX: 000074af5809c100 RCX: 000074af5f694a1a
[Wed Sep 23 01:59:59 2026] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 000000000000000e
[Wed Sep 23 01:59:59 2026] RBP: 00005b8bfa739604 R08: 000000000000000e R09: 0000000000000000
[Wed Sep 23 01:59:59 2026] R10: 0000000000000004 R11: 0000000000000246 R12: 0000000000000000
[Wed Sep 23 01:59:59 2026] R13: 000074af5809bff0 R14: 00005b8bfa739604 R15: 000074af5809ba10
[Wed Sep 23 01:59:59 2026] </TASK>
[Wed Sep 23 01:59:59 2026] Modules linked in: 8021q garp mrp binfmt_misc bonding amd_atl intel_rapl_msr intel_rapl_common ipmi_ssif amd64_edac edac_mce_amd kvm_amd kvm irqbypass ghash_clmulni_intel aesni_intel wmi_bmof pcspkr rapl ses enclosure mlx5_fwctl fwctl ast acpi_ipmi i2c_algo_bit ccp ee1004 ipmi_si ipmi_devintf ipmi_msghandler joydev k10temp input_leds mac_hid nvme_fabrics nvme_core auth_rpcgss sch_fq_codel nvme_keyring nvme_auth hkdf efi_pstore dm_multipath sunrpc nfnetlink dmi_sysfs ip_tables x_tables autofs4 zfs(PO) spl(O) mlx5_ib ib_uverbs macsec rndis_host ib_core cdc_ether usbnet usbmouse mii hid_generic usbkbd usbhid hid mlx5_core mlxfw psample mpt3sas tls ahci xhci_pci raid_class scsi_transport_sas libahci pci_hyperv_intf bnxt_en xhci_hcd i2c_piix4 ptdma i2c_smbus wmi
[Wed Sep 23 01:59:59 2026] CR2: 0000000000000028
[Wed Sep 23 01:59:59 2026] ---[ end trace 0000000000000000 ]---
[Wed Sep 23 01:59:59 2026] RIP: 0010:dnode_hold_impl+0xcd/0x1290 [zfs]
[Wed Sep 23 01:59:59 2026] Code: ff 00 00 48 8d 46 ff 48 39 c2 0f 82 17 04 00 00 48 8b 45 c0 49 89 f5 49 c1 e5 09 48 8b 98 a8 00 00 00 65 48 8b 05 eb 23 7d e5 <48> 39 43 28 0f 84 85 00 00 00 48 89 df e8 31 ae e9 e3 31 f6 4c 89
[Wed Sep 23 01:59:59 2026] RSP: 0018:ffffce67c9fc7be0 EFLAGS: 00010216
[Wed Sep 23 01:59:59 2026] RAX: ffff8e6deaeaaac0 RBX: 0000000000000000 RCX: 0000000000000000
[Wed Sep 23 01:59:59 2026] RDX: 0000fffffffffffe RSI: 0000000000753c94 RDI: ffff8e2c15a02000
[Wed Sep 23 01:59:59 2026] RBP: ffffce67c9fc7c60 R08: ffffffffc0a65a80 R09: ffffce67c9fc7c80
[Wed Sep 23 01:59:59 2026] R10: 000000000740e2fe R11: ffff8e4e7c36d3e0 R12: 0000000000753c94
[Wed Sep 23 01:59:59 2026] R13: 00000000ea792800 R14: 0000000000000000 R15: 000000000740e2fe
[Wed Sep 23 01:59:59 2026] FS: 000074af5dea86c0(0000) GS:ffff8ea56810f000(0000) knlGS:0000000000000000
[Wed Sep 23 01:59:59 2026] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[Wed Sep 23 01:59:59 2026] CR2: 0000000000000028 CR3: 0000000895a20002 CR4: 0000000000f70ef0
[Wed Sep 23 01:59:59 2026] PKRU: 55555554
[Wed Sep 23 01:59:59 2026] note: bareos-fd[2405066] exited with irqs disabledSource: openzfs/zfs