lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20251115123754.GBaRh0IhAmcBVxIXfZ@fat_crate.local>
Date: Sat, 15 Nov 2025 13:37:54 +0100
From: Borislav Petkov <bp@...en8.de>
To: bugzilla-daemon@...nel.org
Cc: joerg.kadau@....de, aros@....com, eugene.shalygin@...il.com,
	Ard Biesheuvel <ardb@...nel.org>,
	lkml <linux-kernel@...r.kernel.org>,
	Vlastimil Babka <vbabka@...e.cz>,
	Andrew Morton <akpm@...ux-foundation.org>,
	Nick Terrell <terrelln@...com>, David Sterba <dsterba@...e.com>
Subject: Re: [Bug 220731] New: CONFIG_KERNEL_ZSTD=y => not bootable at all
 after grub menu selection

Switching to mail.

On Sun, Nov 02, 2025 at 12:01:12PM +0000, bugzilla-daemon@...nel.org wrote:
> https://bugzilla.kernel.org/show_bug.cgi?id=220731
> 
>             Bug ID: 220731
>            Summary: CONFIG_KERNEL_ZSTD=y => not bootable at all after grub
>                     menu selection
>            Product: Platform Specific/Hardware
>            Version: 2.5
>     Kernel Version: 6.17.6
>           Hardware: AMD
>                 OS: Linux
>             Status: NEW
>           Severity: blocking
>           Priority: P3
>          Component: x86-64
>           Assignee: platform_x86_64@...nel-bugs.osdl.org
>           Reporter: joerg.kadau@....de
>         Regression: Yes
> 
> only by selecting CONFIG_KERNEL_ZSTD=y the kernel is not bootable at all
> 
> OS: openSuSE Leap 15.3
> 
> [    0.000000] Linux version 6.17.6-jk (root@...rus7) (gcc (SUSE Linux) 12.2.1
> 20220830 [revision e927d1cf141f221c5a32574bde0913307e140984], GNU ld (GNU
> Binutils; SUSE Linux Enterprise 15) 2.39.0.20220810-150100.7.40) #1 SMP
> PREEMPT_DYNAMIC Thu Oct 30 10:35:02 CET 2025
> [    0.000000] Command line: BOOT_IMAGE=/vmlinuz-6.17.6-jk
> root=/dev/mapper/2Tb-root splash=silent resume=/dev/8Tb/swap quiet
> mitigations=auto amdgpu.noretry=0 mem_encrypt=off
> 
> Hardware:
>   Board Info: #2
>     Manufacturer: "ASRock"
>     Product: "A300M-STX"
>     Serial: "M80-CA020800030"
>     Type: 0x0a (Motherboard)
>     Features: 0x09

So, I think I have something. See splat below.

This is one of my test boxes, it has ZSTD enabled and the initrd it builds is
~550Mb, maybe that's a problem. Disabling ZSTD fixes it.

And yeah, unzstd triggers the OOM killer, who knows, maybe 550MB initrd is not
easy to do that early?

Or maybe the decompression is talking crap...

Adding more unzstd folks from get_maintainer output...

Attaching my .config too.

Thx.

[    1.550307] i8042: PNP: PS/2 Controller [PNP0303:KBD,PNP0f13:MOU] at 0x60,0x64 irq 1,12
[    1.553692] serio: i8042 KBD port at 0x60,0x64 irq 1
[    1.555109] serio: i8042 AUX port at 0x60,0x64 irq 12
[    1.556797] mousedev: PS/2 mouse device common for all mice
[    1.558144] rtc_cmos 00:04: RTC can wake from S4
[    1.560009] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input1
[    1.562198] rtc_cmos 00:04: registered as rtc0
[    1.564225] rtc_cmos 00:04: setting system clock to 2025-11-14T23:10:34 UTC (1763161834)
[    1.568012] rtc_cmos 00:04: alarms up to one day, y3k, 242 bytes nvram
[    1.570642] i2c_dev: i2c /dev entries driver
[    1.572399] device-mapper: core: CONFIG_IMA_DISABLE_HTABLE is disabled. Duplicate IMA measurements will not be recorded in the IMA log.
[    1.577556] device-mapper: uevent: version 1.0.3
[    1.579658] device-mapper: ioctl: 4.50.0-ioctl (2025-04-28) initialised: dm-devel@...ts.linux.dev
[    1.583632] efifb: probing for efifb
[    1.585178] efifb: framebuffer at 0x80000000, using 1876k, total 1875k
[    1.587807] efifb: mode is 800x600x32, linelength=3200, pages=1
[    1.590393] efifb: scrolling: redraw
[    1.591837] efifb: Truecolor: size=8:8:8:8, shift=24:16:8:0
[    1.594623] Console: switching to colour frame buffer device 100x37
[    1.598806] fb0: EFI VGA frame buffer device
[    1.600698] drop_monitor: Initializing network drop monitor service
[    1.603337] NET: Registered PF_INET6 protocol family
[    1.606559] Segment Routing with IPv6
[    1.607356] In-situ OAM (IOAM) with IPv6
[    1.608215] NET: Registered PF_PACKET protocol family
[    1.610447] Key type dns_resolver registered
[    1.615111] IPI shorthand broadcast: enabled
[    1.619622] sched_clock: Marking stable (1372003898, 247088078)->(1668237791, -49145815)
[    1.621712] registered taskstats version 1
[    1.624271] Loading compiled-in X.509 certificates
[    1.626631] Loaded X.509 cert 'Build time autogenerated kernel key: 875ce4ad310e4c31effd13f7344a0a57bba4d78a'
[    1.635602] Demotion targets for Node 0: null
[    1.637160] Key type .fscrypt registered
[    1.638168] Key type fscrypt-provisioning registered
[    1.828318] usb 2-1: new high-speed USB device number 2 using ehci-pci
[    2.038331] usb 2-1: New USB device found, idVendor=0627, idProduct=0001, bcdDevice= 0.00
[    2.040706] usb 2-1: New USB device strings: Mfr=1, Product=3, SerialNumber=10
[    2.043291] usb 2-1: Product: QEMU USB Tablet
[    2.044841] usb 2-1: Manufacturer: QEMU
[    2.045797] usb 2-1: SerialNumber: 28754-0000:00:1d.7-1
[    4.967292] kworker/u64:0 invoked oom-killer: gfp_mask=0x140cc2(GFP_HIGHUSER|__GFP_COMP), order=0, oom_score_adj=0
[    4.971219] CPU: 15 UID: 0 PID: 12 Comm: kworker/u64:0 Not tainted 6.18.0-rc5+ #1 PREEMPT(voluntary) 
[    4.971224] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 2023.11-8 02/21/2024
[    4.971226] Workqueue: async async_run_entry_fn
[    4.971254] Call Trace:
[    4.971256]  <TASK>
[    4.971266]  dump_stack_lvl+0x70/0x90
[    4.971285]  dump_stack+0x14/0x20
[    4.971288]  dump_header+0x48/0x1e0
[    4.971299]  out_of_memory+0x3c5/0x570
[    4.971302]  __alloc_frozen_pages_noprof+0x117e/0x1310
[    4.971313]  ? srso_return_thunk+0x5/0x5f
[    4.971321]  ? mod_memcg_lruvec_state+0xd2/0x290
[    4.971334]  alloc_pages_mpol+0x7e/0x190
[    4.971341]  folio_alloc_noprof+0x65/0xe0
[    4.971343]  ? filemap_get_entry+0x109/0x1e0
[    4.971348]  filemap_alloc_folio_noprof+0xfa/0x110
[    4.971354]  __filemap_get_folio+0x1eb/0x340
[    4.971358]  simple_write_begin+0x35/0x110
[    4.971369]  generic_perform_write+0x135/0x2c0
[    4.971371]  ? srso_return_thunk+0x5/0x5f
[    4.971373]  ? current_time+0x2e/0x100
[    4.971380]  __generic_file_write_iter+0xa7/0xc0
[    4.971383]  generic_file_write_iter+0x69/0xf0
[    4.971386]  __kernel_write_iter+0x122/0x290
[    4.971392]  kernel_write+0xca/0x190
[    4.971396]  ? __pfx_error+0x10/0x10
[    4.971408]  xwrite.constprop.0+0x3f/0xe0
[    4.971411]  ? __pfx_error+0x10/0x10
[    4.971413]  do_copy+0x10c/0x1c0
[    4.971419]  flush_buffer+0x4e/0xd0
[    4.971421]  ? __pfx_flush_buffer+0x10/0x10
[    4.971423]  unzstd+0x2a1/0x5b0
[    4.971436]  ? __pfx_unzstd+0x10/0x10
[    4.971438]  unpack_to_rootfs+0x142/0x370
[    4.971440]  ? __pfx_error+0x10/0x10
[    4.971442]  ? srso_return_thunk+0x5/0x5f
[    4.971444]  ? srso_return_thunk+0x5/0x5f
[    4.971449]  ? vprintk+0x1c/0x50
[    4.971459]  ? srso_return_thunk+0x5/0x5f
[    4.971461]  ? _printk+0x5b/0x80
[    4.971465]  do_populate_rootfs+0x134/0x1e0
[    4.971467]  ? srso_return_thunk+0x5/0x5f
[    4.971469]  ? do_populate_rootfs+0x134/0x1e0
[    4.971471]  ? srso_return_thunk+0x5/0x5f
[    4.971473]  async_run_entry_fn+0x37/0x120
[    4.971476]  process_one_work+0x191/0x3d0
[    4.971483]  worker_thread+0x2ad/0x3e0
[    4.971487]  ? __pfx_worker_thread+0x10/0x10
[    4.971489]  kthread+0x111/0x220
[    4.971494]  ? _raw_spin_unlock_irq+0x12/0x40
[    4.971498]  ? __pfx_kthread+0x10/0x10
[    4.971501]  ret_from_fork+0x1b9/0x1e0
[    4.971513]  ? __pfx_kthread+0x10/0x10
[    4.971516]  ret_from_fork_asm+0x1a/0x30
[    4.971527]  </TASK>
[    4.971531] Mem-Info:
[    5.030205] active_anon:0 inactive_anon:0 isolated_anon:0
[    5.030205]  active_file:0 inactive_file:0 isolated_file:0
[    5.030205]  unevictable:312579 dirty:0 writeback:0
[    5.030205]  slab_reclaimable:1510 slab_unreclaimable:3065
[    5.030205]  mapped:0 shmem:0 pagetables:74
[    5.030205]  sec_pagetables:0 bounce:0
[    5.030205]  kernel_misc_reclaimable:0
[    5.030205]  free:10863 free_pcp:11908 free_cma:0
[    5.038753] Node 0 active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:1250316kB isolated(anon):0kB isolated(file):0kB mapped:0kB dirty:0kB writeback:0kB shmem:0kB shmem_thp:0kB shmem_pmdmapped:0kB anon_thp:0kB kernel_stack:2772kB pagetables:296kB sec_pagetables:0kB all_unreclaimable? yes Balloon:0kB
[    5.046360] Node 0 DMA free:5772kB boost:0kB min:468kB low:584kB high:700kB reserved_highatomic:0KB free_highatomic:0KB active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:8224kB writepending:0kB zspages:0kB present:15000kB managed:14364kB mlocked:0kB bounce:0kB free_pcp:104kB local_pcp:104kB free_cma:0kB
[    5.052850] lowmem_reserve[]: 0 1327 1327 1327 1327
[    5.054462] Node 0 DMA32 free:37680kB boost:0kB min:44584kB low:55728kB high:66872kB reserved_highatomic:0KB free_highatomic:0KB active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:1241964kB writepending:0kB zspages:0kB present:2075300kB managed:1358916kB mlocked:0kB bounce:0kB free_pcp:47528kB local_pcp:8516kB free_cma:0kB
[    5.061897] lowmem_reserve[]: 0 0 0 0 0
[    5.062870] Node 0 DMA: 0*4kB 0*8kB 2*16kB (UE) 1*32kB (E) 1*64kB (E) 2*128kB (UE) 1*256kB (E) 2*512kB (UE) 2*1024kB (UE) 1*2048kB (M) 0*4096kB = 5760kB
[    5.066037] Node 0 DMA32: 27*4kB (UME) 10*8kB (UM) 12*16kB (UME) 12*32kB (UME) 8*64kB (M) 10*128kB (ME) 13*256kB (UME) 7*512kB (ME) 6*1024kB (UM) 4*2048kB (UM) 3*4096kB (M) = 36092kB
[    5.070099] Node 0 hugepages_total=0 hugepages_free=0 hugepages_surp=0 hugepages_size=1048576kB
[    5.072030] Node 0 hugepages_total=0 hugepages_free=0 hugepages_surp=0 hugepages_size=2048kB
[    5.073897] 312630 total pagecache pages
[    5.074891] 0 pages in swap cache
[    5.075748] Free swap  = 0kB
[    5.077146] Total swap = 0kB
[    5.077928] 522575 pages RAM
[    5.078719] 0 pages HighMem/MovableOnly
[    5.079690] 179255 pages reserved
[    5.080562] 0 pages hwpoisoned
[    5.081458] Tasks state (memory values in pages):
[    5.083053] [  pid  ]   uid  tgid total_vm      rss rss_anon rss_file rss_shmem pgtables_bytes swapents oom_score_adj name
[    5.085658] Out of memory and no killable processes...
[    5.086900] Kernel panic - not syncing: System is deadlocked on memory
[    5.088404] CPU: 15 UID: 0 PID: 12 Comm: kworker/u64:0 Not tainted 6.18.0-rc5+ #1 PREEMPT(voluntary) 
[    5.090646] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 2023.11-8 02/21/2024
[    5.092479] Workqueue: async async_run_entry_fn
[    5.094282] Call Trace:
[    5.094982]  <TASK>
[    5.095605]  dump_stack_lvl+0x2b/0x90
[    5.096557]  dump_stack+0x14/0x20
[    5.097508]  vpanic+0x34c/0x3d0
[    5.098789]  panic+0x5b/0x60
[    5.099553]  out_of_memory+0x56e/0x570
[    5.100492]  __alloc_frozen_pages_noprof+0x117e/0x1310
[    5.101700]  ? srso_return_thunk+0x5/0x5f
[    5.102703]  ? mod_memcg_lruvec_state+0xd2/0x290
[    5.103808]  alloc_pages_mpol+0x7e/0x190
[    5.104772]  folio_alloc_noprof+0x65/0xe0
[    5.105741]  ? filemap_get_entry+0x109/0x1e0
[    5.106794]  filemap_alloc_folio_noprof+0xfa/0x110
[    5.107916]  __filemap_get_folio+0x1eb/0x340
[    5.108942]  simple_write_begin+0x35/0x110
[    5.109918]  generic_perform_write+0x135/0x2c0
[    5.111609]  ? srso_return_thunk+0x5/0x5f
[    5.112582]  ? current_time+0x2e/0x100
[    5.113580]  __generic_file_write_iter+0xa7/0xc0
[    5.115110]  generic_file_write_iter+0x69/0xf0
[    5.116155]  __kernel_write_iter+0x122/0x290
[    5.117160]  kernel_write+0xca/0x190
[    5.118028]  ? __pfx_error+0x10/0x10
[    5.118895]  xwrite.constprop.0+0x3f/0xe0
[    5.119857]  ? __pfx_error+0x10/0x10
[    5.120732]  do_copy+0x10c/0x1c0
[    5.121533]  flush_buffer+0x4e/0xd0
[    5.122408]  ? __pfx_flush_buffer+0x10/0x10
[    5.123403]  unzstd+0x2a1/0x5b0
[    5.124192]  ? __pfx_unzstd+0x10/0x10
[    5.125069]  unpack_to_rootfs+0x142/0x370
[    5.126009]  ? __pfx_error+0x10/0x10
[    5.127428]  ? srso_return_thunk+0x5/0x5f
[    5.128385]  ? srso_return_thunk+0x5/0x5f
[    5.129417]  ? vprintk+0x1c/0x50
[    5.130669]  ? srso_return_thunk+0x5/0x5f
[    5.131593]  ? _printk+0x5b/0x80
[    5.132374]  do_populate_rootfs+0x134/0x1e0
[    5.133335]  ? srso_return_thunk+0x5/0x5f
[    5.134286]  ? do_populate_rootfs+0x134/0x1e0
[    5.135280]  ? srso_return_thunk+0x5/0x5f
[    5.136217]  async_run_entry_fn+0x37/0x120
[    5.137163]  process_one_work+0x191/0x3d0
[    5.138120]  worker_thread+0x2ad/0x3e0
[    5.138998]  ? __pfx_worker_thread+0x10/0x10
[    5.139986]  kthread+0x111/0x220
[    5.140769]  ? _raw_spin_unlock_irq+0x12/0x40
[    5.141764]  ? __pfx_kthread+0x10/0x10
[    5.142665]  ret_from_fork+0x1b9/0x1e0
[    5.143541]  ? __pfx_kthread+0x10/0x10
[    5.145035]  ret_from_fork_asm+0x1a/0x30
[    5.146311]  </TASK>
[    5.147311] Kernel Offset: disabled
[    5.148172] ---[ end Kernel panic - not syncing: System is deadlocked on memory ]---

-- 
Regards/Gruss,
    Boris.

https://people.kernel.org/tglx/notes-about-netiquette

View attachment "config-6.18.0-rc5+" of type "text/plain" (191181 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ