Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#79558 - Calling compact_memory after drop_caches causes a Kernel panic
Attached to Project:
Arch Linux
Opened by Jared Johnstone (ipaq) - Monday, 04 September 2023, 06:28 GMT
Last edited by Toolybird (Toolybird) - Monday, 04 September 2023, 08:01 GMT
Opened by Jared Johnstone (ipaq) - Monday, 04 September 2023, 06:28 GMT
Last edited by Toolybird (Toolybird) - Monday, 04 September 2023, 08:01 GMT
|
DetailsDescription:
Additional info: * package version(s) linux 6.4.12.arch1-1 * config and/or log files etc. NA * link to upstream bug report, if any None * Steps to reproduce: 1. Be root on 6.4.12.arch1-1 2. Call `echo 3 > /proc/sys/vm/drop_caches ; echo 1 > /proc/sys/vm/compact_memory` 3. Experience a segmentation fault. Reproducible on my 3900x desktop and i7 laptop. |
This task depends upon
Closed by Toolybird (Toolybird)
Monday, 04 September 2023, 08:01 GMT
Reason for closing: Not a bug
Additional comments about closing: See comments
Monday, 04 September 2023, 08:01 GMT
Reason for closing: Not a bug
Additional comments about closing: See comments
```
[ +0.393514] echo (14573): drop_caches: 3
[ +0.137521] ------------[ cut here ]------------
[ +0.000004] kernel BUG at mm/migrate.c:656!
[ +0.000006] invalid opcode: 0000 [#1] PREEMPT SMP NOPTI
[ +0.000004] CPU: 13 PID: 15100 Comm: tee Tainted: P OE 6.4.12-arch1-1 #1 3e6fa2753a2d75925c34ecb78e22e85a65d083df
[ +0.000004] Hardware name: Gigabyte Technology Co., Ltd. X570 I AORUS PRO WIFI/X570 I AORUS PRO WIFI, BIOS F37b 03/23/2023
[ +0.000002] RIP: 0010:migrate_folio_extra+0x6c/0x70
[ +0.000005] Code: de 48 89 ef e8 15 e2 ff ff 5b 44 89 e0 5d 41 5c 41 5d e9 07 f8 9d 00 e8 02 e2 ff ff 44 89 e0 5b 5d 41 5c 41 5d e9 f4 f7 9d 00 <0f> 0b 66 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 0f 1f
[ +0.000002] RSP: 0018:ffffbeceb1fab938 EFLAGS: 00010282
[ +0.000003] RAX: 02ffff0000008025 RBX: fffff18bc4752bc0 RCX: 0000000000000002
[ +0.000002] RDX: fffff18bc4752bc0 RSI: fffff18bca9a8ac0 RDI: ffff9e2586a2e2a0
[ +0.000002] RBP: ffff9e2586a2e2a0 R08: 0000000000000000 R09: 0000000000000000
[ +0.000002] R10: fffff18bca9a8ac8 R11: 0000000000000000 R12: fffff18bca9a8ac0
[ +0.000001] R13: 0000000000000002 R14: fffff18bc4752bc0 R15: ffffbeceb1fab9f8
[ +0.000002] FS: 00007f73fe933740(0000) GS:ffff9e2c9ed40000(0000) knlGS:0000000000000000
[ +0.000002] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ +0.000002] CR2: 00007fc5744a3700 CR3: 000000032343e000 CR4: 0000000000350ee0
[ +0.000002] Call Trace:
[ +0.000002] <TASK>
[ +0.000003] ? die+0x36/0x90
[ +0.000005] ? do_trap+0xda/0x100
[ +0.000002] ? migrate_folio_extra+0x6c/0x70
[ +0.000003] ? do_error_trap+0x6a/0x90
[ +0.000002] ? migrate_folio_extra+0x6c/0x70
[ +0.000004] ? exc_invalid_op+0x50/0x70
[ +0.000003] ? migrate_folio_extra+0x6c/0x70
[ +0.000003] ? asm_exc_invalid_op+0x1a/0x20
[ +0.000006] ? migrate_folio_extra+0x6c/0x70
[ +0.000003] ? srso_return_thunk+0x5/0x10
[ +0.000003] move_to_new_folio+0x136/0x150
[ +0.000004] migrate_pages_batch+0x937/0xd60
[ +0.000003] ? isolate_freepages_block+0x330/0x3d0
[ +0.000004] ? __pfx_compaction_free+0x10/0x10
[ +0.000005] ? __pfx_remove_migration_pte+0x10/0x10
[ +0.000004] migrate_pages+0xc61/0xde0
[ +0.000004] ? __pfx_compaction_alloc+0x10/0x10
[ +0.000002] ? __pfx_compaction_free+0x10/0x10
[ +0.000007] compact_zone+0x865/0xda0
[ +0.000004] ? wait_for_completion+0x95/0x160
[ +0.000005] compact_node+0x88/0xc0
[ +0.000004] ? __lru_add_drain_all+0x161/0x200
[ +0.000004] sysctl_compaction_handler+0x46/0x80
[ +0.000003] proc_sys_call_handler+0x1bd/0x2e0
[ +0.000004] vfs_write+0x22e/0x3f0
[ +0.000006] ksys_write+0x6f/0xf0
[ +0.000003] do_syscall_64+0x60/0x90
[ +0.000004] ? srso_return_thunk+0x5/0x10
[ +0.000002] ? __ct_user_enter+0x2f/0xd0
[ +0.000003] ? srso_return_thunk+0x5/0x10
[ +0.000002] ? syscall_exit_to_user_mode+0x2b/0x40
[ +0.000003] ? srso_return_thunk+0x5/0x10
[ +0.000002] ? do_syscall_64+0x6c/0x90
[ +0.000002] ? syscall_exit_to_user_mode+0x2b/0x40
[ +0.000002] ? srso_return_thunk+0x5/0x10
[ +0.000002] ? do_syscall_64+0x6c/0x90
[ +0.000002] ? __ct_user_enter+0x2f/0xd0
[ +0.000003] entry_SYSCALL_64_after_hwframe+0x72/0xdc
[ +0.000003] RIP: 0033:0x7f73fea3a664
[ +0.000017] Code: c7 00 16 00 00 00 b8 ff ff ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 f3 0f 1e fa 80 3d 05 1d 14 00 00 74 13 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 54 c3 0f 1f 00 48 83 ec 28 48 89 54 24 18 48
[ +0.000002] RSP: 002b:00007ffff0ed5978 EFLAGS: 00000202 ORIG_RAX: 0000000000000001
[ +0.000003] RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 00007f73fea3a664
[ +0.000001] RDX: 0000000000000002 RSI: 00007ffff0ed5ae0 RDI: 0000000000000003
[ +0.000002] RBP: 00007ffff0ed5ae0 R08: 0000564f4b48a470 R09: 0000000000000001
[ +0.000002] R10: 00000000000001b6 R11: 0000000000000202 R12: 0000000000000002
[ +0.000001] R13: 0000564f4b48a470 R14: 00007f73feb130e0 R15: 0000000000000001
[ +0.000005] </TASK>
[ +0.000001] Modules linked in: rfcomm snd_seq_dummy snd_seq_midi snd_hrtimer snd_seq_midi_event snd_seq cmac algif_hash algif_skcipher af_alg ip6t_REJECT nf_reject_ipv6 bnep xt_LOG nf_log_syslog xt_limit ip6table_filter ip6_tables iptable_nat ucsi_ccg nf_nat typec_ucsi xt_multiport typec xt_tcpudp roles intel_rapl_msr xt_comment xt_conntrack gigabyte_wmi wmi_bmof nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 libcrc32c crc32c_generic iptable_filter snd_hda_codec_realtek intel_rapl_common snd_hda_codec_generic ledtrig_audio edac_mce_amd snd_hda_codec_hdmi uvcvideo kvm_amd nvidia_drm(POE) videobuf2_vmalloc nvidia_modeset(POE) snd_hda_intel kvm uvc snd_intel_dspcfg videobuf2_memops snd_intel_sdw_acpi btusb snd_hda_codec btrtl irqbypass btbcm videobuf2_v4l2 crct10dif_pclmul crc32_pclmul nvidia_uvm(POE) crc32c_intel polyval_clmulni btintel btmtk snd_hda_core snd_usb_audio polyval_generic gf128mul snd_usbmidi_lib ghash_clmulni_intel sha512_ssse3 aesni_intel videodev sp5100_tco snd_rawmidi snd_hwdep snd_seq_device bluetooth
[ +0.000066] snd_pcm video snd_timer crypto_simd videobuf2_common snd cryptd vfat ecdh_generic fat rapl acpi_cpufreq i2c_piix4 zenpower(OE) mc soundcore ccp crc16 i2c_nvidia_gpu wmi mousedev joydev nvidia(POE) mac_hid dm_multipath sg fuse dm_mod loop bpf_preload ip_tables x_tables usbhid zfs(POE) iwlmvm zunicode(POE) zzstd(OE) zlua(OE) mac80211 zavl(POE) icp(POE) libarc4 zcommon(POE) znvpair(POE) spl(OE) iwlwifi cfg80211 nvme igb rfkill i2c_algo_bit dca nvme_core xhci_pci nvme_common xhci_pci_renesas
[ +0.000047] ---[ end trace 0000000000000000 ]---
[ +0.000001] RIP: 0010:migrate_folio_extra+0x6c/0x70
[ +0.000003] Code: de 48 89 ef e8 15 e2 ff ff 5b 44 89 e0 5d 41 5c 41 5d e9 07 f8 9d 00 e8 02 e2 ff ff 44 89 e0 5b 5d 41 5c 41 5d e9 f4 f7 9d 00 <0f> 0b 66 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 0f 1f
[ +0.000002] RSP: 0018:ffffbeceb1fab938 EFLAGS: 00010282
[ +0.000002] RAX: 02ffff0000008025 RBX: fffff18bc4752bc0 RCX: 0000000000000002
[ +0.000002] RDX: fffff18bc4752bc0 RSI: fffff18bca9a8ac0 RDI: ffff9e2586a2e2a0
[ +0.000001] RBP: ffff9e2586a2e2a0 R08: 0000000000000000 R09: 0000000000000000
[ +0.000002] R10: fffff18bca9a8ac8 R11: 0000000000000000 R12: fffff18bca9a8ac0
[ +0.000001] R13: 0000000000000002 R14: fffff18bc4752bc0 R15: ffffbeceb1fab9f8
[ +0.000002] FS: 00007f73fe933740(0000) GS:ffff9e2c9ed40000(0000) knlGS:0000000000000000
[ +0.000002] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ +0.000002] CR2: 00007fc5744a3700 CR3: 000000032343e000 CR4: 0000000000350ee0
[ +0.086737] tee (16052): drop_caches: 3
[ +2.586721] ------------[ cut here ]------------
[ +0.000007] kernel BUG at mm/migrate.c:656!
[ +0.000006] invalid opcode: 0000 [#2] PREEMPT SMP NOPTI
[ +0.000004] CPU: 13 PID: 16065 Comm: tee Tainted: P D OE 6.4.12-arch1-1 #1 3e6fa2753a2d75925c34ecb78e22e85a65d083df
[ +0.000004] Hardware name: Gigabyte Technology Co., Ltd. X570 I AORUS PRO WIFI/X570 I AORUS PRO WIFI, BIOS F37b 03/23/2023
[ +0.000002] RIP: 0010:migrate_folio_extra+0x6c/0x70
[ +0.000007] Code: de 48 89 ef e8 15 e2 ff ff 5b 44 89 e0 5d 41 5c 41 5d e9 07 f8 9d 00 e8 02 e2 ff ff 44 89 e0 5b 5d 41 5c 41 5d e9 f4 f7 9d 00 <0f> 0b 66 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 0f 1f
[ +0.000002] RSP: 0018:ffffbeceb47d79a8 EFLAGS: 00010282
[ +0.000004] RAX: 02ffff0000008027 RBX: fffff18bc5357f00 RCX: 0000000000000002
[ +0.000002] RDX: fffff18bc5357f00 RSI: fffff18bc7711080 RDI: ffff9e2645d89598
[ +0.000002] RBP: ffff9e2645d89598 R08: 0000000000000000 R09: 0000000000000000
[ +0.000002] R10: fffff18bc7711088 R11: 0000000000000000 R12: fffff18bc7711080
[ +0.000002] R13: 0000000000000002 R14: fffff18bc5357f00 R15: ffffbeceb47d7a68
[ +0.000002] FS: 00007f760e59c740(0000) GS:ffff9e2c9ed40000(0000) knlGS:0000000000000000
[ +0.000003] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ +0.000002] CR2: 0000122c00614200 CR3: 00000002c4c3e000 CR4: 0000000000350ee0
[ +0.000002] Call Trace:
[ +0.000003] <TASK>
[ +0.000003] ? die+0x36/0x90
[ +0.000005] ? do_trap+0xda/0x100
[ +0.000003] ? migrate_folio_extra+0x6c/0x70
[ +0.000004] ? do_error_trap+0x6a/0x90
[ +0.000003] ? migrate_folio_extra+0x6c/0x70
[ +0.000004] ? exc_invalid_op+0x50/0x70
[ +0.000004] ? migrate_folio_extra+0x6c/0x70
[ +0.000003] ? asm_exc_invalid_op+0x1a/0x20
[ +0.000007] ? migrate_folio_extra+0x6c/0x70
[ +0.000004] ? srso_return_thunk+0x5/0x10
[ +0.000003] move_to_new_folio+0x136/0x150
[ +0.000005] migrate_pages_batch+0x937/0xd60
[ +0.000004] ? isolate_freepages_block+0x330/0x3d0
[ +0.000004] ? __pfx_compaction_free+0x10/0x10
[ +0.000006] ? __pfx_remove_migration_pte+0x10/0x10
[ +0.000004] migrate_pages+0xc61/0xde0
[ +0.000004] ? __pfx_compaction_alloc+0x10/0x10
[ +0.000004] ? __pfx_compaction_free+0x10/0x10
[ +0.000008] compact_zone+0x865/0xda0
[ +0.000005] ? wait_for_completion+0x95/0x160
[ +0.000005] compact_node+0x88/0xc0
[ +0.000005] ? __lru_add_drain_all+0x161/0x200
[ +0.000005] sysctl_compaction_handler+0x46/0x80
[ +0.000003] proc_sys_call_handler+0x1bd/0x2e0
[ +0.000005] vfs_write+0x22e/0x3f0
[ +0.000007] ksys_write+0x6f/0xf0
[ +0.000003] do_syscall_64+0x60/0x90
[ +0.000003] ? srso_return_thunk+0x5/0x10
[ +0.000003] ? syscall_exit_to_user_mode+0x2b/0x40
[ +0.000003] ? srso_return_thunk+0x5/0x10
[ +0.000003] ? do_syscall_64+0x6c/0x90
[ +0.000003] ? srso_return_thunk+0x5/0x10
[ +0.000002] ? srso_return_thunk+0x5/0x10
[ +0.000003] ? __ct_user_enter+0x2f/0xd0
[ +0.000003] entry_SYSCALL_64_after_hwframe+0x72/0xdc
[ +0.000004] RIP: 0033:0x7f760e6a3664
[ +0.000022] Code: c7 00 16 00 00 00 b8 ff ff ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 f3 0f 1e fa 80 3d 05 1d 14 00 00 74 13 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 54 c3 0f 1f 00 48 83 ec 28 48 89 54 24 18 48
[ +0.000002] RSP: 002b:00007ffd6196d628 EFLAGS: 00000202 ORIG_RAX: 0000000000000001
[ +0.000003] RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 00007f760e6a3664
[ +0.000002] RDX: 0000000000000002 RSI: 00007ffd6196d790 RDI: 0000000000000003
[ +0.000002] RBP: 00007ffd6196d790 R08: 0000563c87438470 R09: 0000000000000001
[ +0.000002] R10: 00000000000001b6 R11: 0000000000000202 R12: 0000000000000002
[ +0.000002] R13: 0000563c87438470 R14: 00007f760e77c0e0 R15: 0000000000000001
[ +0.000006] </TASK>
[ +0.000001] Modules linked in: rfcomm snd_seq_dummy snd_seq_midi snd_hrtimer snd_seq_midi_event snd_seq cmac algif_hash algif_skcipher af_alg ip6t_REJECT nf_reject_ipv6 bnep xt_LOG nf_log_syslog xt_limit ip6table_filter ip6_tables iptable_nat ucsi_ccg nf_nat typec_ucsi xt_multiport typec xt_tcpudp roles intel_rapl_msr xt_comment xt_conntrack gigabyte_wmi wmi_bmof nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 libcrc32c crc32c_generic iptable_filter snd_hda_codec_realtek intel_rapl_common snd_hda_codec_generic ledtrig_audio edac_mce_amd snd_hda_codec_hdmi uvcvideo kvm_amd nvidia_drm(POE) videobuf2_vmalloc nvidia_modeset(POE) snd_hda_intel kvm uvc snd_intel_dspcfg videobuf2_memops snd_intel_sdw_acpi btusb snd_hda_codec btrtl irqbypass btbcm videobuf2_v4l2 crct10dif_pclmul crc32_pclmul nvidia_uvm(POE) crc32c_intel polyval_clmulni btintel btmtk snd_hda_core snd_usb_audio polyval_generic gf128mul snd_usbmidi_lib ghash_clmulni_intel sha512_ssse3 aesni_intel videodev sp5100_tco snd_rawmidi snd_hwdep snd_seq_device bluetooth
[ +0.000076] snd_pcm video snd_timer crypto_simd videobuf2_common snd cryptd vfat ecdh_generic fat rapl acpi_cpufreq i2c_piix4 zenpower(OE) mc soundcore ccp crc16 i2c_nvidia_gpu wmi mousedev joydev nvidia(POE) mac_hid dm_multipath sg fuse dm_mod loop bpf_preload ip_tables x_tables usbhid zfs(POE) iwlmvm zunicode(POE) zzstd(OE) zlua(OE) mac80211 zavl(POE) icp(POE) libarc4 zcommon(POE) znvpair(POE) spl(OE) iwlwifi cfg80211 nvme igb rfkill i2c_algo_bit dca nvme_core xhci_pci nvme_common xhci_pci_renesas
[ +0.000176] ---[ end trace 0000000000000000 ]---
[ +0.000002] RIP: 0010:migrate_folio_extra+0x6c/0x70
[ +0.000004] Code: de 48 89 ef e8 15 e2 ff ff 5b 44 89 e0 5d 41 5c 41 5d e9 07 f8 9d 00 e8 02 e2 ff ff 44 89 e0 5b 5d 41 5c 41 5d e9 f4 f7 9d 00 <0f> 0b 66 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 0f 1f
[ +0.000002] RSP: 0018:ffffbeceb1fab938 EFLAGS: 00010282
[ +0.000003] RAX: 02ffff0000008025 RBX: fffff18bc4752bc0 RCX: 0000000000000002
[ +0.000002] RDX: fffff18bc4752bc0 RSI: fffff18bca9a8ac0 RDI: ffff9e2586a2e2a0
[ +0.000002] RBP: ffff9e2586a2e2a0 R08: 0000000000000000 R09: 0000000000000000
[ +0.000002] R10: fffff18bca9a8ac8 R11: 0000000000000000 R12: fffff18bca9a8ac0
[ +0.000001] R13: 0000000000000002 R14: fffff18bc4752bc0 R15: ffffbeceb1fab9f8
[ +0.000002] FS: 00007f760e59c740(0000) GS:ffff9e2c9ed40000(0000) knlGS:0000000000000000
[ +0.000002] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ +0.000002] CR2: 0000122c00614200 CR3: 00000002c4c3e000 CR4: 0000000000350ee0
[Sep 4 14:03] IP6Tables OUTPUT SALT FALLBACIN= OUT=enp4s0 SRC=fe80:0000:0000:0000:5173:9d30:9134:0b47 DST=ff02:0000:0000:0000:0000:0000:0000:00fb LEN=93 TC=0 HOPLIMIT=255 FLOWLBL=497316 PROTO=UDP SPT=5353 DPT=5353 LEN=53
[ +0.160118] tee (19048): drop_caches: 3
[ +0.015509] ------------[ cut here ]------------
[ +0.000005] kernel BUG at mm/migrate.c:656!
[ +0.000006] invalid opcode: 0000 [#3] PREEMPT SMP NOPTI
[ +0.000003] CPU: 1 PID: 19058 Comm: tee Tainted: P D OE 6.4.12-arch1-1 #1 3e6fa2753a2d75925c34ecb78e22e85a65d083df
[ +0.000003] Hardware name: Gigabyte Technology Co., Ltd. X570 I AORUS PRO WIFI/X570 I AORUS PRO WIFI, BIOS F37b 03/23/2023
[ +0.000002] RIP: 0010:migrate_folio_extra+0x6c/0x70
[ +0.000006] Code: de 48 89 ef e8 15 e2 ff ff 5b 44 89 e0 5d 41 5c 41 5d e9 07 f8 9d 00 e8 02 e2 ff ff 44 89 e0 5b 5d 41 5c 41 5d e9 f4 f7 9d 00 <0f> 0b 66 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 0f 1f
[ +0.000002] RSP: 0018:ffffbece9e3739a8 EFLAGS: 00010282
[ +0.000003] RAX: 02ffff0000008025 RBX: fffff18bc4634ac0 RCX: 0000000000000002
[ +0.000002] RDX: fffff18bc4634ac0 RSI: fffff18bcbcf5840 RDI: ffff9e278f30c2e8
[ +0.000001] RBP: ffff9e278f30c2e8 R08: 0000000000000000 R09: 0000000000000000
[ +0.000002] R10: fffff18bcbcf5848 R11: 0000000000000000 R12: fffff18bcbcf5840
[ +0.000001] R13: 0000000000000002 R14: fffff18bc4634ac0 R15: ffffbece9e373a68
[ +0.000002] FS: 00007fe35dd08740(0000) GS:ffff9e2c9ea40000(0000) knlGS:0000000000000000
[ +0.000002] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ +0.000002] CR2: 00007f01071cf068 CR3: 000000030fe36000 CR4: 0000000000350ee0
[ +0.000002] Call Trace:
[ +0.000002] <TASK>
[ +0.000002] ? die+0x36/0x90
[ +0.000005] ? do_trap+0xda/0x100
[ +0.000002] ? migrate_folio_extra+0x6c/0x70
[ +0.000003] ? do_error_trap+0x6a/0x90
[ +0.000002] ? migrate_folio_extra+0x6c/0x70
[ +0.000004] ? exc_invalid_op+0x50/0x70
[ +0.000004] ? migrate_folio_extra+0x6c/0x70
[ +0.000002] ? asm_exc_invalid_op+0x1a/0x20
[ +0.000007] ? migrate_folio_extra+0x6c/0x70
[ +0.000003] ? srso_return_thunk+0x5/0x10
[ +0.000003] move_to_new_folio+0x136/0x150
[ +0.000003] migrate_pages_batch+0x937/0xd60
[ +0.000004] ? isolate_freepages_block+0x330/0x3d0
[ +0.000004] ? __pfx_compaction_free+0x10/0x10
[ +0.000005] ? __pfx_remove_migration_pte+0x10/0x10
[ +0.000004] migrate_pages+0xc61/0xde0
[ +0.000003] ? __pfx_compaction_alloc+0x10/0x10
[ +0.000003] ? __pfx_compaction_free+0x10/0x10
[ +0.000007] compact_zone+0x865/0xda0
[ +0.000003] ? srso_return_thunk+0x5/0x10
[ +0.000005] compact_node+0x88/0xc0
[ +0.000005] sysctl_compaction_handler+0x46/0x80
[ +0.000002] proc_sys_call_handler+0x1bd/0x2e0
[ +0.000005] vfs_write+0x22e/0x3f0
[ +0.000005] ksys_write+0x6f/0xf0
[ +0.000003] do_syscall_64+0x60/0x90
[ +0.000003] ? srso_return_thunk+0x5/0x10
[ +0.000002] ? __ct_user_enter+0x2f/0xd0
[ +0.000003] ? srso_return_thunk+0x5/0x10
[ +0.000002] ? syscall_exit_to_user_mode+0x2b/0x40
[ +0.000003] ? srso_return_thunk+0x5/0x10
[ +0.000002] ? do_syscall_64+0x6c/0x90
[ +0.000002] ? __ct_user_enter+0x2f/0xd0
[ +0.000003] entry_SYSCALL_64_after_hwframe+0x72/0xdc
[ +0.000003] RIP: 0033:0x7fe35de0f664
[ +0.000019] Code: c7 00 16 00 00 00 b8 ff ff ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 f3 0f 1e fa 80 3d 05 1d 14 00 00 74 13 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 54 c3 0f 1f 00 48 83 ec 28 48 89 54 24 18 48
[ +0.000002] RSP: 002b:00007ffd37d9d1c8 EFLAGS: 00000202 ORIG_RAX: 0000000000000001
[ +0.000002] RAX: ffffffffffffffda RBX: 0000000000000002 RCX: 00007fe35de0f664
[ +0.000002] RDX: 0000000000000002 RSI: 00007ffd37d9d330 RDI: 0000000000000003
[ +0.000001] RBP: 00007ffd37d9d330 R08: 00005654baf07470 R09: 0000000000000001
[ +0.000002] R10: 00000000000001b6 R11: 0000000000000202 R12: 0000000000000002
[ +0.000001] R13: 00005654baf07470 R14: 00007fe35dee80e0 R15: 0000000000000001
[ +0.000005] </TASK>
[ +0.000001] Modules linked in: rfcomm snd_seq_dummy snd_seq_midi snd_hrtimer snd_seq_midi_event snd_seq cmac algif_hash algif_skcipher af_alg ip6t_REJECT nf_reject_ipv6 bnep xt_LOG nf_log_syslog xt_limit ip6table_filter ip6_tables iptable_nat ucsi_ccg nf_nat typec_ucsi xt_multiport typec xt_tcpudp roles intel_rapl_msr xt_comment xt_conntrack gigabyte_wmi wmi_bmof nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 libcrc32c crc32c_generic iptable_filter snd_hda_codec_realtek intel_rapl_common snd_hda_codec_generic ledtrig_audio edac_mce_amd snd_hda_codec_hdmi uvcvideo kvm_amd nvidia_drm(POE) videobuf2_vmalloc nvidia_modeset(POE) snd_hda_intel kvm uvc snd_intel_dspcfg videobuf2_memops snd_intel_sdw_acpi btusb snd_hda_codec btrtl irqbypass btbcm videobuf2_v4l2 crct10dif_pclmul crc32_pclmul nvidia_uvm(POE) crc32c_intel polyval_clmulni btintel btmtk snd_hda_core snd_usb_audio polyval_generic gf128mul snd_usbmidi_lib ghash_clmulni_intel sha512_ssse3 aesni_intel videodev sp5100_tco snd_rawmidi snd_hwdep snd_seq_device bluetooth
[ +0.000065] snd_pcm video snd_timer crypto_simd videobuf2_common snd cryptd vfat ecdh_generic fat rapl acpi_cpufreq i2c_piix4 zenpower(OE) mc soundcore ccp crc16 i2c_nvidia_gpu wmi mousedev joydev nvidia(POE) mac_hid dm_multipath sg fuse dm_mod loop bpf_preload ip_tables x_tables usbhid zfs(POE) iwlmvm zunicode(POE) zzstd(OE) zlua(OE) mac80211 zavl(POE) icp(POE) libarc4 zcommon(POE) znvpair(POE) spl(OE) iwlwifi cfg80211 nvme igb rfkill i2c_algo_bit dca nvme_core xhci_pci nvme_common xhci_pci_renesas
[ +0.000047] ---[ end trace 0000000000000000 ]---
[ +0.000002] RIP: 0010:migrate_folio_extra+0x6c/0x70
[ +0.000003] Code: de 48 89 ef e8 15 e2 ff ff 5b 44 89 e0 5d 41 5c 41 5d e9 07 f8 9d 00 e8 02 e2 ff ff 44 89 e0 5b 5d 41 5c 41 5d e9 f4 f7 9d 00 <0f> 0b 66 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 0f 1f
[ +0.000001] RSP: 0018:ffffbeceb1fab938 EFLAGS: 00010282
[ +0.000003] RAX: 02ffff0000008025 RBX: fffff18bc4752bc0 RCX: 0000000000000002
[ +0.000001] RDX: fffff18bc4752bc0 RSI: fffff18bca9a8ac0 RDI: ffff9e2586a2e2a0
[ +0.000002] RBP: ffff9e2586a2e2a0 R08: 0000000000000000 R09: 0000000000000000
[ +0.000001] R10: fffff18bca9a8ac8 R11: 0000000000000000 R12: fffff18bca9a8ac0
[ +0.000002] R13: 0000000000000002 R14: fffff18bc4752bc0 R15: ffffbeceb1fab9f8
[ +0.000001] FS: 00007fe35dd08740(0000) GS:ffff9e2c9ea40000(0000) knlGS:0000000000000000
[ +0.000002] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ +0.000002] CR2: 00007f01071cf068 CR3: 000000030fe36000 CR4: 0000000000350ee0
```
Compiling `Linux 6.4.0` was also unable to reproduce the effect.
This can likely be closed off then. This is a ZFS issue and it looks like there's already an issue open over there: https://github.com/openzfs/zfs/issues/15140
Sorry for the trouble.