Bug 217733 - BUG: KASAN: slab-use-after-free in md_notify_reboot+0xec/0x127
Summary: BUG: KASAN: slab-use-after-free in md_notify_reboot+0xec/0x127
Status: NEW
Alias: None
Product: Linux
Classification: Unclassified
Component: Kernel (show other bugs)
Hardware: All Linux
: P3 normal
Assignee: Virtual assignee for kernel bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-07-30 10:17 UTC by Petr Balas
Modified: 2023-08-02 06:58 UTC (History)
1 user (show)

See Also:
Kernel Version:
Subsystem:
Regression: No
Bisected commit-id:


Attachments
.config (125.04 KB, text/plain)
2023-07-30 10:17 UTC, Petr Balas
Details
netconsole log with crash (13.38 KB, text/plain)
2023-07-30 10:18 UTC, Petr Balas
Details

Description Petr Balas 2023-07-30 10:17:57 UTC
Created attachment 304730 [details]
.config

Kernel panic on reboot (not on every reboot, probably timming issue).
Debian linux, kernel 6.4.7 (selfcompiled).
Comment 1 Petr Balas 2023-07-30 10:18:50 UTC
Created attachment 304731 [details]
netconsole log with crash
Comment 2 Bagas Sanjaya 2023-08-02 00:13:19 UTC
(In reply to Petr Balas from comment #0)
> Created attachment 304730 [details]
> .config
> 
> Kernel panic on reboot (not on every reboot, probably timming issue).
> Debian linux, kernel 6.4.7 (selfcompiled).

Can you describe this bug in detail?
Comment 3 Petr Balas 2023-08-02 06:58:25 UTC
I upgraded my home server to Debian 12.1 + new selfcompiled kernel. Server is running samba + syncthing server. When I trided to reboot first time with new kernel it locked up. Hard reset to the rescue, but it locked up again. Tried reboot cca 10 times, one reboot is without issues, other locked up. When I stopped samba and syncthing before issuing reboot command this ratio is better - 9 successfull reboots and one unsuccessfull.
1 have 3 discs - 2x NVMe + 1x SATA. On NVME I have these partitons:
 1      1049kB  99.6MB  98.6MB  fat16           EFI-2  boot, esp
 2      99.6MB  16.0GB  15.9GB  btrfs           Linux  raid
 3      16.0GB  32.0GB  16.0GB  linux-swap(v1)  swap   raid
 4      32.0GB  1000GB  968GB   btrfs           Data
first partition is EFI boot, second is root partition (raid1), third is swap (raid1), 4th are homes (btrfs raid1), SATA disk is not raid.

Note You need to log in before you can comment on or make changes to this bug.