All of lore.kernel.org
 help / color / mirror / Atom feed
* [rgushchin:bpfoom.1.2] [mm]  efada76077: WARNING:at_mm/oom_kill.c:#out_of_memory
@ 2025-05-22  2:02 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-05-22  2:02 UTC (permalink / raw)
  To: Roman Gushchin; +Cc: oe-lkp, lkp, Roman Gushchin, oliver.sang



Hello,

kernel test robot noticed "WARNING:at_mm/oom_kill.c:#out_of_memory" on:

commit: efada76077d88c1e913c4cbdeea367c5c3794116 ("mm: oom: introduce enum oom_type")
https://github.com/rgushchin/linux.git bpfoom.1.2

in testcase: trinity
version: 
with following parameters:

	runtime: 300s
	group: group-04
	nr_groups: 5



config: i386-randconfig-006-20250520
compiler: gcc-12
test machine: qemu-system-x86_64 -enable-kvm -cpu SandyBridge -smp 2 -m 16G

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


+---------------------------------------------+------------+------------+
|                                             | a5861bba13 | efada76077 |
+---------------------------------------------+------------+------------+
| WARNING:at_mm/oom_kill.c:#out_of_memory     | 0          | 12         |
| EIP:out_of_memory                           | 0          | 12         |
| WARNING:at_mm/oom_kill.c:#oom_evaluate_task | 0          | 12         |
| EIP:oom_evaluate_task                       | 0          | 12         |
+---------------------------------------------+------------+------------+


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/202505220916.c8d76c92-lkp@intel.com


[   44.737536][ T3785] ------------[ cut here ]------------
[ 44.738148][ T3785] WARNING: CPU: 1 PID: 3785 at mm/oom_kill.c:75 out_of_memory (kbuild/obj/consumer/i386-randconfig-006-20250520/mm/oom_kill.c:75 kbuild/obj/consumer/i386-randconfig-006-20250520/mm/oom_kill.c:1118) 
[   44.738865][ T3785] Modules linked in: serio_raw
[   44.739317][ T3785] CPU: 1 UID: 65534 PID: 3785 Comm: trinity-c1 Not tainted 6.15.0-rc3-00066-gefada76077d8 #1 PREEMPTLAZY  582f84c824e065a65f55e068c89a045d2686e28e
[   44.741023][ T3785] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
[ 44.742465][ T3785] EIP: out_of_memory (kbuild/obj/consumer/i386-randconfig-006-20250520/mm/oom_kill.c:75 kbuild/obj/consumer/i386-randconfig-006-20250520/mm/oom_kill.c:1118) 
[ 44.743214][ T3785] Code: 5d c2 00 0f 85 7a ff ff ff c6 05 0f 38 5d c2 01 b9 84 7c fd c1 ba 65 03 00 00 b8 d2 80 fd c1 e8 d6 81 ed ff e9 5a ff ff ff 90 <0f> 0b e9 e5 fc ff ff 8d b4 26 00 00 00 00 66 90 89 d8 e8 49 e4 ff
All code
========
   0:	5d                   	pop    %rbp
   1:	c2 00 0f             	ret    $0xf00
   4:	85 7a ff             	test   %edi,-0x1(%rdx)
   7:	ff                   	(bad)
   8:	ff c6                	inc    %esi
   a:	05 0f 38 5d c2       	add    $0xc25d380f,%eax
   f:	01 b9 84 7c fd c1    	add    %edi,-0x3e02837c(%rcx)
  15:	ba 65 03 00 00       	mov    $0x365,%edx
  1a:	b8 d2 80 fd c1       	mov    $0xc1fd80d2,%eax
  1f:	e8 d6 81 ed ff       	call   0xffffffffffed81fa
  24:	e9 5a ff ff ff       	jmp    0xffffffffffffff83
  29:	90                   	nop
  2a:*	0f 0b                	ud2		<-- trapping instruction
  2c:	e9 e5 fc ff ff       	jmp    0xfffffffffffffd16
  31:	8d b4 26 00 00 00 00 	lea    0x0(%rsi,%riz,1),%esi
  38:	66 90                	xchg   %ax,%ax
  3a:	89 d8                	mov    %ebx,%eax
  3c:	e8                   	.byte 0xe8
  3d:	49 e4 ff             	rex.WB in $0xff,%al

Code starting with the faulting instruction
===========================================
   0:	0f 0b                	ud2
   2:	e9 e5 fc ff ff       	jmp    0xfffffffffffffcec
   7:	8d b4 26 00 00 00 00 	lea    0x0(%rsi,%riz,1),%esi
   e:	66 90                	xchg   %ax,%ax
  10:	89 d8                	mov    %ebx,%eax
  12:	e8                   	.byte 0xe8
  13:	49 e4 ff             	rex.WB in $0xff,%al
[   44.749813][ T3785] EAX: 00000000 EBX: c61a7b50 ECX: 00000000 EDX: 00000000
[   44.752642][ T3785] ESI: c61a7b50 EDI: 00000003 EBP: c61a7afc ESP: c61a7af0
[   44.755257][ T3785] DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068 EFLAGS: 00010246
[   44.757972][ T3785] CR0: 80050033 CR2: 00000004 CR3: 049c2000 CR4: 000406d0
[   44.760505][ T3785] DR0: 00000000 DR1: 00000000 DR2: 00000000 DR3: 00000000
[   44.762967][ T3785] DR6: fffe0ff0 DR7: 00000400
[   44.764918][ T3785] Call Trace:
[ 44.766121][ T3785] __alloc_pages_slowpath+0x8f9/0xc90 
[ 44.769160][ T3785] ? find_held_lock (kbuild/obj/consumer/i386-randconfig-006-20250520/kernel/locking/lockdep.c:5348) 
[ 44.770986][ T3785] __alloc_frozen_pages_noprof (kbuild/obj/consumer/i386-randconfig-006-20250520/mm/page_alloc.c:4984) 
[ 44.773128][ T3785] __folio_alloc_noprof (kbuild/obj/consumer/i386-randconfig-006-20250520/mm/page_alloc.c:5006 kbuild/obj/consumer/i386-randconfig-006-20250520/mm/page_alloc.c:5015) 
[ 44.775082][ T3785] shmem_alloc_and_add_folio (kbuild/obj/consumer/i386-randconfig-006-20250520/include/linux/gfp.h:295 kbuild/obj/consumer/i386-randconfig-006-20250520/include/linux/gfp.h:330 kbuild/obj/consumer/i386-randconfig-006-20250520/include/linux/gfp.h:335 kbuild/obj/consumer/i386-randconfig-006-20250520/mm/shmem.c:1854 kbuild/obj/consumer/i386-randconfig-006-20250520/mm/shmem.c:1893) 
[ 44.776952][ T3785] shmem_get_folio_gfp (kbuild/obj/consumer/i386-randconfig-006-20250520/mm/shmem.c:2533) 
[ 44.777747][ T3785] shmem_fallocate (kbuild/obj/consumer/i386-randconfig-006-20250520/mm/shmem.c:3749) 
[ 44.778515][ T3785] ? lock_acquire (kbuild/obj/consumer/i386-randconfig-006-20250520/kernel/locking/lockdep.c:472 kbuild/obj/consumer/i386-randconfig-006-20250520/kernel/locking/lockdep.c:5868) 
[ 44.779215][ T3785] ? ksys_fallocate (kbuild/obj/consumer/i386-randconfig-006-20250520/fs/open.c:362) 
[ 44.779939][ T3785] ? kvm_sched_clock_read (kbuild/obj/consumer/i386-randconfig-006-20250520/arch/x86/kernel/kvmclock.c:91) 
[ 44.780722][ T3785] vfs_fallocate (kbuild/obj/consumer/i386-randconfig-006-20250520/fs/open.c:338) 
[ 44.781440][ T3785] ksys_fallocate (kbuild/obj/consumer/i386-randconfig-006-20250520/fs/open.c:362) 
[ 44.782151][ T3785] ? ksys_fallocate (kbuild/obj/consumer/i386-randconfig-006-20250520/fs/open.c:362) 
[ 44.782889][ T3785] __ia32_sys_ia32_fallocate (kbuild/obj/consumer/i386-randconfig-006-20250520/arch/x86/kernel/sys_ia32.c:119) 
[ 44.783740][ T3785] ia32_sys_call (kbuild/obj/consumer/i386-randconfig-006-20250520/arch/x86/entry/syscall_32.c:50) 
[ 44.784439][ T3785] do_int80_syscall_32 (kbuild/obj/consumer/i386-randconfig-006-20250520/arch/x86/entry/syscall_32.c:83 kbuild/obj/consumer/i386-randconfig-006-20250520/arch/x86/entry/syscall_32.c:259) 
[ 44.785189][ T3785] ? __lock_release+0x146/0x330 
[ 44.786008][ T3785] ? __task_pid_nr_ns (kbuild/obj/consumer/i386-randconfig-006-20250520/include/linux/rcupdate.h:341 kbuild/obj/consumer/i386-randconfig-006-20250520/include/linux/rcupdate.h:871 kbuild/obj/consumer/i386-randconfig-006-20250520/kernel/pid.c:522) 
[ 44.786799][ T3785] ? syscall_exit_to_user_mode (kbuild/obj/consumer/i386-randconfig-006-20250520/kernel/entry/common.c:221) 
[ 44.787629][ T3785] ? do_int80_syscall_32 (kbuild/obj/consumer/i386-randconfig-006-20250520/arch/x86/entry/syscall_32.c:263) 
[ 44.788412][ T3785] ? lock_acquire (kbuild/obj/consumer/i386-randconfig-006-20250520/kernel/locking/lockdep.c:472 kbuild/obj/consumer/i386-randconfig-006-20250520/kernel/locking/lockdep.c:5868) 
[ 44.789114][ T3785] ? __task_pid_nr_ns (kbuild/obj/consumer/i386-randconfig-006-20250520/include/linux/rcupdate.h:331 kbuild/obj/consumer/i386-randconfig-006-20250520/include/linux/rcupdate.h:841 kbuild/obj/consumer/i386-randconfig-006-20250520/kernel/pid.c:518) 
[ 44.789873][ T3785] ? find_held_lock (kbuild/obj/consumer/i386-randconfig-006-20250520/kernel/locking/lockdep.c:5348) 
[ 44.790598][ T3785] ? local_clock (kbuild/obj/consumer/i386-randconfig-006-20250520/arch/x86/include/asm/preempt.h:95 kbuild/obj/consumer/i386-randconfig-006-20250520/kernel/sched/clock.c:316) 
[ 44.791289][ T3785] ? __lock_release+0x146/0x330 
[ 44.792096][ T3785] ? __task_pid_nr_ns (kbuild/obj/consumer/i386-randconfig-006-20250520/include/linux/rcupdate.h:341 kbuild/obj/consumer/i386-randconfig-006-20250520/include/linux/rcupdate.h:871 kbuild/obj/consumer/i386-randconfig-006-20250520/kernel/pid.c:522) 
[ 44.792839][ T3785] ? syscall_exit_to_user_mode (kbuild/obj/consumer/i386-randconfig-006-20250520/kernel/entry/common.c:221) 
[ 44.793651][ T3785] ? do_int80_syscall_32 (kbuild/obj/consumer/i386-randconfig-006-20250520/arch/x86/entry/syscall_32.c:263) 
[ 44.794438][ T3785] ? __might_fault (kbuild/obj/consumer/i386-randconfig-006-20250520/mm/memory.c:7151) 
[ 44.795154][ T3785] ? _copy_to_user (kbuild/obj/consumer/i386-randconfig-006-20250520/arch/x86/include/asm/uaccess_32.h:20 kbuild/obj/consumer/i386-randconfig-006-20250520/include/linux/uaccess.h:197 kbuild/obj/consumer/i386-randconfig-006-20250520/lib/usercopy.c:26) 
[ 44.795878][ T3785] ? put_old_timespec32 (kbuild/obj/consumer/i386-randconfig-006-20250520/kernel/time/time.c:937 kbuild/obj/consumer/i386-randconfig-006-20250520/kernel/time/time.c:973) 
[ 44.796693][ T3785] ? syscall_exit_to_user_mode (kbuild/obj/consumer/i386-randconfig-006-20250520/kernel/entry/common.c:221) 
[ 44.797511][ T3785] ? do_int80_syscall_32 (kbuild/obj/consumer/i386-randconfig-006-20250520/arch/x86/entry/syscall_32.c:263) 
[ 44.798282][ T3785] ? __f_unlock_pos (kbuild/obj/consumer/i386-randconfig-006-20250520/fs/file.c:1221) 
[ 44.798981][ T3785] ? ksys_read (kbuild/obj/consumer/i386-randconfig-006-20250520/include/linux/file.h:62 kbuild/obj/consumer/i386-randconfig-006-20250520/include/linux/file.h:80 kbuild/obj/consumer/i386-randconfig-006-20250520/include/linux/file.h:85 kbuild/obj/consumer/i386-randconfig-006-20250520/fs/read_write.c:704) 
[ 44.799659][ T3785] ? syscall_exit_to_user_mode (kbuild/obj/consumer/i386-randconfig-006-20250520/kernel/entry/common.c:221) 
[ 44.804638][ T3785] ? do_int80_syscall_32 (kbuild/obj/consumer/i386-randconfig-006-20250520/arch/x86/entry/syscall_32.c:263) 
[ 44.805425][ T3785] ? do_int80_syscall_32 (kbuild/obj/consumer/i386-randconfig-006-20250520/arch/x86/entry/syscall_32.c:263) 
[ 44.806247][ T3785] ? irqentry_exit (kbuild/obj/consumer/i386-randconfig-006-20250520/kernel/entry/common.c:367) 
[ 44.806948][ T3785] ? exc_page_fault (kbuild/obj/consumer/i386-randconfig-006-20250520/arch/x86/mm/fault.c:1542) 
[ 44.807684][ T3785] entry_INT80_32 (kbuild/obj/consumer/i386-randconfig-006-20250520/arch/x86/entry/entry_32.S:945) 
[   44.808382][ T3785] EIP: 0x8097522
[ 44.809224][ T3785] Code: 89 c8 c3 90 8d 74 26 00 85 c0 c7 01 01 00 00 00 75 d8 a1 cc 3c ad 08 eb d1 66 90 66 90 66 90 66 90 66 90 66 90 66 90 90 cd 80 <c3> 8d b6 00 00 00 00 8d bc 27 00 00 00 00 8b 10 a3 f4 3c ad 08 85
All code
========
   0:	89 c8                	mov    %ecx,%eax
   2:	c3                   	ret
   3:	90                   	nop
   4:	8d 74 26 00          	lea    0x0(%rsi,%riz,1),%esi
   8:	85 c0                	test   %eax,%eax
   a:	c7 01 01 00 00 00    	movl   $0x1,(%rcx)
  10:	75 d8                	jne    0xffffffffffffffea
  12:	a1 cc 3c ad 08 eb d1 	movabs 0x9066d1eb08ad3ccc,%eax
  19:	66 90 
  1b:	66 90                	xchg   %ax,%ax
  1d:	66 90                	xchg   %ax,%ax
  1f:	66 90                	xchg   %ax,%ax
  21:	66 90                	xchg   %ax,%ax
  23:	66 90                	xchg   %ax,%ax
  25:	66 90                	xchg   %ax,%ax
  27:	90                   	nop
  28:	cd 80                	int    $0x80
  2a:*	c3                   	ret		<-- trapping instruction
  2b:	8d b6 00 00 00 00    	lea    0x0(%rsi),%esi
  31:	8d bc 27 00 00 00 00 	lea    0x0(%rdi,%riz,1),%edi
  38:	8b 10                	mov    (%rax),%edx
  3a:	a3                   	.byte 0xa3
  3b:	f4                   	hlt
  3c:	3c ad                	cmp    $0xad,%al
  3e:	08                   	.byte 0x8
  3f:	85                   	.byte 0x85

Code starting with the faulting instruction
===========================================
   0:	c3                   	ret
   1:	8d b6 00 00 00 00    	lea    0x0(%rsi),%esi
   7:	8d bc 27 00 00 00 00 	lea    0x0(%rdi,%riz,1),%edi
   e:	8b 10                	mov    (%rax),%edx
  10:	a3                   	.byte 0xa3
  11:	f4                   	hlt
  12:	3c ad                	cmp    $0xad,%al
  14:	08                   	.byte 0x8
  15:	85                   	.byte 0x85


The kernel config and materials to reproduce are available at:
https://download.01.org/0day-ci/archive/20250522/202505220916.c8d76c92-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-05-22  2:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-22  2:02 [rgushchin:bpfoom.1.2] [mm] efada76077: WARNING:at_mm/oom_kill.c:#out_of_memory 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.