Bug 218861 - WARNING: CPU: 13 PID: 7032 at lib/xarray.c:1024 xas_split_alloc+0xbd/0x110
Summary: WARNING: CPU: 13 PID: 7032 at lib/xarray.c:1024 xas_split_alloc+0xbd/0x110
Status: NEW
Alias: None
Product: Memory Management
Classification: Unclassified
Component: Page Allocator (show other bugs)
Hardware: All Linux
: P3 normal
Assignee: Andrew Morton
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-19 15:57 UTC by sander44
Modified: 2024-06-14 16:36 UTC (History)
2 users (show)

See Also:
Kernel Version: 6.9.0
Subsystem:
Regression: No
Bisected commit-id:


Attachments

Description sander44 2024-05-19 15:57:32 UTC
Kernel: 6.9.0+ mainline - 0450d2083be6bdcd18c9535ac50c55266499b2df (Merge tag '6.10-rc-smb-fix' of git://git.samba.org/sfrench/cifs-2.6)


[ 2225.200607] WARNING: CPU: 13 PID: 7032 at lib/xarray.c:1024 xas_split_alloc+0xbd/0x110
[ 2225.200612] Modules linked in: veth ccm rfcomm snd_seq_dummy snd_hrtimer snd_seq xt_conntrack xt_MASQUERADE nf_conntrack_netlink xfrm_user xfrm_algo xt_addrtype overlay nft_fib_inet nft_fib_ipv4 nft_fib_ipv6 nft_fib nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_ct nft_chain_nat nf_tables cmac ip6table_nat algif_hash ip6table_mangle algif_skcipher ip6table_raw af_alg ip6table_security iptable_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 iptable_mangle iptable_raw iptable_security ip6table_filter ip6_tables iptable_filter bnep btusb btrtl btintel btbcm btmtk bluetooth snd_usb_audio snd_usbmidi_lib snd_ump snd_rawmidi snd_seq_device input_leds qrtr binfmt_misc snd_sof_amd_acp63 snd_sof_amd_vangogh snd_sof_amd_rembrandt snd_sof_amd_renoir snd_sof_amd_acp snd_sof_pci snd_sof_xtensa_dsp snd_sof snd_hda_codec_realtek snd_sof_utils snd_hda_codec_generic snd_pci_ps snd_amd_sdw_acpi snd_hda_scodec_component soundwire_amd soundwire_generic_allocation soundwire_bus amd_atl snd_hda_codec_hdmi intel_rapl_msr
[ 2225.200694]  intel_rapl_common snd_soc_core mt7921e mt7921_common snd_compress edac_mce_amd snd_hda_intel ac97_bus mt792x_lib snd_pcm_dmaengine snd_intel_dspcfg mt76_connac_lib snd_rpl_pci_acp6x snd_intel_sdw_acpi snd_acp_pci snd_hda_codec mt76 snd_acp_legacy_common snd_hda_core kvm_amd snd_pci_acp6x mac80211 snd_hwdep xfs snd_pci_acp5x kvm snd_pcm asus_nb_wmi snd_rn_pci_acp3x rapl cfg80211 wmi_bmof snd_timer snd_acp_config pcspkr snd_soc_acpi snd libarc4 i2c_piix4 snd_pci_acp3x soundcore k10temp joydev asus_wireless amd_pmc mac_hid nvme_fabrics efi_pstore nfnetlink dmi_sysfs ip_tables x_tables hid_asus asus_wmi sparse_keymap platform_profile usbkbd usbhid amdgpu crct10dif_pclmul crc32_pclmul polyval_clmulni polyval_generic amdxcp ghash_clmulni_intel nvme i2c_algo_bit sha256_ssse3 drm_ttm_helper drm_exec sha1_ssse3 gpu_sched ucsi_acpi hid_multitouch nvme_core aesni_intel drm_suballoc_helper xhci_pci typec_ucsi drm_buddy hid_generic xhci_pci_renesas crypto_simd xhci_hcd cryptd ccp drm_display_helper sp5100_tco
[ 2225.200787]  nvme_auth typec video i2c_hid_acpi i2c_hid hid wmi btrfs blake2b_generic libcrc32c xor raid6_pq msr autofs4
[ 2225.200802] CPU: 13 PID: 7032 Comm: objcopy Tainted: G        W          6.9.0-x64zen4-lowlatency-sunlight1-viva #2
[ 2225.200805] Hardware name: ASUSTeK COMPUTER INC. ROG Zephyrus G14 GA401QM_GA401QM/GA401QM, BIOS GA401QM.415 08/11/2023
[ 2225.200807] RIP: 0010:xas_split_alloc+0xbd/0x110
[ 2225.200811] Code: 49 8b 57 20 49 89 47 20 48 89 50 08 83 eb 01 75 99 5b 41 5c 41 5d 41 5e 41 5f 5d 31 c0 31 d2 31 c9 31 f6 31 ff e9 3e 1f 3b 00 <0f> 0b 49 8b 5f 20 48 85 db 74 19 48 89 df 48 8b 5b 08 48 83 c7 18
[ 2225.200813] RSP: 0018:ffffbbdc9c257720 EFLAGS: 00010297
[ 2225.200816] RAX: 0000000000000000 RBX: 0000000000000009 RCX: 0000000000000008
[ 2225.200818] RDX: 0000000000000009 RSI: ffffdc0756698000 RDI: ffffbbdc9c257770
[ 2225.200820] RBP: ffffbbdc9c257748 R08: 0000000000000000 R09: 0000000000000000
[ 2225.200822] R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000012c40
[ 2225.200824] R13: 0000000000000007 R14: ffffa0e52ac196b0 R15: ffffbbdc9c257770
[ 2225.200826] FS:  000078e7947de380(0000) GS:ffffa0e78e880000(0000) knlGS:0000000000000000
[ 2225.200828] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 2225.200830] CR2: 000075f9d1b11d08 CR3: 0000000247344000 CR4: 0000000000f50ef0
[ 2225.200833] PKRU: 55555554
[ 2225.200834] Call Trace:
[ 2225.200836]  <TASK>
[ 2225.200837]  ? show_regs.cold+0x19/0x20
[ 2225.200842]  ? xas_split_alloc+0xbd/0x110
[ 2225.200845]  ? __warn.cold+0xc3/0x11d
[ 2225.200849]  ? xas_split_alloc+0xbd/0x110
[ 2225.200854]  ? report_bug+0xed/0x160
[ 2225.200859]  ? handle_bug+0x51/0xa0
[ 2225.200863]  ? exc_invalid_op+0x18/0x80
[ 2225.200866]  ? asm_exc_invalid_op+0x1b/0x20
[ 2225.200871]  ? xas_split_alloc+0xbd/0x110
[ 2225.200876]  __filemap_add_folio+0x29a/0x400
[ 2225.200880]  ? __pfx_workingset_update_node+0x10/0x10
[ 2225.200885]  filemap_add_folio+0x3d/0xb0
[ 2225.200889]  page_cache_ra_order+0x1b1/0x340
[ 2225.200894]  ondemand_readahead+0x21c/0x4d0
[ 2225.200898]  page_cache_async_ra+0x58/0x80
[ 2225.200901]  filemap_get_pages+0x476/0x5c0
[ 2225.200905]  ? fsnotify_handle_inode_event.isra.0+0x77/0x130
[ 2225.200911]  filemap_read+0x106/0x430
[ 2225.200915]  ? __fsnotify_parent+0x282/0x370
[ 2225.200925]  generic_file_read_iter+0xbe/0x110
[ 2225.200929]  xfs_file_buffered_read+0x57/0xe0 [xfs]
[ 2225.201041]  xfs_file_read_iter+0x73/0xe0 [xfs]
[ 2225.201149]  vfs_read+0x243/0x380
[ 2225.201155]  ksys_read+0x73/0x100
[ 2225.201159]  __x64_sys_read+0x19/0x30
[ 2225.201162]  x64_sys_call+0x1ada/0x25c0
[ 2225.201166]  do_syscall_64+0x7e/0x180
[ 2225.201171]  ? srso_alias_return_thunk+0x5/0xfbef5
[ 2225.201174]  ? syscall_exit_to_user_mode+0x81/0x270
[ 2225.201177]  ? srso_alias_return_thunk+0x5/0xfbef5
[ 2225.201180]  ? do_syscall_64+0x8b/0x180
[ 2225.201184]  ? srso_alias_return_thunk+0x5/0xfbef5
[ 2225.201187]  ? do_syscall_64+0x8b/0x180
[ 2225.201190]  ? vfs_read+0x2ab/0x380
[ 2225.201192]  ? srso_alias_return_thunk+0x5/0xfbef5
[ 2225.201195]  ? vfs_read+0x2ab/0x380
[ 2225.201200]  ? srso_alias_return_thunk+0x5/0xfbef5
[ 2225.201203]  ? ksys_read+0x73/0x100
[ 2225.201206]  ? srso_alias_return_thunk+0x5/0xfbef5
[ 2225.201211]  ? syscall_exit_to_user_mode+0x81/0x270
[ 2225.201221]  ? srso_alias_return_thunk+0x5/0xfbef5
[ 2225.201224]  ? do_syscall_64+0x8b/0x180
[ 2225.201227]  ? syscall_exit_to_user_mode+0x81/0x270
[ 2225.201230]  ? srso_alias_return_thunk+0x5/0xfbef5
[ 2225.201233]  ? do_syscall_64+0x8b/0x180
[ 2225.201237]  ? srso_alias_return_thunk+0x5/0xfbef5
[ 2225.201240]  ? syscall_exit_to_user_mode+0x81/0x270
[ 2225.201243]  ? srso_alias_return_thunk+0x5/0xfbef5
[ 2225.201246]  ? do_syscall_64+0x8b/0x180
[ 2225.201249]  ? do_syscall_64+0x8b/0x180
[ 2225.201253]  entry_SYSCALL_64_after_hwframe+0x76/0x7e
[ 2225.201257] RIP: 0033:0x78e7949c5a1d
[ 2225.201260] Code: 09 74 0d 00 f7 d8 64 89 02 b8 ff ff ff ff eb bb e8 e8 bf 01 00 0f 1f 84 00 00 00 00 00 80 3d 49 f9 0d 00 00 74 17 31 c0 0f 05 <48> 3d 00 f0 ff ff 77 5b c3 66 2e 0f 1f 84 00 00 00 00 00 48 83 ec
[ 2225.201262] RSP: 002b:00007ffc66d9d958 EFLAGS: 00000246 ORIG_RAX: 0000000000000000
[ 2225.201265] RAX: ffffffffffffffda RBX: 0000000000002000 RCX: 000078e7949c5a1d
[ 2225.201267] RDX: 0000000000002000 RSI: 00007ffc66d9d970 RDI: 0000000000000004
[ 2225.201269] RBP: 00007ffc66d9d970 R08: 0000000000000000 R09: 0000000000000002
[ 2225.201271] R10: 000078e7948d2278 R11: 0000000000000246 R12: 0000000000000004
[ 2225.201273] R13: 0000000000000003 R14: 00007ffc66d9fa80 R15: 0000000000002000
[ 2225.201278]  </TASK>
[ 2225.201280] ---[ end trace 0000000000000000 ]---
Comment 1 sander44 2024-05-19 17:58:44 UTC
Maybe this commits cause issue:

210a03c9d51aa0e6e6f06980116e3256da8d4c48 - fs: claw back a few FMODE_* bits
3fed24fffc76dd1a8105db558e98bc8355d60379 - xfs: Replace xfs_isilocked with xfs_assert_ilocked
Comment 2 Mike Lothian 2024-05-21 06:48:28 UTC
I've seen this without xfs on my machine, the journalctl was corrupted though

I'll try and reproduce
Comment 3 The Linux kernel's regression tracker (Thorsten Leemhuis) 2024-06-12 13:05:22 UTC
What happened to this? Was this resolved, or is this still a problem?
Comment 4 Mike Lothian 2024-06-14 16:36:49 UTC
It used to happen when I was compiling chromium in a ramdisk, it didn't happen with 6.10-rc3 though, so maybe its sorted

Note You need to log in before you can comment on or make changes to this bug.