zfs icon indicating copy to clipboard operation
zfs copied to clipboard

zcommon causes a kernel crash RHEL9.4

Open khain0 opened this issue 5 months ago • 2 comments

System information

Type | Version/Name Red Hat Enterprise Linux 9.4 5.14.0-427.22.1.el9_4.x86_64 Distribution Name: Red Hat Enterprise Linux Distribution Version: 9.4 Kernel Version: Red Hat Enterprise Linux Architecture: x86_64 OpenZFS Version: zfs-dkms 2.1.15-3

Command to find OpenZFS version: zfs-2.1.15-3 zfs-kmod-2.1.15-3

Describe the problem you're observing

Zcommon caused a kernel crash.

Describe how to reproduce the problem

Wait for kernel crash

Include any warning/errors/backtraces from the system logs

Kernel crash log

[6972591.685926] general protection fault, maybe for address 0xff43024862a6b000: 0000 [#1] PREEMPT SMP NOPTI
[6972591.687227] CPU: 27 PID: 2524776 Comm: z_wr_iss Kdump: loaded Tainted: P           OE  X  -------  ---  5.14.0-427.22.1.el9_4.x86_64 #1
[6972591.689706] Hardware name: Dell Inc. PowerEdge XE8640/0TVHHH, BIOS 2.0.3 05/15/2024
[6972591.690719] RIP: 0010:kfpu_end+0x34/0xa0 [zcommon]
[6972591.691725] Code: 00 65 48 8b 04 25 28 00 00 00 48 89 44 24 08 31 c0 65 8b 05 4a c2 85 3f 48 98 48 8b 0c c2 0f 1f 44 00 00 b8 ff ff ff ff 89 c2 <0f> c7 19 fb 65 ff 0d 29 c2 85 3f 75 05 0f 1f 44 00 00 48 8b 44 24
[6972591.693723] RSP: 0018:ff4781d383f5f9a0 EFLAGS: 00010046
[6972591.694708] RAX: 00000000ffffffff RBX: ff4781d383f5faa0 RCX: ff43024862a6b000
[6972591.695684] RDX: 00000000ffffffff RSI: ff430229a0368000 RDI: ff4781d383f5fac0
[6972591.696645] RBP: 0000000000001000 R08: ff4781d383f5faa0 R09: ff430229a03687e6
[6972591.697593] R10: ff430229a0368000 R11: 00000000000007e6 R12: ff430229a0368000
[6972591.698529] R13: 0000000000001000 R14: 0000000000000000 R15: 0000000000000008
[6972591.699452] FS:  0000000000000000(0000) GS:ff430282ff340000(0000) knlGS:0000000000000000
[6972591.700366] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[6972591.701272] CR2: 0000000012808000 CR3: 000000fdb80c4003 CR4: 0000000000771ee0
[6972591.702169] PKRU: 55555554
[6972591.703046] Call Trace:
[6972591.703901]  <TASK>
[6972591.704741]  ? show_trace_log_lvl+0x1c4/0x2df
[6972591.705580]  ? show_trace_log_lvl+0x1c4/0x2df
[6972591.706406]  ? abd_fletcher_4_iter+0x64/0xc0 [zcommon]
[6972591.707217]  ? __die_body.cold+0x8/0xd
[6972591.708005]  ? die_addr+0x39/0x60
[6972591.708801]  ? exc_general_protection+0x1aa/0x400
[6972591.709549]  ? asm_exc_general_protection+0x22/0x30
[6972591.710291]  ? kfpu_end+0x34/0xa0 [zcommon]
[6972591.711026]  abd_fletcher_4_iter+0x64/0xc0 [zcommon]
[6972591.711742]  abd_iterate_func.part.0+0xbd/0x1c0 [zfs]
[6972591.712531]  ? __pfx_abd_fletcher_4_iter+0x10/0x10 [zcommon]
[6972591.713213]  abd_fletcher_4_native+0x7c/0xc0 [zfs]
[6972591.713995]  ? find_busiest_group+0x11d/0x240
[6972591.714645]  zio_checksum_compute+0xc7/0x3f0 [zfs]
[6972591.715374]  ? __kmem_cache_alloc_node+0x1c7/0x2d0
[6972591.715994]  ? spl_kmem_alloc+0xb2/0x100 [spl]
[6972591.716604]  ? spl_kmem_alloc+0xb2/0x100 [spl]
[6972591.717190]  ? __kmalloc_node+0x4e/0x140
[6972591.717755]  ? spl_kmem_alloc+0xb2/0x100 [spl]
[6972591.718309]  ? zio_write_compress+0x768/0x9c0 [zfs]
[6972591.718932]  zio_checksum_generate+0x4c/0x70 [zfs]
[6972591.719533]  zio_execute+0x80/0x120 [zfs]
[6972591.720115]  taskq_thread+0x2cc/0x500 [spl]
[6972591.720612]  ? __pfx_default_wake_function+0x10/0x10
[6972591.721091]  ? __pfx_zio_execute+0x10/0x10 [zfs]
[6972591.721630]  ? __pfx_taskq_thread+0x10/0x10 [spl]
[6972591.722080]  kthread+0xdd/0x100
[6972591.722509]  ? __pfx_kthread+0x10/0x10
[6972591.722922]  ret_from_fork+0x29/0x50

khain0 avatar Sep 16 '24 12:09 khain0