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: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <202210301645.c89bc046-oliver.sang@intel.com>
Date:   Sun, 30 Oct 2022 17:35:04 +0800
From:   kernel test robot <oliver.sang@...el.com>
To:     Jakub Kicinski <kuba@...nel.org>
CC:     <oe-lkp@...ts.linux.dev>, <lkp@...el.com>,
        <linux-kernel@...r.kernel.org>, <netdev@...r.kernel.org>
Subject: [linus:master] [genetlink]  ce48ebdd56:
 WARNING:at_net/netlink/genetlink.c:#genl_register_family


Greeting,

FYI, we noticed WARNING:at_net/netlink/genetlink.c:#genl_register_family due to commit (built with gcc-11):

commit: ce48ebdd56513fa5ad9dab683a96399e00dbf464 ("genetlink: limit the use of validation workarounds to old ops")
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git master

[test failed on linux-next/master fd8dab197cca2746e1fcd399a218eec5164726d4]

in testcase: boot

on test machine: qemu-system-x86_64 -enable-kvm -cpu SandyBridge -smp 2 -m 16G

caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):



If you fix the issue, kindly add following tag
| Reported-by: kernel test robot <oliver.sang@...el.com>
| Link: https://lore.kernel.org/oe-lkp/202210301645.c89bc046-oliver.sang@intel.com


[   13.397342][    T1] ------------[ cut here ]------------
[ 13.398381][ T1] WARNING: CPU: 0 PID: 1 at net/netlink/genetlink.c:383 genl_register_family (??:?) 
[   13.399867][    T1] Modules linked in:
[   13.400473][    T1] CPU: 0 PID: 1 Comm: swapper Tainted: G        W          6.1.0-rc2-00093-gce48ebdd5651 #1 e169ad32aa69920420b9c04cbfc68b3caba60cfb
[ 13.402793][ T1] EIP: genl_register_family (??:?) 
[ 13.403628][ T1] Code: 0f 0b 8b 45 c0 85 c0 0f 84 ef 01 00 00 0f b6 45 d0 8b 75 ac 88 45 b3 3a 46 28 0f 82 44 01 00 00 80 7d d3 00 0f 84 3a 01 00 00 <0f> 0b be ea ff ff ff 8b 45 f0 2b 05 f0 d0 70 c3 0f 85 7b 02 00 00
All code
========
   0:	0f 0b                	ud2    
   2:	8b 45 c0             	mov    -0x40(%rbp),%eax
   5:	85 c0                	test   %eax,%eax
   7:	0f 84 ef 01 00 00    	je     0x1fc
   d:	0f b6 45 d0          	movzbl -0x30(%rbp),%eax
  11:	8b 75 ac             	mov    -0x54(%rbp),%esi
  14:	88 45 b3             	mov    %al,-0x4d(%rbp)
  17:	3a 46 28             	cmp    0x28(%rsi),%al
  1a:	0f 82 44 01 00 00    	jb     0x164
  20:	80 7d d3 00          	cmpb   $0x0,-0x2d(%rbp)
  24:	0f 84 3a 01 00 00    	je     0x164
  2a:*	0f 0b                	ud2    		<-- trapping instruction
  2c:	be ea ff ff ff       	mov    $0xffffffea,%esi
  31:	8b 45 f0             	mov    -0x10(%rbp),%eax
  34:	2b 05 f0 d0 70 c3    	sub    -0x3c8f2f10(%rip),%eax        # 0xffffffffc370d12a
  3a:	0f 85 7b 02 00 00    	jne    0x2bb

Code starting with the faulting instruction
===========================================
   0:	0f 0b                	ud2    
   2:	be ea ff ff ff       	mov    $0xffffffea,%esi
   7:	8b 45 f0             	mov    -0x10(%rbp),%eax
   a:	2b 05 f0 d0 70 c3    	sub    -0x3c8f2f10(%rip),%eax        # 0xffffffffc370d100
  10:	0f 85 7b 02 00 00    	jne    0x291
[   13.406809][    T1] EAX: 00000001 EBX: 00000000 ECX: c29f8800 EDX: c29f8840
[   13.407879][    T1] ESI: c2ea7620 EDI: 00000004 EBP: c0243f0c ESP: c0243eb0
[   13.410241][    T1] DS: 007b ES: 007b FS: 0000 GS: 0000 SS: 0068 EFLAGS: 00010206
[   13.411421][    T1] CR0: 80050033 CR2: ffdda000 CR3: 03ec8000 CR4: 00040690
[   13.412508][    T1] Call Trace:
[ 13.413037][ T1] ? ovs_flow_cmd_get (datapath.c:?) 
[ 13.414061][ T1] dp_init (datapath.c:?) 
[ 13.414690][ T1] ? batadv_tt_cache_init (datapath.c:?) 
[ 13.415520][ T1] do_one_initcall (??:?) 
[ 13.416301][ T1] ? rdinit_setup (main.c:?) 
[ 13.417241][ T1] do_initcalls (main.c:?) 
[ 13.418185][ T1] kernel_init_freeable (main.c:?) 
[ 13.418950][ T1] ? rest_init (main.c:?) 
[ 13.419594][ T1] kernel_init (main.c:?) 
[ 13.420259][ T1] ret_from_fork (??:?) 
[   13.420991][    T1] irq event stamp: 1618993
[ 13.421873][ T1] hardirqs last enabled at (1619003): __up_console_sem (printk.c:?) 
[ 13.423220][ T1] hardirqs last disabled at (1619010): __up_console_sem (printk.c:?) 
[ 13.424548][ T1] softirqs last enabled at (1617448): lowpan_nhc_add (??:?) 
[ 13.426117][ T1] softirqs last disabled at (1617446): lowpan_nhc_add (??:?) 
[   13.427451][    T1] ---[ end trace 0000000000000000 ]---
[ 13.429026][ T1] initcall dp_init+0x0/0x111 returned -22 after 33525 usecs 
[ 13.430395][ T1] calling vsock_init+0x0/0xed @ 1 
[   13.431786][    T1] NET: Registered PF_VSOCK protocol family
[ 13.432729][ T1] initcall vsock_init+0x0/0xed returned 0 after 1536 usecs 
[ 13.434055][ T1] calling vsock_diag_init+0x0/0xf @ 1 
[ 13.434899][ T1] initcall vsock_diag_init+0x0/0xf returned 0 after 4 usecs 
[ 13.435981][ T1] calling mpls_gso_init+0x0/0x25 @ 1 
[   13.436818][    T1] mpls_gso: MPLS GSO support
[ 13.437528][ T1] initcall mpls_gso_init+0x0/0x25 returned 0 after 709 usecs 
[ 13.438850][ T1] calling nsh_init_module+0x0/0x11 @ 1 
[ 13.439701][ T1] initcall nsh_init_module+0x0/0x11 returned 0 after 3 usecs 
[ 13.442947][ T1] calling hsr_init+0x0/0x14 @ 1 
[   13.443868][    T1] Cannot create hsr debugfs root directory
[ 13.444953][ T1] initcall hsr_init+0x0/0x14 returned 0 after 1222 usecs 
[ 13.446262][ T1] calling qcom_smd_qrtr_driver_init+0x0/0x11 @ 1 
[ 13.447352][ T1] initcall qcom_smd_qrtr_driver_init+0x0/0x11 returned 0 after 104 usecs 
[ 13.448702][ T1] calling qcom_mhi_qrtr_driver_init+0x0/0x11 @ 1 
[ 13.450041][ T1] initcall qcom_mhi_qrtr_driver_init+0x0/0x11 returned 0 after 125 usecs 
[ 13.453081][ T1] calling kernel_do_mounts_initrd_sysctls_init+0x0/0x1b @ 1 
[ 13.454517][ T1] initcall kernel_do_mounts_initrd_sysctls_init+0x0/0x1b returned 0 after 44 usecs 
[ 13.455973][ T1] calling hpet_insert_resource+0x0/0x1f @ 1 
[ 13.456933][ T1] initcall hpet_insert_resource+0x0/0x1f returned 0 after 5 usecs 
[ 13.458383][ T1] calling create_tlb_single_page_flush_ceiling+0x0/0x23 @ 1 
[ 13.459559][ T1] initcall create_tlb_single_page_flush_ceiling+0x0/0x23 returned 0 after 2 usecs 
[ 13.460999][ T1] calling cpa_stats_init+0x0/0x23 @ 1 
[ 13.462085][ T1] initcall cpa_stats_init+0x0/0x23 returned 0 after 1 usecs 
[ 13.463213][ T1] calling pat_memtype_list_init+0x0/0x31 @ 1 
[ 13.464170][ T1] initcall pat_memtype_list_init+0x0/0x31 returned 0 after 1 usecs 
[ 13.465413][ T1] calling reboot_ksysfs_init+0x0/0x53 @ 1 
[ 13.466604][ T1] initcall reboot_ksysfs_init+0x0/0x53 returned 0 after 76 usecs 
[ 13.467824][ T1] calling sched_core_sysctl_init+0x0/0x1b @ 1 
[ 13.470087][ T1] initcall sched_core_sysctl_init+0x0/0x1b returned 0 after 21 usecs 
[ 13.471431][ T1] calling sched_fair_sysctl_init+0x0/0x1b @ 1 
[ 13.472488][ T1] initcall sched_fair_sysctl_init+0x0/0x1b returned 0 after 18 usecs 
[ 13.474016][ T1] calling sched_rt_sysctl_init+0x0/0x1b @ 1 
[ 13.474985][ T1] initcall sched_rt_sysctl_init+0x0/0x1b returned 0 after 21 usecs 
[ 13.476214][ T1] calling sched_dl_sysctl_init+0x0/0x1b @ 1 
[ 13.477207][ T1] initcall sched_dl_sysctl_init+0x0/0x1b returned 0 after 17 usecs 
[ 13.478660][ T1] calling sched_clock_init_late+0x0/0xa2 @ 1 
[   13.479623][    T1] sched_clock: Marking stable (13455826937, 22697179)->(13505147251, -26623135)
[ 13.481029][ T1] initcall sched_clock_init_late+0x0/0xa2 returned 0 after 1406 usecs 
[ 13.482530][ T1] calling sched_init_debug+0x0/0x105 @ 1 
[ 13.483424][ T1] initcall sched_init_debug+0x0/0x105 returned 0 after 2 usecs 
[ 13.484690][ T1] calling kernel_lockdep_sysctls_init+0x0/0x1b @ 1 
[ 13.485949][ T1] initcall kernel_lockdep_sysctls_init+0x0/0x1b returned 0 after 26 usecs 
[ 13.487293][ T1] calling cpu_latency_qos_init+0x0/0x33 @ 1 
[ 13.488562][ T1] initcall cpu_latency_qos_init+0x0/0x33 returned 0 after 338 usecs 
[ 13.490051][ T1] calling printk_late_init+0x0/0xf7 @ 1 
[ 13.490996][ T1] initcall printk_late_init+0x0/0xf7 returned 0 after 28 usecs 
[ 13.492179][ T1] calling rcu_verify_early_boot_tests+0x0/0x60 @ 1 
[ 13.493238][ T1] initcall rcu_verify_early_boot_tests+0x0/0x60 returned 0 after 2 usecs 
[ 13.494755][ T1] calling rcu_tasks_verify_schedule_work+0x0/0x70 @ 1 
[ 13.495860][ T1] initcall rcu_tasks_verify_schedule_work+0x0/0x70 returned 0 after 2 usecs 
[ 13.498451][ T1] calling tk_debug_sleep_time_init+0x0/0x1f @ 1 
[ 13.499455][ T1] initcall tk_debug_sleep_time_init+0x0/0x1f returned 0 after 1 usecs 
[ 13.500730][ T1] calling bpf_ksym_iter_register+0x0/0x19 @ 1 
[ 13.501939][ T1] initcall bpf_ksym_iter_register+0x0/0x19 returned 0 after 19 usecs 
[ 13.503199][ T1] calling bpf_rstat_kfunc_init+0x0/0x14 @ 1 
[ 13.504158][ T1] initcall bpf_rstat_kfunc_init+0x0/0x14 returned 0 after 32 usecs 
[ 13.505423][ T1] calling debugfs_kprobe_init+0x0/0x61 @ 1 
[ 13.506571][ T1] initcall debugfs_kprobe_init+0x0/0x61 returned 0 after 2 usecs 
[ 13.507771][ T1] calling bpf_key_sig_kfuncs_init+0x0/0x14 @ 1 
[ 13.508794][ T1] initcall bpf_key_sig_kfuncs_init+0x0/0x14 returned 0 after 28 usecs 
[ 13.510307][ T1] calling bpf_syscall_sysctl_init+0x0/0x1b @ 1 
[ 13.511301][ T1] initcall bpf_syscall_sysctl_init+0x0/0x1b returned 0 after 22 usecs 
[ 13.512587][ T1] calling kfunc_init+0x0/0x14 @ 1 
[ 13.513404][ T1] initcall kfunc_init+0x0/0x14 returned 0 after 2 usecs 
[ 13.514700][ T1] calling bpf_map_iter_init+0x0/0x27 @ 1 
[ 13.515612][ T1] initcall bpf_map_iter_init+0x0/0x27 returned 0 after 22 usecs 
[ 13.516835][ T1] calling task_iter_init+0x0/0x79 @ 1 
[ 13.517909][ T1] initcall task_iter_init+0x0/0x79 returned 0 after 22 usecs 
[ 13.519058][ T1] calling bpf_prog_iter_init+0x0/0x19 @ 1 
[ 13.519979][ T1] initcall bpf_prog_iter_init+0x0/0x19 returned 0 after 11 usecs 
[ 13.521217][ T1] calling bpf_link_iter_init+0x0/0x19 @ 1 
[ 13.522356][ T1] initcall bpf_link_iter_init+0x0/0x19 returned 0 after 12 usecs 
[ 13.523561][ T1] calling bpf_cgroup_iter_init+0x0/0x19 @ 1 
[ 13.524509][ T1] initcall bpf_cgroup_iter_init+0x0/0x19 returned 0 after 12 usecs 
[ 13.526987][ T1] calling load_system_certificate_list+0x0/0x2c @ 1 
[   13.528043][    T1] Loading compiled-in X.509 certificates
[ 13.528928][ T1] initcall load_system_certificate_list+0x0/0x2c returned 0 after 885 usecs 
[ 13.530473][ T1] calling fault_around_debugfs+0x0/0x1f @ 1 
[ 13.531400][ T1] initcall fault_around_debugfs+0x0/0x1f returned 0 after 1 usecs 
[ 13.532647][ T1] calling fail_page_alloc_debugfs+0x0/0x60 @ 1 
[ 13.533822][ T1] initcall fail_page_alloc_debugfs+0x0/0x60 returned 0 after 2 usecs 
[ 13.535091][ T1] calling failslab_debugfs_init+0x0/0x53 @ 1 
[ 13.536054][ T1] initcall failslab_debugfs_init+0x0/0x53 returned -1 after 1 usecs 
[ 13.537326][ T1] calling debug_vm_pgtable+0x0/0x241 @ 1 
[   13.538421][    T1] debug_vm_pgtable: [debug_vm_pgtable         ]: Validating architecture page table helpers
[ 13.540097][ T1] initcall debug_vm_pgtable+0x0/0x241 returned 0 after 1676 usecs 
[ 13.541371][ T1] calling pageowner_init+0x0/0x37 @ 1 
[ 13.542426][ T1] initcall pageowner_init+0x0/0x37 returned 0 after 1 usecs 
[ 13.543563][ T1] calling check_early_ioremap_leak+0x0/0x4c @ 1 
[ 13.544549][ T1] initcall check_early_ioremap_leak+0x0/0x4c returned 0 after 1 usecs 
[ 13.546051][ T1] calling fscrypt_init+0x0/0x6f @ 1 
[   13.547215][    T1] Key type .fscrypt registered
[   13.548030][    T1] Key type fscrypt-provisioning registered
[ 13.553064][ T1] initcall fscrypt_init+0x0/0x6f returned 0 after 6189 usecs 
[ 13.554378][ T1] calling afs_init+0x0/0xf9 @ 1 
[   13.555149][    T1] kAFS: Red Hat AFS client v0.1 registering.
[ 13.557914][ T1] initcall afs_init+0x0/0xf9 returned 0 after 2764 usecs 


To reproduce:

        # build kernel
	cd linux
	cp config-6.1.0-rc2-00093-gce48ebdd5651 .config
	make HOSTCC=gcc-11 CC=gcc-11 ARCH=i386 olddefconfig prepare modules_prepare bzImage modules
	make HOSTCC=gcc-11 CC=gcc-11 ARCH=i386 INSTALL_MOD_PATH=<mod-install-dir> modules_install
	cd <mod-install-dir>
	find lib/ | cpio -o -H newc --quiet | gzip > modules.cgz


        git clone https://github.com/intel/lkp-tests.git
        cd lkp-tests
        bin/lkp qemu -k <bzImage> -m modules.cgz job-script # job-script is attached in this email

        # if come across any failure that blocks the test,
        # please remove ~/.lkp and /lkp dir to run from a clean state.



-- 
0-DAY CI Kernel Test Service
https://01.org/lkp



View attachment "config-6.1.0-rc2-00093-gce48ebdd5651" of type "text/plain" (153225 bytes)

View attachment "job-script" of type "text/plain" (4788 bytes)

Download attachment "dmesg.xz" of type "application/x-xz" (50180 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ