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  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:   Sun, 21 Apr 2019 16:20:49 +0800
From:   Qu Wenruo <quwenruo.btrfs@....com>
To:     linux-arm-kernel@...ts.infradead.org,
        Ext4 <linux-ext4@...r.kernel.org>,
        Linux FS Devel <linux-fsdevel@...r.kernel.org>
Subject: [aarch64] Kernel crash on v5.1-rc5, __arch_copy_from_user+0x1bc/0x240

Hi,

Just hit one crash on v5.1-rc5 kernel, on ext4 filesystem.

The workload is some git checkout.
(Yeah, I'm compiling aarch64 kernel native, and have already compiled
mesa with panfrost successfully)

IIRC it's not the first time of crash, when checking out mesa, it
crashed before, but I didn't get the crash log.
The fs passes fsck.ext4 -f.

It doesn't look like it's ext4 to be blamed, but the ARM part.

Any idea on this bug?

Thanks,
Qu

[ 1575.697824] SError Interrupt on CPU1, code 0xbf000000 -- SEr
[ 1575.697827] CPU: 1 PID: 8593 Comm: git Tainted: G        75.697828]
Hardware)
[ 1575.697829] pstate: 20000005 (nzCv daif -PAN -UAO)
[ 1575.697831] pc : __arch_copy_from_user+0x1bc/0x240
[ 1575.697832] lr : copyin+0x54/0x68
[ 1575.697833] sp : ffff000019bbbb20
[ 1575.697834] x29: ffff000019bbbb20 x28: 0000000000000000
[ 1575.697837] x27: 0000000000001000 x26: ffff000010eac0f0
[ 1575.697839] x25: ffff000019bbbd60 x24: 0000000000001000
[ 1575.697842] x23: 0000000000001000 x22: ffff800009c01000
[ 1575.697844] x21: ffff000019bbbd50 x20: 0000000000001000
[ 1575.697846] x19: 0000000000000000 x18: 0000000000000000
[ 1575.697849] x17: 0000000000000000 x16: 0000000000000000

[ 1575.697851] x15: 0000000000000000 x14: 656c62616e653e2d

[ 1575.697854] x13: 7069686328206669 x12: 09090a3b31203d2b

[ 1575.697856] x11: 20746e756f635f65 x10: 6c62616e653e2d70

[ 1575.697858] x9 : 69686309090a7b20 x8 : 702026262031203d

[ 1575.697861] x7 : 3d20746e756f635f x6 : ffff800009c00098

[ 1575.697863] x5 : ffff800009c01000 x4 : 0000000000000008

[ 1575.697865] x3 : 5748206573616309 x2 : 0000000000000ef8

[ 1575.697868] x1 : 0000fffffbe5e850 x0 : ffff800009c00000

[ 1575.697871] Kernel panic - not syncing: Asynchronous SError Interrupt

[ 1575.697872] CPU: 1 PID: 8593 Comm: git Tainted: G         C
5.1.0-rc51
[ 1575.697873] Hardware name: Pine64 RockPro64 (DT)

[ 1575.697874] Call trace:

[ 1575.697876]  dump_backtrace+0x0/0x168

[ 1575.697876]  show_stack+0x24/0x30

[ 1575.697877]  dump_stack+0xac/0xd4

[ 1575.697878]  panic+0x150/0x2e8

[ 1575.697879]  __stack_chk_fail+0x0/0x28

[ 1575.697880]  arm64_serror_panic+0x80/0x8c

[ 1575.697881]  do_serror+0x11c/0x120

[ 1575.697883]  el1_error+0x84/0xf8

[ 1575.697884]  __arch_copy_from_user+0x1bc/0x240

[ 1575.697885]  iov_iter_copy_from_user_atomic+0xe4/0x3b8

[ 1575.697886]  generic_perform_write+0xe8/0x1a8

[ 1575.697887]  __generic_file_write_iter+0x134/0x1a0

[ 1575.697888]  ext4_file_write_iter+0x1fc/0x380

[ 1575.697889]  new_sync_write+0x108/0x158

[ 1575.697890]  __vfs_write+0x74/0x90

[ 1575.697891]  vfs_write+0xac/0x1b8

[ 1575.697892]  ksys_write+0x74/0xe8

[ 1575.697893]  __arm64_sys_write+0x24/0x30

[ 1575.697894]  el0_svc_handler+0x90/0x118

[ 1575.697895]  el0_svc+0x8/0xc

[ 1575.698031] SMP: stopping secondary CPUs

[ 1575.698032] Kernel Offset: disabled

[ 1575.698033] CPU features: 0x002,21006008

[ 1575.698034] Memory Limit: none



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

Powered by blists - more mailing lists