* [rppt:hugetlb-init/v0] [dev] 842e0bacb5: UBSAN:shift-out-of-bounds_in_mm/mm_init.c
@ 2025-12-23 4:54 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-12-23 4:54 UTC (permalink / raw)
To: Mike Rapoport; +Cc: oe-lkp, lkp, Mike Rapoport, oliver.sang
Hello,
kernel test robot noticed "UBSAN:shift-out-of-bounds_in_mm/mm_init.c" on:
commit: 842e0bacb55a7112f86ff21d520d821f7ab53e24 ("dev: use arch_zone_limits_init in free_area_init")
https://git.kernel.org/cgit/linux/kernel/git/rppt/linux.git hugetlb-init/v0
in testcase: boot
config: x86_64-randconfig-161-20251222
compiler: gcc-14
test machine: qemu-system-x86_64 -enable-kvm -cpu SandyBridge -smp 2 -m 32G
(please refer to attached dmesg/kmsg for entire log/backtrace)
+---------------------------------------------+------------+------------+
| | 5466a334e0 | 842e0bacb5 |
+---------------------------------------------+------------+------------+
| boot_successes | 12 | 0 |
| boot_failures | 0 | 15 |
| UBSAN:shift-out-of-bounds_in_mm/mm_init.c | 0 | 15 |
| RIP:per_cpu_ptr_to_phys | 0 | 15 |
| BUG:unable_to_handle_page_fault_for_address | 0 | 15 |
| Oops | 0 | 15 |
| RIP:__d_lookup | 0 | 15 |
| Kernel_panic-not_syncing:Fatal_exception | 0 | 15 |
+---------------------------------------------+------------+------------+
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/202512231015.99637eb7-lkp@intel.com
[ 1.772578][ T0] ------------[ cut here ]------------
[ 1.773160][ T0] UBSAN: shift-out-of-bounds in mm/mm_init.c:2450:21
[ 1.773928][ T0] shift exponent 18446744073709551615 is too large for 64-bit type 'long unsigned int'
[ 1.774628][ T0] CPU: 0 UID: 0 PID: 0 Comm: swapper Not tainted 6.19.0-rc1-00023-g842e0bacb55a #1 PREEMPT(undef)
[ 1.775399][ T0] Call Trace:
[ 1.775636][ T0] <TASK>
[ 1.775847][ T0] dump_stack_lvl (lib/dump_stack.c:122)
[ 1.776180][ T0] ubsan_epilogue (lib/ubsan.c:234)
[ 1.776499][ T0] __ubsan_handle_shift_out_of_bounds.cold (lib/ubsan.c:494)
[ 1.776998][ T0] alloc_large_system_hash (mm/mm_init.c:2450 (discriminator 1))
[ 1.777401][ T0] vfs_caches_init_early (fs/dcache.c:3255 fs/dcache.c:3304)
[ 1.777793][ T0] start_kernel (init/main.c:1064)
[ 1.778118][ T0] x86_64_start_reservations (arch/x86/kernel/head64.c:310)
[ 1.778513][ T0] x86_64_start_kernel (arch/x86/kernel/ebda.c:57)
[ 1.778883][ T0] common_startup_64 (arch/x86/kernel/head_64.S:419)
[ 1.779234][ T0] </TASK>
[ 1.779447][ T0] ---[ end trace ]---
The kernel config and materials to reproduce are available at:
https://download.01.org/0day-ci/archive/20251223/202512231015.99637eb7-lkp@intel.com
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2025-12-23 4:54 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-23 4:54 [rppt:hugetlb-init/v0] [dev] 842e0bacb5: UBSAN:shift-out-of-bounds_in_mm/mm_init.c kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.