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]
Message-ID: <CA+G9fYv6RgaCka6p7-wcsFaOfjEXDeXWNCpYP0T8aGjSiyOK+A@mail.gmail.com>
Date: Sat, 14 Dec 2024 16:26:21 +0530
From: Naresh Kamboju <naresh.kamboju@...aro.org>
To: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Cc: stable@...r.kernel.org, patches@...ts.linux.dev, 
	linux-kernel@...r.kernel.org, torvalds@...ux-foundation.org, 
	akpm@...ux-foundation.org, linux@...ck-us.net, shuah@...nel.org, 
	patches@...nelci.org, lkft-triage@...ts.linaro.org, pavel@...x.de, 
	jonathanh@...dia.com, f.fainelli@...il.com, sudipm.mukherjee@...il.com, 
	srw@...dewatkins.net, rwarsow@....de, conor@...nel.org, hargar@...rosoft.com, 
	broonie@...nel.org, Luo Qiu <luoqiu@...insec.com.cn>, 
	Dan Carpenter <dan.carpenter@...aro.org>, Anders Roxell <anders.roxell@...aro.org>, 
	Arnd Bergmann <arnd@...db.de>, Manivannan Sadhasivam <manivannan.sadhasivam@...aro.org>, 
	Ard Biesheuvel <ardb@...nel.org>
Subject: Re: [PATCH 6.1 000/772] 6.1.120-rc2 review

On Fri, 13 Dec 2024 at 20:34, Greg Kroah-Hartman
<gregkh@...uxfoundation.org> wrote:
>
> This is the start of the stable review cycle for the 6.1.120 release.
> There are 772 patches in this series, all will be posted as a response
> to this one.  If anyone has any issues with these being applied, please
> let me know.
>
> Responses should be made by Sun, 15 Dec 2024 14:57:53 +0000.
> Anything received after that time might be too late.
>
> The whole patch series can be found in one patch at:
>         https://www.kernel.org/pub/linux/kernel/v6.x/stable-review/patch-6.1.120-rc2.gz
> or in the git tree and branch at:
>         git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-6.1.y
> and the diffstat can be found below.
>
> thanks,
>
> greg k-h

The Dragonboard 845c boot failed on the Linux stable-rc linux-6.1.y
due to the following boot crash log.

This issue is observed exclusively when the kernel is built with GCC-13.
However, the same kernel built with Clang-19 and Clang-nightly
successfully boots.

First seen on 6.1.120-rc1
Good: v6.1.119
BAD: 6.1.120-rc1 and 6.1.120-rc2
Toolchain: gcc-13

Boot log:
----------
[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x517f803c]
[    0.000000] Linux version 6.1.120-rc2 (tuxmake@...make)
(aarch64-linux-gnu-gcc (Debian 13.3.0-5) 13.3.0, GNU ld (GNU Binutils
for Debian) 2.43.1) #1 SMP PREEMPT @1734104611
[    0.000000] Machine model: Thundercomm Dragonboard 845c
[    0.000000] efi: UEFI not found.
[    0.000000] earlycon: qcom_geni0 at MMIO 0x0000000000a84000
(options '115200n8')
[    0.000000] printk: bootconsole [qcom_geni0] enabled
[    0.000000] NUMA: No NUMA configuration found
[    0.000000] NUMA: Faking a node at [mem
0x0000000080000000-0x000000017df9ffff]
[    0.000000] NUMA: NODE_DATA [mem 0x17d5a2a00-0x17d5a4fff]
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000080000000-0x00000000ffffffff]
[    0.000000]   DMA32    empty
[    0.000000]   Normal   [mem 0x0000000100000000-0x000000017df9ffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000080000000-0x00000000856fffff]
[    0.000000]   node   0: [mem 0x0000000085700000-0x0000000085cfffff]
[    0.000000]   node   0: [mem 0x0000000085d00000-0x0000000085dfffff]
[    0.000000]   node   0: [mem 0x0000000085e00000-0x0000000085efffff]
[    0.000000]   node   0: [mem 0x0000000085f00000-0x0000000085fbffff]
[    0.000000]   node   0: [mem 0x0000000085fc0000-0x00000000890fffff]
[    0.000000]   node   0: [mem 0x0000000089100000-0x000000008aafffff]
[    0.000000]   node   0: [mem 0x000000008ab00000-0x000000008c416fff]
[    0.000000]   node   0: [mem 0x000000008c417000-0x000000008c4fffff]
[    0.000000]   node   0: [mem 0x000000008c500000-0x0000000097bfffff]
[    0.000000]   node   0: [mem 0x0000000097c00000-0x000000009d3fffff]
[    0.000000]   node   0: [mem 0x000000009d400000-0x000000009f7fffff]
[    0.000000]   node   0: [mem 0x000000009f800000-0x000000017df9ffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x000000017df9ffff]
[    0.000000] On node 0, zone Normal: 8288 pages in unavailable ranges
[    0.000000] cma: Reserved 32 MiB at 0x00000000fe000000
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.1 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: MIGRATE_INFO_TYPE not supported.
[    0.000000] Unable to handle kernel NULL pointer dereference at
virtual address 0000000000000d7c
[    0.000000] Mem abort info:
[    0.000000]   ESR = 0x0000000096000004
[    0.000000]   EC = 0x25: DABT (current EL), IL = 32 bits
[    0.000000]   SET = 0, FnV = 0
[    0.000000]   EA = 0, S1PTW = 0
[    0.000000]   FSC = 0x04: level 0 translation fault
[    0.000000] Data abort info:
[    0.000000]   ISV = 0, ISS = 0x00000004
[    0.000000]   CM = 0, WnR = 0
[    0.000000] [0000000000000d7c] user address but active_mm is swapper
[    0.000000] Internal error: Oops: 0000000096000004 [#1] PREEMPT SMP
[    0.000000] Modules linked in:
[    0.000000] CPU: 0 PID: 0 Comm: swapper Not tainted 6.1.120-rc2 #1
[    0.000000] Hardware name: Thundercomm Dragonboard 845c (DT)
[    0.000000] pstate: 600000c5 (nZCv daIF -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[    0.000000] pc : arm_smccc_version_init (drivers/firmware/smccc/smccc.c:31)
[    0.000000] lr : psci_probe (drivers/firmware/psci/psci.c:597
drivers/firmware/psci/psci.c:642)
[    0.000000] sp : ffffabcd52e33ce0
[    0.000000] x29: ffffabcd52e33ce0 x28: 0000000081000200 x27: ffffabcd51fe4930
[    0.000000] x26: ffffabcd52029280 x25: ffffabcd53237d60 x24: ffffabcd51c084c0
[    0.000000] x23: ffffabcd53437318 x22: 0000000000000001 x21: ffffabcd52e5abd8
[    0.000000] x20: ffffabcd53437000 x19: 0000000000010002 x18: 0000000000000006
[    0.000000] x17: 6666663966643731 x16: 3030303030303078 x15: ffffabcd52e337c0
[    0.000000] x14: 0000000000000000 x13: 2e646574726f7070 x12: 757320746f6e2045
[    0.000000] x11: 5059545f4f464e49 x10: ffffabcd52ebb878 x9 : ffffabcd52e63878
[    0.000000] x8 : ffffabcd52e33ca8 x7 : 0000000000000000 x6 : 0000000000000000
[    0.000000] x5 : ffffabcd53437000 x4 : ffffabcd52207000 x3 : 0000000000000000
[    0.000000] x2 : 0000000000000000 x1 : 0000000000000001 x0 : 0000000000000000
[    0.000000] Call trace:
[    0.000000] arm_smccc_version_init (drivers/firmware/smccc/smccc.c:31)
[    0.000000] psci_0_2_init (drivers/firmware/psci/psci.c:675)
[    0.000000] psci_1_0_init (drivers/firmware/psci/psci.c:720)
[    0.000000] psci_dt_init (drivers/firmware/psci/psci.c:758)
[    0.000000] setup_arch (arch/arm64/kernel/setup.c:354)
[    0.000000] start_kernel (init/main.c:278 init/main.c:476 init/main.c:963)
[    0.000000] __primary_switched (arch/arm64/kernel/head.S:469)
[ 0.000000] Code: 1a9f97e0 14000002 52800000 b0fff644 (b94d7cc2)
All code
========
   0: 1a9f97e0 cset w0, hi // hi = pmore
   4: 14000002 b 0xc
   8: 52800000 mov w0, #0x0                    // #0
   c: b0fff644 adrp x4, 0xffffffffffec9000
  10:* b94d7cc2 ldr w2, [x6, #3452] <-- trapping instruction

Code starting with the faulting instruction
===========================================
   0: b94d7cc2 ldr w2, [x6, #3452]
[    0.000000] ---[ end trace 0000000000000000 ]---
[    0.000000] Kernel panic - not syncing: Attempted to kill the idle task!
[    0.000000] ---[ end Kernel panic - not syncing: Attempted to kill
the idle task! ]---

Reported-by: Linux Kernel Functional Testing <lkft@...aro.org>

Links:
-------
Boot failed with gcc-13:
-----------------
- https://lkft.validation.linaro.org/scheduler/job/7998804
- https://qa-reports.linaro.org/lkft/linux-stable-rc-linux-6.1.y/build/v6.1.119-773-gcb4fbe91b7b2/testrun/26315180/suite/boot/test/gcc-13-lkftconfig/log
- https://qa-reports.linaro.org/lkft/linux-stable-rc-linux-6.1.y/build/v6.1.119-773-gcb4fbe91b7b2/testrun/26315180/suite/boot/test/gcc-13-lkftconfig/history/
- https://qa-reports.linaro.org/lkft/linux-stable-rc-linux-6.1.y/build/v6.1.119-773-gcb4fbe91b7b2/testrun/26315180/suite/boot/test/gcc-13-lkftconfig/details/

Boot pass with clang-19:
------------------
- https://qa-reports.linaro.org/lkft/linux-stable-rc-linux-6.1.y/build/v6.1.119-773-g9f320894b9c2/testrun/26290281/suite/boot/test/clang-19-lkftconfig/history/


metadata:
----
Linux kernel version: 6.1.120-rc2 and 6.1.120-rc1
git describe: v6.1.119-773-gcb4fbe91b7b2
git repo: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
git sha: cb4fbe91b7b21057b4bc23c91e5fd87c0fb79e47
kernel config: https://storage.tuxsuite.com/public/linaro/lkft/builds/2qATClPBY52T2swKNeLeVQtyyS1/config
build url: https://storage.tuxsuite.com/public/linaro/lkft/builds/2qATClPBY52T2swKNeLeVQtyyS1/
toolchain: gcc-13
config: gcc-13-defconfig
arch: arm64
device: Dragonboard-845c


--
Linaro LKFT
https://lkft.linaro.org

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ