lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <202504181511.1c3f23e4-lkp@intel.com>
Date: Fri, 18 Apr 2025 16:16:51 +0800
From: kernel test robot <oliver.sang@...el.com>
To: Kuniyuki Iwashima <kuniyu@...zon.com>
CC: <oe-lkp@...ts.linux.dev>, <lkp@...el.com>, Jakub Kicinski
	<kuba@...nel.org>, Sabrina Dubroca <sd@...asysnail.net>,
	<netdev@...r.kernel.org>, <oliver.sang@...el.com>
Subject: [linux-next:master] [net]  fed176bf31:
 KASAN:maybe_wild-memory-access_in_range[#-#]



Hello,

kernel test robot noticed "KASAN:maybe_wild-memory-access_in_range[#-#]" on:

commit: fed176bf3143362ac9935e3964949ab6a5c3286b ("net: Add ops_undo_single for module load/unload.")
https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git master

[test failed on linux-next/master 5b37f7bfff3b1582c34be8fb23968b226db71ebd]

in testcase: boot

config: x86_64-randconfig-102-20250415
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)



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@...el.com>
| Closes: https://lore.kernel.org/oe-lkp/202504181511.1c3f23e4-lkp@intel.com


[   26.592836][    T1]     audit=0
[   26.593311][    T1]     riscv_isa_fallback=1
[   26.685729][    T1] systemd[1]: RTC configured in localtime, applying delta of 0 minutes to system time.
[   26.694368][    T1] systemd[1]: Failed to find module 'autofs4'
[   26.766891][    T1] NET: Registered PF_INET6 protocol family
[   26.767880][    T1] Oops: general protection fault, probably for non-canonical address 0xf999959999999999: 0000 [#1] KASAN
[   26.769508][    T1] KASAN: maybe wild-memory-access in range [0xccccccccccccccc8-0xcccccccccccccccf]
[   26.770938][    T1] CPU: 0 UID: 0 PID: 1 Comm: systemd Not tainted 6.15.0-rc1-00261-gfed176bf3143 #1 PREEMPT(full)
[ 26.772418][ T1] RIP: 0010:__list_add_valid_or_report (kbuild/obj/consumer/x86_64-randconfig-102-20250415/lib/list_debug.c:32) 
[ 26.773329][ T1] Code: df 4c 89 f2 48 c1 ea 03 80 3c 02 00 0f 85 1a 01 00 00 49 39 74 24 08 75 65 48 b8 00 00 00 00 00 fc ff df 48 89 f2 48 c1 ea 03 <80> 3c 02 00 0f 85 e3 00 00 00 4c 39 26 0f 85 83 00 00 00 49 39 f5
All code
========
   0:	df 4c 89 f2          	fisttps -0xe(%rcx,%rcx,4)
   4:	48 c1 ea 03          	shr    $0x3,%rdx
   8:	80 3c 02 00          	cmpb   $0x0,(%rdx,%rax,1)
   c:	0f 85 1a 01 00 00    	jne    0x12c
  12:	49 39 74 24 08       	cmp    %rsi,0x8(%r12)
  17:	75 65                	jne    0x7e
  19:	48 b8 00 00 00 00 00 	movabs $0xdffffc0000000000,%rax
  20:	fc ff df 
  23:	48 89 f2             	mov    %rsi,%rdx
  26:	48 c1 ea 03          	shr    $0x3,%rdx
  2a:*	80 3c 02 00          	cmpb   $0x0,(%rdx,%rax,1)		<-- trapping instruction
  2e:	0f 85 e3 00 00 00    	jne    0x117
  34:	4c 39 26             	cmp    %r12,(%rsi)
  37:	0f 85 83 00 00 00    	jne    0xc0
  3d:	49 39 f5             	cmp    %rsi,%r13

Code starting with the faulting instruction
===========================================
   0:	80 3c 02 00          	cmpb   $0x0,(%rdx,%rax,1)
   4:	0f 85 e3 00 00 00    	jne    0xed
   a:	4c 39 26             	cmp    %r12,(%rsi)
   d:	0f 85 83 00 00 00    	jne    0x96
  13:	49 39 f5             	cmp    %rsi,%r13
[   26.776069][    T1] RSP: 0000:ffff8881012979e0 EFLAGS: 00210a07
[   26.776934][    T1] RAX: dffffc0000000000 RBX: ffffffffa0202dc0 RCX: 0000000000000000
[   26.778058][    T1] RDX: 1999999999999999 RSI: cccccccccccccccc RDI: ffffffffa0202dc0
[   26.779187][    T1] RBP: ffff888101297a00 R08: 0000000000000001 R09: fffffbfff0c0ab25
[   26.780302][    T1] R10: ffffffff8605592f R11: ffffffff86055988 R12: ffffffff86471700
[   26.781417][    T1] R13: ffffffffa0202dc0 R14: ffffffff86471708 R15: cccccccccccccccc
[   26.782534][    T1] FS:  0000000000000000(0000) GS:0000000000000000(0063) knlGS:00000000f7251840
[   26.783797][    T1] CS:  0010 DS: 002b ES: 002b CR0: 0000000080050033
[   26.784724][    T1] CR2: 00000000f7227f36 CR3: 0000000154a21000 CR4: 00000000000406b0
[   26.785840][    T1] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[   26.786972][    T1] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[   26.788088][    T1] Call Trace:
[   26.788562][    T1]  <TASK>
[ 26.788987][ T1] register_pernet_operations (kbuild/obj/consumer/x86_64-randconfig-102-20250415/include/linux/list.h:150 (discriminator 5) kbuild/obj/consumer/x86_64-randconfig-102-20250415/include/linux/list.h:183 (discriminator 5) kbuild/obj/consumer/x86_64-randconfig-102-20250415/net/core/net_namespace.c:1296 (discriminator 5) kbuild/obj/consumer/x86_64-randconfig-102-20250415/net/core/net_namespace.c:1340 (discriminator 5)) 
[ 26.789801][ T1] register_pernet_subsys (kbuild/obj/consumer/x86_64-randconfig-102-20250415/net/core/net_namespace.c:1382) 
[ 26.790538][ T1] inet6_init (kbuild/obj/consumer/x86_64-randconfig-102-20250415/net/ipv6/af_inet6.c:594) ipv6 
[ 26.791327][ T1] ? __SCT__tp_func_fib6_table_lookup (kbuild/obj/consumer/x86_64-randconfig-102-20250415/net/ipv6/af_inet6.c:768) ipv6 


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



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


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ