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>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Thu, 13 Jun 2024 12:52:06 +0200
From: Pavel Machek <pavel@....cz>
To: Jia-hao Bai (白家豪) <Jia-hao.Bai@...iatek.com>
Cc: "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
	"rafael@...nel.org" <rafael@...nel.org>,
	Iverlin Wang (王苳霖) <Iverlin.Wang@...iatek.com>,
	Boy Wu (吳勃誼) <Boy.Wu@...iatek.com>,
	Seiya Wang (王迺君) <seiya.wang@...iatek.com>,
	Dengjun Su (苏邓军) <Dengjun.Su@...iatek.com>,
	Win Yeh (葉昌倫) <Win.Yeh@...iatek.com>,
	Sowell Peng (彭首偉) <Sowell.Peng@...iatek.com>,
	Richard-CC Yang (楊職銓) <Richard-CC.Yang@...iatek.com>
Subject: Re: [BUG] Kernel panic when using Hibernation on kernel 6.1.25

Hi!

> I encountered a kernel panic when using the Hibernation on kernel version 6.1.25. Below are the details of the issue:
> 
> **Description:**
> When I enable CONFIG_HIBERNATION and assign a specific partition for hibernation resuming and perform a specific operation, the system crashes with a kernel panic.
> 
> CONFIG_HIBERNATION=y
> CONFIG_PM_STD_PARTITION="/dev/mmcblk0p16"
> 
> **Steps to Reproduce:**
> 1.	Set printk to level 8: ` echo 8 > /proc/sys/kernel/printk`
> 2.	Set up the swap partition: ` mkswap /dev/mmcblk0p16`
> 3.	Enable the swap partition: ` swapon -p -3 /dev/mmcblk0p16`
> 4.	Configure hibernation resuming settings: ` echo "/dev/mmcblk0p16" > /sys/power/resume`
> 5.	Configure hibernation mode:` echo reboot > /sys/power/disk`
> 6.	Perform the operation: ` echo disk > /sys/power/state`
> 7.	Observe the kernel panic
> 
> 
> **Expected Behavior:**
> The operation should complete successfully without causing a kernel panic.
> 
> **Actual Behavior:**
> The system crashes with a kernel panic.
> 
> **Environment:**
> - Kernel version: 6.1.25
> - Distribution: Yocto 4.0 32bit/Kernel 6.1.25 32bit
> - Hardware: Arm Cortex A55, 1GB RAM

We'd need to know way more about the hardware. Also testing with
latest mainline would be useful.

Best regards,
							Pavel
-- 
People of Russia, stop Putin before his war on Ukraine escalates.

Download attachment "signature.asc" of type "application/pgp-signature" (196 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ