And can reproduce on real H/W on a 24 core "SC2A11" is a multi-core chip
with 24 cores of ARM® Cortex-A53. with Linux 6.5.0-7-generic #7-Ubuntu
SMP PREEMPT_DYNAMIC Thu Sep 28 19:12:05 UTC 2023 aarch64 aarch64 aarch64
GNU/Linux
[ 201.075720] EXT4-fs (loop13): mounted filesystem
52e32882-8b3a-47ce-8bf6-ce095960b1e7 r/w with ordered data mode. Quota mode:
none.
[ 516.665218] ------------[ cut here ]------------
[ 516.665249] kernel BUG at fs/dcache.c:2050!
[ 516.665279] Internal error: Oops - BUG: 00000000f2000800 [#1] SMP
[ 516.665301] Modules linked in: tls vhost_vsock
vmw_vsock_virtio_transport_common vhost vhost_iotlb vsock nf_conntrack_netlink
xfrm_user xfrm_algo xt_addrtype br_netfilter xt_CHECKSUM xt_MASQUERADE
xt_conntrack ipt_REJECT nf_reject_ipv4 xt_tcpudp nft_compat nft_chain_nat
nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 nf_tables nfnetlink bridge
stp llc overlay cfg80211 binfmt_misc zfs(PO) nls_iso8859_1 spl(O)
snd_hda_codec_hdmi snd_hda_intel snd_intel_dspcfg snd_hda_codec snd_hda_core
snd_hwdep snd_pcm snd_timer snd soundcore uio_pdrv_genirq uio dm_multipath
efi_pstore dmi_sysfs ip_tables x_tables autofs4 btrfs blake2b_generic raid10
raid456 async_raid6_recov async_memcpy async_pq async_xor async_tx xor xor_neon
raid6_pq libcrc32c raid1 raid0 multipath linear nouveau crct10dif_ce
drm_ttm_helper polyval_ce polyval_generic ttm ghash_ce i2c_algo_bit
drm_display_helper cec rc_core sm4 drm_kms_helper sha2_ce sha256_arm64 xhci_pci
drm r8169 sha1_ce ahci xhci_pci_renesas realtek sdhci_f_sdh30 sdhci_pltfm sdhci
gpio_keys
[ 516.665743] netsec gpio_mb86s7x i2c_synquacer aes_neon_bs aes_neon_blk
aes_ce_blk aes_ce_cipher
[ 516.665900] CPU: 2 PID: 17292 Comm: stress-ng-filen Tainted: P O
6.5.0-7-generic #7-Ubuntu
[ 516.665927] Hardware name: Socionext SynQuacer E-series DeveloperBox, BIOS
build #85 Nov 6 2020
[ 516.665948] pstate: 40400005 (nZcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[ 516.665974] pc : d_instantiate_new+0xa8/0xc8
[ 516.666006] lr : ext4_add_nondir+0x10c/0x160
[ 516.666029] sp : ffff8000857838d0
[ 516.666043] x29: ffff8000857838d0 x28: 0000000000000000 x27: ffff8000816ea980
[ 516.666076] x26: ffff0008119915e0 x25: 0000000000008180 x24: ffff000856c61ce8
[ 516.666108] x23: ffff0008119915c0 x22: ffff800085783950 x21: ffff00080359e1c0
[ 516.666140] x20: ffff0008561b1ce8 x19: 0000000000000000 x18: ffff800085a6d068
[ 516.666172] x17: 0000000000000000 x16: 0000000000000000 x15: 878b4681cc52c99d
[ 516.666204] x14: d59de2a9feb89dca x13: 85e2878b4681cc52 x12: c99dd59de2a9feb8
[ 516.666236] x11: e3b9eedbdf1c7d27 x10: 732db84fa4ef339b x9 : ffff8000807690bc
[ 516.666268] x8 : 0000000000000000 x7 : 0000000000000000 x6 : 0000000000000000
[ 516.666299] x5 : 0000000000000000 x4 : 0000000000000000 x3 : 0000000000000000
[ 516.666330] x2 : ffff8000836b52e8 x1 : ffff0008561b1ce8 x0 : ffff0008119915c0
[ 516.666362] Call trace:
[ 516.666377] d_instantiate_new+0xa8/0xc8
[ 516.666401] ext4_create+0x120/0x238
[ 516.666422] lookup_open.isra.0+0x480/0x4d0
[ 516.666447] open_last_lookups+0x160/0x3b0
[ 516.666466] path_openat+0xa0/0x2a0
[ 516.666484] do_filp_open+0xa8/0x180
[ 516.666502] do_sys_openat2+0xe8/0x128
[ 516.666524] __arm64_sys_openat+0x70/0xe0
[ 516.666545] invoke_syscall+0x7c/0x128
[ 516.666566] el0_svc_common.constprop.0+0x5c/0x168
[ 516.666586] do_el0_svc+0x38/0x68
[ 516.666604] el0_svc+0x30/0xe0
[ 516.666626] el0t_64_sync_handler+0x148/0x158
[ 516.666647] el0t_64_sync+0x1b0/0x1b8
[ 516.666674] Code: d2800002 d2800010 d2800011 d65f03c0 (d4210000)
[ 516.666696] ---[ end trace 0000000000000000 ]---
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/2038768
Title:
arm64: linux: stress-ng filename stressor crashes kernel
Status in linux package in Ubuntu:
Incomplete
Status in linux source package in Mantic:
Incomplete
Bug description:
Running latest Ubuntu mantic (ext4 file system) with kernel: Linux
mantic-arm64 6.5.0-7-generic #7-Ubuntu SMP PREEMPT_DYNAMIC Thu Sep 28
19:12:05 UTC 2023 aarch64 aarch64 aarch64 GNU/Linux
How to reproduce:
Fire up a 24 instance ARM64 QEMU instance with Ubuntu Mantic Server.
Install latest stress-ng from git repo:
sudo apt-get update
sudo apt-get build-dep stress-ng
git clone git://github.com/ColinIanKing/stress-ng
cd stress-ng
make clean
make -j 24
make verify-test-all
When we reach the filename stressor the kernel crashes as follows:
[ 902.594715] kernel BUG at fs/dcache.c:2050!
[ 902.598205] Internal error: Oops - BUG: 00000000f2000800 [#1] SMP
[ 902.603127] Modules linked in: dccp_ipv4 dccp atm vfio_iommu_type1 vfio
iommu
fd cmac algif_rng twofish_generic twofish_common serpent_generic fcrypt
cast6_ge
neric cast5_generic cast_common camellia_generic blowfish_generic
blowfish_commo
n aes_arm64 algif_skcipher algif_hash aria_generic sm4_generic sm4_neon ccm
aes_
ce_ccm des_generic libdes authenc aegis128 algif_aead af_alg cfg80211
binfmt_mis
c nls_iso8859_1 dm_multipath drm efi_pstore dmi_sysfs qemu_fw_cfg ip_tables
x_ta
bles autofs4 btrfs blake2b_generic raid10 raid456 async_raid6_recov
async_memcpy
async_pq async_xor async_tx xor xor_neon raid6_pq libcrc32c raid1 raid0
multipa
th linear crct10dif_ce polyval_ce polyval_generic ghash_ce sm4 sha2_ce
sha256_ar
m64 sha1_ce arm_smccc_trng xhci_pci virtio_rng xhci_pci_renesas aes_neon_bs
aes_
neon_blk aes_ce_blk aes_ce_cipher
[ 902.689941] CPU: 1 PID: 91317 Comm: stress-ng-filen Not tainted
6.5.0-7-gener
ic #7-Ubuntu
[ 902.699281] Hardware name: QEMU KVM Virtual Machine, BIOS 0.0.0 02/06/2015
[ 902.706902] pstate: 40400005 (nZcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[ 902.715488] pc : d_instantiate_new+0xa8/0xc8
[ 902.720889] lr : ext4_add_nondir+0x10c/0x160
[ 902.725702] sp : ffff80008b6d3930
[ 902.729390] x29: ffff80008b6d3930 x28: 0000000000000000 x27:
ffffbd164e51a980
[ 902.738705] x26: ffff6789f3b68f20 x25: 0000000000008180 x24:
ffff678a541f7968
[ 902.747003] x23: ffff6789f3b68f00 x22: ffff80008b6d39b0 x21:
ffff678a6a25bcb0
[ 902.755776] x20: ffff678a36f8f028 x19: 0000000000000000 x18:
ffff80008af45068
[ 902.764647] x17: 0000000000000000 x16: 0000000000000000 x15:
ecececececececec
[ 902.773135] x14: ecececececececec x13: ecececececececec x12:
ecececececececec
[ 902.781386] x11: ecececececececec x10: ecececececececec x9 :
ffffbd164d5990bc
[ 902.789346] x8 : 0000000000000000 x7 : 0000000000000000 x6 :
0000000000000000
[ 902.798564] x5 : 0000000000000000 x4 : 0000000000000000 x3 :
0000000000000000
[ 902.806851] x2 : ffffbd16504e4ce0 x1 : ffff678a36f8f028 x0 :
ffff6789f3b68f00
[ 902.815544] Call trace:
[ 902.818870] d_instantiate_new+0xa8/0xc8
[ 902.823523] ext4_create+0x120/0x238
[ 902.827716] lookup_open.isra.0+0x480/0x4d0
[ 902.832480] open_last_lookups+0x160/0x3b0
[ 902.837060] path_openat+0xa0/0x2a0
[ 902.840975] do_filp_open+0xa8/0x180
[ 902.845582] do_sys_openat2+0xe8/0x128
[ 902.850426] __arm64_sys_openat+0x70/0xe0
[ 902.854952] invoke_syscall+0x7c/0x128
[ 902.859155] el0_svc_common.constprop.0+0x5c/0x168
[ 902.864979] do_el0_svc+0x38/0x68
[ 902.869364] el0_svc+0x30/0xe0
[ 902.873401] el0t_64_sync_handler+0x148/0x158
[ 902.878336] el0t_64_sync+0x1b0/0x1b8
[ 902.882513] Code: d2800002 d2800010 d2800011 d65f03c0 (d4210000)
[ 902.890632] ---[ end trace 0000000000000000 ]---
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2038768/+subscriptions
--
Mailing list: https://launchpad.net/~kernel-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~kernel-packages
More help : https://help.launchpad.net/ListHelp