oe-lkp.lists.linux.dev archive mirror
 help / color / mirror / Atom feed
From: kernel test robot <oliver.sang@intel.com>
To: Kees Cook <keescook@chromium.org>
Cc: <oe-lkp@lists.linux.dev>, <lkp@intel.com>, <oliver.sang@intel.com>
Subject: [kees:dev/v6.8-rc2/kmem_buckets] [util] e7c4d1a3f4: WARNING:at_mm/util.c:#__kvmalloc_node
Date: Thu, 14 Mar 2024 16:12:48 +0800	[thread overview]
Message-ID: <202403141515.e5c24085-lkp@intel.com> (raw)


hi, Kees Cook,

we notice this warning shows in a different way on e7c4d1a3f4 comparing to its
parent due to the code change.

0f8a68fd1a9999d4 e7c4d1a3f4b23eac0bbcfc11f63
---------------- ---------------------------
       fail:runs  %reproduction    fail:runs
           |             |             |
           :6          100%           6:6     dmesg.RIP:__kvmalloc_node
          6:6         -100%            :6     dmesg.RIP:kvmalloc_node
           :6          100%           6:6     dmesg.WARNING:at_mm/util.c:#__kvmalloc_node
          6:6         -100%            :6     dmesg.WARNING:at_mm/util.c:#kvmalloc_node

but we failed to bisect "WARNING:at_mm/util.c:#kvmalloc_node", so here just send
below report FYI what we observed in our tests. not sure if it's helpful to
uncover any problem.


Hello,

kernel test robot noticed "WARNING:at_mm/util.c:#__kvmalloc_node" on:

commit: e7c4d1a3f4b23eac0bbcfc11f630edbe31869ed0 ("util: Introduce __kvmalloc_node() that can take kmem_buckets argument")
https://git.kernel.org/cgit/linux/kernel/git/kees/linux.git dev/v6.8-rc2/kmem_buckets

in testcase: igt
version: igt-x86_64-bcf069415-1_20240306
with following parameters:

	group: gem_exec_reloc



compiler: gcc-12
test machine: 20 threads 1 sockets (Commet Lake) with 16G memory

(please refer to attached dmesg/kmsg for entire log/backtrace)



If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <oliver.sang@intel.com>
| Closes: https://lore.kernel.org/oe-lkp/202403141515.e5c24085-lkp@intel.com



[  941.391629][ T7017] ------------[ cut here ]------------
[  941.396975][ T7017] WARNING: CPU: 0 PID: 7017 at mm/util.c:633 __kvmalloc_node+0x13b/0x190
[  941.405262][ T7017] Modules linked in: netconsole ipmi_devintf ipmi_msghandler btrfs blake2b_generic intel_rapl_msr intel_rapl_common xor intel_uncore_frequency intel_uncore_frequency_common raid6_pq x86_pkg_temp_thermal intel_powerclamp zstd_compress coretemp libcrc32c kvm_intel sd_mod t10_pi kvm crc64_rocksoft_generic crc64_rocksoft crc64 sg i915 irqbypass crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel sha512_ssse3 drm_buddy rapl sdhci_pci intel_gtt ahci intel_cstate drm_display_helper cqhci libahci intel_uncore wmi_bmof intel_wmi_thunderbolt mei_me sdhci ppdev ttm libata idma64 mei i2c_designware_platform mmc_core drm_kms_helper i2c_designware_core intel_pch_thermal video parport_pc parport wmi pinctrl_cannonlake acpi_pad acpi_tad serio_raw binfmt_misc loop drm fuse dm_mod ip_tables
[  941.476046][ T7017] CPU: 0 PID: 7017 Comm: gem_exec_reloc Not tainted 6.8.0-rc2-00003-ge7c4d1a3f4b2 #1
[  941.485360][ T7017] RIP: 0010:__kvmalloc_node+0x13b/0x190
[  941.490797][ T7017] Code: 4c 16 ff e8 f7 f4 0c 00 48 83 c4 18 48 83 c4 08 5b 5d 41 5c 41 5d 41 5e c3 49 be 00 00 00 00 00 20 00 00 eb a3 80 e7 20 75 e2 <0f> 0b eb de 48 c7 c7 90 49 90 84 e8 25 6f 17 00 e9 43 ff ff ff 48
[  941.510229][ T7017] RSP: 0000:ffffc90000b67700 EFLAGS: 00010246
[  941.516206][ T7017] RAX: 0000000000000000 RBX: 00000000000000c0 RCX: 0000000000052cc0
[  941.524050][ T7017] RDX: 0000000000000001 RSI: 0000000080000000 RDI: 0000000000000000
[  941.531903][ T7017] RBP: 0000000080000000 R08: 0000000000000012 R09: 0000000000000000
[  941.539753][ T7017] R10: ffffc90000b67700 R11: 0000000000042c40 R12: 00000000ffffffff
[  941.547606][ T7017] R13: 0000000000000000 R14: 0000000004000000 R15: 0000000000000000
[  941.555494][ T7017] FS:  00007f5d678ea8c0(0000) GS:ffff8883ef400000(0000) knlGS:0000000000000000
[  941.564340][ T7017] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  941.570823][ T7017] CR2: 00007f5d677e9000 CR3: 0000000171fee003 CR4: 00000000003706f0
[  941.578688][ T7017] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[  941.586580][ T7017] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[  941.594470][ T7017] Call Trace:
[  941.597669][ T7017]  <TASK>
[  941.600522][ T7017]  ? __warn+0xcd/0x260
[  941.604538][ T7017]  ? __kvmalloc_node+0x13b/0x190
[  941.609335][ T7017]  ? report_bug+0x267/0x2d0
[  941.613733][ T7017]  ? handle_bug+0x3c/0x70
[  941.617957][ T7017]  ? exc_invalid_op+0x17/0x40
[  941.622570][ T7017]  ? asm_exc_invalid_op+0x1a/0x20
[  941.627524][ T7017]  ? __kvmalloc_node+0x13b/0x190
[  941.632325][ T7017]  eb_copy_relocations+0x15f/0x450 [i915]
[  941.638108][ T7017]  eb_relocate_parse_slow+0xd8/0x8a0 [i915]
[  941.643948][ T7017]  i915_gem_do_execbuffer+0xa11/0x2550 [i915]
[  941.649992][ T7017]  ? arch_stack_walk+0xa2/0xf0
[  941.654620][ T7017]  ? eb_select_engine+0x1500/0x1500 [i915]
[  941.660371][ T7017]  ? __virt_addr_valid+0x1ce/0x290
[  941.665350][ T7017]  ? preempt_notifier_dec+0x20/0x20
[  941.670415][ T7017]  ? check_heap_object+0x137/0x4b0
[  941.675389][ T7017]  i915_gem_execbuffer2_ioctl+0x2b7/0x6b0 [i915]
[  941.681720][ T7017]  ? i915_gem_do_execbuffer+0x2550/0x2550 [i915]
[  941.687988][ T7017]  drm_ioctl_kernel+0x168/0x2e0 [drm]
[  941.693260][ T7017]  ? drm_setversion+0x7e0/0x7e0 [drm]
[  941.698537][ T7017]  drm_ioctl+0x4ca/0xac0 [drm]
[  941.703219][ T7017]  ? i915_gem_do_execbuffer+0x2550/0x2550 [i915]
[  941.709526][ T7017]  ? drm_ioctl_kernel+0x2e0/0x2e0 [drm]
[  941.714967][ T7017]  ? __fget_light+0x58/0x410
[  941.719421][ T7017]  __x64_sys_ioctl+0x130/0x1a0
[  941.724098][ T7017]  do_syscall_64+0x63/0x170
[  941.728502][ T7017]  entry_SYSCALL_64_after_hwframe+0x63/0x6b
[  941.734254][ T7017] RIP: 0033:0x7f5d69c94c5b
[  941.738538][ T7017] Code: 00 48 89 44 24 18 31 c0 48 8d 44 24 60 c7 04 24 10 00 00 00 48 89 44 24 08 48 8d 44 24 20 48 89 44 24 10 b8 10 00 00 00 0f 05 <89> c2 3d 00 f0 ff ff 77 1c 48 8b 44 24 18 64 48 2b 04 25 28 00 00
[  941.757945][ T7017] RSP: 002b:00007ffe77db2920 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
[  941.766206][ T7017] RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 00007f5d69c94c5b
[  941.774032][ T7017] RDX: 00007ffe77db2a30 RSI: 0000000040406469 RDI: 0000000000000004
[  941.781858][ T7017] RBP: 00007ffe77db2a30 R08: 0000000000000004 R09: 0000000100000000
[  941.789685][ T7017] R10: 00007f5d69d85120 R11: 0000000000000246 R12: 0000000040406469
[  941.797512][ T7017] R13: 0000000000000004 R14: 00007f5ce78e9000 R15: 0000000000000002
[  941.805341][ T7017]  </TASK>
[  941.808243][ T7017] ---[ end trace 0000000000000000 ]---



The kernel config and materials to reproduce are available at:
https://download.01.org/0day-ci/archive/20240314/202403141515.e5c24085-lkp@intel.com



-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki


                 reply	other threads:[~2024-03-14  8:13 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202403141515.e5c24085-lkp@intel.com \
    --to=oliver.sang@intel.com \
    --cc=keescook@chromium.org \
    --cc=lkp@intel.com \
    --cc=oe-lkp@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).