Bug#1109734: linux: Regression in 6.1.135-1: System with fake-raid (Intel VROC; internal bitmap) won't boot anymore.
Source: linux
Version: 6.1.140-1
Severity: important
Tags: upstream
Dear Kernel Team,
since linux 6.1.135-1 (linux-image-6.1.0-34-amd64) my system won't boot anymore due to a
regression in the upstream kernel.
The bug has been fixed upstream already:
https://lore.kernel.org/linux-raid/20250702091035.2061312-1-haakon.bugge@oracle.com/
And has been released in kernel 6.1.146:
https://lwn.net/Articles/1030359/
I recompiled the debian kernel (6.1.140-1) with that patch applied and
can confirm that it fixed the issue.
Technical details about my system:
* Two SATA SSDs combined as raid 1.
* Uses Intel VROC (fake-raid)
* Internal bitmap configured (required for the bug to be triggered)
Workarounds are to disable the internal bitmap or to not upgrade the
kernel for now.
Would you please release a new debian kernel for bookworm? And please
ensure that the upcoming trixie kernel includes the fix (I didn't check
if it already does).
Thanks,
Jörn
Kernel log:
[ 5.679986] md/raid1:md126: active with 2 out of 2 mirrors
[ 5.685833] md126: detected capacity change from 0 to 937691136
[ 5.694920] md126: p1 p2 p3 p4 p5
[ 5.695253] general protection fault, probably for non-canonical address 0x16f5d80000028: 0000 [#1] PREEMPT SMP PTI
[ 5.708764] CPU: 2 PID: 213 Comm: mdmon Not tainted 6.1.0-37-amd64 #1 Debian 6.1.140-1
[ 5.716764] Hardware name: Supermicro Super Server/X11SCL-F, BIOS 2.2 10/27/2023
[ 5.724159] RIP: 0010:md_bitmap_get_stats+0x37/0x80 [md_mod]
[ 5.729833] Code: 30 48 8b 47 50 8b 92 88 03 00 00 85 d2 75 05 48 85 c0 74 3d 48 2b 05 68 94 4b e6 48 8b 15 71 94 4b e6 48 c1 f8 06 48 c1 e0 0c <48> 8b 44 10 28 48 89 46 08 48 8b 47 18 48 89 06 48 8b 47 10 48 89
[ 5.748581] RSP: 0018:ffffa86d40abbb88 EFLAGS: 00010206
[ 5.753804] RAX: 0001d40000000000 RBX: ffff9b60ca513348 RCX: 0000000000000007
[ 5.760939] RDX: ffff9b5d80000000 RSI: ffffa86d40abbbc0 RDI: ffff9b5e833d1500
[ 5.768071] RBP: ffff9b5e82757000 R08: ffffffffc0560b52 R09: ffff9b5f815eb07e
[ 5.775205] R10: ffffffffffffffff R11: ffff9b5e815eb07b R12: ffff9b5e82757018
[ 5.782336] R13: ffff9b5e827572a8 R14: ffff9b5e82757018 R15: 000000006fc81000
[ 5.789471] FS: 00007f51cee6d740(0000) GS:ffff9b61dec80000(0000) knlGS:0000000000000000
[ 5.797557] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 5.803302] CR2: 00007f51cf0449dc CR3: 000000010a41c001 CR4: 00000000003706e0
[ 5.810435] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 5.817568] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 5.824700] Call Trace:
[ 5.827154] <TASK>
[ 5.829260] md_seq_show+0x374/0x940 [md_mod]
[ 5.833636] seq_read_iter+0x2a7/0x450
[ 5.837406] seq_read+0xd0/0x100
[ 5.840638] proc_reg_read+0x53/0xa0
[ 5.844218] vfs_read+0xa2/0x310
[ 5.847459] ? exit_to_user_mode_prepare+0x40/0x1e0
[ 5.852336] ? set_close_on_exec+0x2e/0x70
[ 5.856437] ? do_fcntl+0x437/0x6d0
[ 5.859928] ? __fget_light+0x9d/0x100
[ 5.863681] ksys_read+0x6b/0xf0
[ 5.866915] do_syscall_64+0x55/0xb0
[ 5.870493] ? do_syscall_64+0x61/0xb0
[ 5.874247] ? __rseq_handle_notify_resume+0xa9/0x4a0
[ 5.879302] ? exit_to_user_mode_prepare+0x40/0x1e0
[ 5.884187] ? syscall_exit_to_user_mode+0x1e/0x40
[ 5.888978] ? do_syscall_64+0x61/0xb0
[ 5.892731] ? exit_to_user_mode_prepare+0x40/0x1e0
[ 5.897613] entry_SYSCALL_64_after_hwframe+0x6e/0xd8
[ 5.902664] RIP: 0033:0x7f51cef6829c
[ 5.906244] Code: ec 28 48 89 54 24 18 48 89 74 24 10 89 7c 24 08 e8 99 d5 f8 ff 48 8b 54 24 18 48 8b 74 24 10 41 89 c0 8b 7c 24 08 31 c0 0f 05 <48> 3d 00 f0 ff ff 77 34 44 89 c7 48 89 44 24 08 e8 ef d5 f8 ff 48
[ 5.924990] RSP: 002b:00007ffcc9c34660 EFLAGS: 00000246 ORIG_RAX: 0000000000000000
[ 5.932554] RAX: ffffffffffffffda RBX: 0000563ff3d45900 RCX: 00007f51cef6829c
[ 5.939686] RDX: 0000000000000400 RSI: 0000563ff3d51000 RDI: 0000000000000005
[ 5.946821] RBP: 00007f51cf03f5e0 R08: 0000000000000000 R09: 0000000000000090
[ 5.953952] R10: 0000000000001000 R11: 0000000000000246 R12: 0000563ff3d45900
[ 5.961088] R13: 0000000000000d68 R14: 00007f51cf03e9e0 R15: 0000000000000d68
[ 5.968221] </TASK>
[ 5.970411] Modules linked in: raid1 md_mod sd_mod hid_generic(+) t10_pi crc64_rocksoft crc64 crc_t10dif crct10dif_generic usbhid hid ahci libahci crct10dif_pclmul xhci_pci crct10dif_common crc32_pclmul libata xhci_hcd igb crc32c_intel scsi_mod i2c_i801 i2c_algo_bit usbcore i2c_smbus scsi_common intel_lpss_pci dca intel_lpss idma64 usb_common fan video wmi
[ 6.001932] ---[ end trace 0000000000000000 ]---
[ 6.578842] RIP: 0010:md_bitmap_get_stats+0x37/0x80 [md_mod]
[ 6.584539] Code: 30 48 8b 47 50 8b 92 88 03 00 00 85 d2 75 05 48 85 c0 74 3d 48 2b 05 68 94 4b e6 48 8b 15 71 94 4b e6 48 c1 f8 06 48 c1 e0 0c <48> 8b 44 10 28 48 89 46 08 48 8b 47 18 48 89 06 48 8b 47 10 48 89
[ 6.603285] RSP: 0018:ffffa86d40abbb88 EFLAGS: 00010206
[ 6.608512] RAX: 0001d40000000000 RBX: ffff9b60ca513348 RCX: 0000000000000007
[ 6.615645] RDX: ffff9b5d80000000 RSI: ffffa86d40abbbc0 RDI: ffff9b5e833d1500
[ 6.622775] RBP: ffff9b5e82757000 R08: ffffffffc0560b52 R09: ffff9b5f815eb07e
[ 6.629909] R10: ffffffffffffffff R11: ffff9b5e815eb07b R12: ffff9b5e82757018
[ 6.637043] R13: ffff9b5e827572a8 R14: ffff9b5e82757018 R15: 000000006fc81000
[ 6.644190] FS: 00007f51cee6d740(0000) GS:ffff9b61dec80000(0000) knlGS:0000000000000000
[ 6.652278] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 6.658022] CR2: 00007f51cf0449dc CR3: 000000010a41c001 CR4: 00000000003706e0
[ 6.665157] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 6.672287] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[ 6.679419] note: mdmon[213] exited with preempt_count 1
Reply to: