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-prev] [thread-next>] [day] [month] [year] [list]
Date:   Wed, 16 Jan 2019 16:58:58 +0800
From:   kernel test robot <lkp@...el.com>
To:     Camelia Groza <camelia.groza@....com>
Cc:     andrew@...n.ch, f.fainelli@...il.com, hkallweit1@...il.com,
        davem@...emloft.net, oss@...error.net, netdev@...r.kernel.org,
        linux-kernel@...r.kernel.org,
        Camelia Groza <camelia.groza@....com>, lkp@...org
Subject: [net]  b8154ef682:
 WARNING:at_drivers/net/phy/phy_device.c:#phy_driver_register

FYI, we noticed the following commit (built with gcc-7):

commit: b8154ef682a9a745880ecbb2ee26b16297c9bfd0 ("[PATCH net] net: phy: phy driver features are mandatory")
url: https://github.com/0day-ci/linux/commits/Camelia-Groza/net-phy-phy-driver-features-are-mandatory/20190116-004308


in testcase: trinity
with following parameters:

	runtime: 300s

test-description: Trinity is a linux system call fuzz tester.
test-url: http://codemonkey.org.uk/projects/trinity/


on test machine: qemu-system-i386 -enable-kvm -cpu SandyBridge -smp 2 -m 512M

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


+--------------------------------------------------------------+------------+------------+
|                                                              | 2f960bd056 | b8154ef682 |
+--------------------------------------------------------------+------------+------------+
| boot_successes                                               | 45         | 0          |
| boot_failures                                                | 1          | 4          |
| BUG:kernel_timeout_in_torture_test_stage                     | 1          |            |
| WARNING:at_drivers/net/phy/phy_device.c:#phy_driver_register | 0          | 4          |
| EIP:phy_driver_register                                      | 0          | 4          |
+--------------------------------------------------------------+------------+------------+



[  458.251512] WARNING: CPU: 0 PID: 1 at drivers/net/phy/phy_device.c:2246 phy_driver_register+0x90/0xe0
[  458.260864] CPU: 0 PID: 1 Comm: swapper Tainted: G                T 4.20.0-11080-gb8154ef6 #158
[  458.260864] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1 04/01/2014
[  458.260864] EIP: phy_driver_register+0x90/0xe0
[  458.260864] Code: 5d 89 7b 08 89 03 89 d8 c7 43 14 02 00 00 00 e8 06 d3 e1 ff 85 c0 89 c6 75 39 83 c4 0c 89 f0 5b 5e 5f 5d c3 8d b6 00 00 00 00 <0f> 0b b8 38 5b 2e 5e c7 04 24 00 00 00 00 31 c9 ba 01 00 00 00 be
[  458.260864] EAX: 5e2e5b50 EBX: 5e1a8fe0 ECX: 00000000 EDX: 00000001
[  458.260864] ESI: 00000000 EDI: 00000000 EBP: 4010defc ESP: 4010dee4
[  458.260864] DS: 007b ES: 007b FS: 0000 GS: 0000 SS: 0068 EFLAGS: 00210246
[  458.260864] CR0: 80050033 CR2: 00000000 CR3: 1e43a000 CR4: 000006b0
[  458.260864] Call Trace:
[  458.260864]  ? phy_drivers_register+0x37/0x90
[  458.260864]  ? phy_module_init+0x1b/0x1b
[  458.260864]  ? phy_module_init+0x19/0x1b
[  458.260864]  ? do_one_initcall+0xd9/0x24b
[  458.260864]  ? rcu_read_lock_sched_held+0x3f/0x60
[  458.260864]  ? trace_initcall_level+0x90/0xc3
[  458.260864]  ? kernel_init_freeable+0xe1/0x181
[  458.260864]  ? kernel_init_freeable+0x106/0x181
[  458.260864]  ? rest_init+0x140/0x140
[  458.260864]  ? kernel_init+0x10/0x100
[  458.260864]  ? schedule_tail_wrapper+0x9/0xc
[  458.260864]  ? ret_from_fork+0x19/0x24
[  458.260864] irq event stamp: 1825870
[  458.260864] hardirqs last  enabled at (1825869): [<5c7633e6>] free_unref_page+0x56/0x70
[  458.260864] hardirqs last disabled at (1825870): [<5c6013f1>] trace_hardirqs_off_thunk+0xc/0x1b
[  458.260864] softirqs last  enabled at (1825822): [<5d8c0934>] __do_softirq+0x2d4/0x483
[  458.260864] softirqs last disabled at (1825817): [<5c60d8d1>] do_softirq_own_stack+0x21/0x30
[  458.260864] random: get_random_bytes called from print_oops_end_marker+0x57/0x70 with crng_init=0
[  458.260864] ---[ end trace 370e1ec5b20c08ee ]---


To reproduce:

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



Thanks,
Rong Chen

View attachment "config-4.20.0-11080-gb8154ef6" of type "text/plain" (126772 bytes)

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ