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] [day] [month] [year] [list]
Date:   Wed, 8 Nov 2017 09:57:55 +0800
From:   kernel test robot <xiaolong.ye@...el.com>
To:     David Ahern <dsahern@...il.com>
Cc:     netdev@...r.kernel.org, David Ahern <dsahern@...il.com>, lkp@...org
Subject: [lkp-robot] [net]  7f06cc67ee:
 WARNING:at_net/ipv4/netfilter/nf_conntrack_l3proto_ipv4.c:#nf_conntrack_l3proto_ipv4_init


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

commit: 7f06cc67ee250cc84980aae97e4af46fdc8e6403 ("net: netlink: Update attr validation to require exact length for some types")
url: https://github.com/0day-ci/linux/commits/David-Ahern/net-netlink-Update-attr-validation-to-require-exact-length-for-some-types/20171108-060406


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-x86_64 -enable-kvm -cpu host -smp 2 -m 1G

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


+-------------------------------------------------------------------------------------------+------------+------------+
|                                                                                           | 2798b80b38 | 7f06cc67ee |
+-------------------------------------------------------------------------------------------+------------+------------+
| boot_successes                                                                            | 6          | 6          |
| boot_failures                                                                             | 0          | 8          |
| WARNING:at_net/ipv4/netfilter/nf_conntrack_l3proto_ipv4.c:#nf_conntrack_l3proto_ipv4_init | 0          | 8          |
| RIP:nf_conntrack_l3proto_ipv4_init                                                        | 0          | 8          |
| BUG:kernel_hang_in_test_stage                                                             | 0          | 2          |
+-------------------------------------------------------------------------------------------+------------+------------+



[    8.049759] WARNING: CPU: 0 PID: 1 at net/ipv4/netfilter/nf_conntrack_l3proto_ipv4.c:413 nf_conntrack_l3proto_ipv4_init+0x2b/0xda
[    8.051405] Modules linked in:
[    8.051923] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.14.0-rc7-02177-g7f06cc6 #90
[    8.053063] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1 04/01/2014
[    8.054271] task: ffff8b02b2db4040 task.stack: ffff9e5600194000
[    8.055038] RIP: 0010:nf_conntrack_l3proto_ipv4_init+0x2b/0xda
[    8.055781] RSP: 0000:ffff9e5600197e90 EFLAGS: 00010287
[    8.056502] RAX: 0000000000000000 RBX: ffffffff918969a2 RCX: 0000000000000005
[    8.057367] RDX: 0000000000000010 RSI: 0000000000000005 RDI: ffffffff90fc07d0
[    8.058238] RBP: ffff9e5600197e98 R08: 00000002a910221d R09: 0000000000000000
[    8.059107] R10: ffff9e5600197e58 R11: 00000000000029d8 R12: 0000000000000000
[    8.059956] R13: 00000000ffffffff R14: ffffffff9181f7fc R15: 0000000000000000
[    8.061076] FS:  0000000000000000(0000) GS:ffff8b02b3800000(0000) knlGS:0000000000000000
[    8.062245] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[    8.063117] CR2: 0000000000000000 CR3: 0000000031423001 CR4: 00000000001606f0
[    8.064553] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[    8.065981] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[    8.067024] Call Trace:
[    8.067498]  ? ipv4_netfilter_init+0x17/0x17
[    8.068117]  do_one_initcall+0x90/0x13c
[    8.068702]  ? set_debug_rodata+0x17/0x17
[    8.069491]  kernel_init_freeable+0x1cf/0x252
[    8.070122]  ? rest_init+0x22f/0x22f
[    8.070681]  kernel_init+0xe/0xf5
[    8.071228]  ret_from_fork+0x2a/0x40
[    8.072204] Code: 0f 1f 44 00 00 55 48 89 e5 53 e8 d9 31 3e ff be 05 00 00 00 48 c7 c7 80 07 fc 90 e8 f9 90 d7 fe 0f b7 15 59 0e d7 ff 39 d0 74 0c <0f> ff bb ea ff ff ff e9 9e 00 00 00 48 c7 c7 20 ef 5b 91 e8 b0 
[    8.075683] ---[ end trace 34d198144a4e7a80 ]---


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,
Xiaolong

View attachment "config-4.14.0-rc7-02177-g7f06cc6" of type "text/plain" (118919 bytes)

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

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

View attachment "trinity" of type "text/plain" (11515 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ