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>] [day] [month] [year] [list]
Date:   Tue, 8 Nov 2016 14:47:31 +0800
From:   kernel test robot <xiaolong.ye@...el.com>
To:     Rob Herring <robh@...nel.org>
Cc:     LKML <linux-kernel@...r.kernel.org>, Rob Herring <robh@...nel.org>,
        Rob Herring <robh+dt@...nel.org>, lkp@...org
Subject: [lkp] [serio]  8ff6203d43: RIP:serio_tty_port_register


FYI, we noticed the following commit:

https://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git serio-tty-slave
commit 8ff6203d43b379ee672dd867d7ca88fea0bdafcf ("serio: add tty port driver")

in testcase: trinity
with following parameters:

	runtime: 300s


Trinity is a linux system call fuzz tester.


on test machine: qemu-system-x86_64 -enable-kvm -m 320M

caused below changes:


+-------------------------------------------------------+------------+------------+
|                                                       | 3cad9704a2 | 8ff6203d43 |
+-------------------------------------------------------+------------+------------+
| boot_successes                                        | 0          | 0          |
| boot_failures                                         | 88         | 26         |
| BUG:key_not_in.data                                   | 88         | 26         |
| WARNING:at_kernel/locking/lockdep.c:#lockdep_init_map | 88         | 26         |
| calltrace:vhci_hcd_init                               | 88         | 26         |
| RIP:sysfs_kf_write                                    | 88         |            |
| calltrace:SyS_write                                   | 88         |            |
| Kernel_panic-not_syncing:Fatal_exception              | 88         | 26         |
| WARNING:at_lib/list_debug.c:#__list_del_entry         | 63         |            |
| calltrace:serio_handle_event                          | 63         |            |
| RIP:serio_tty_port_register                           | 0          | 26         |
| calltrace:serio_tty_port_init                         | 0          | 26         |
+-------------------------------------------------------+------------+------------+




[   14.636430] usbip-vudc: probe of usbip-vudc.0 failed with error -22
[   14.637326] general protection fault: 0000 [#1]
[   14.637830] CPU: 0 PID: 1 Comm: swapper Tainted: G        W       4.9.0-rc3-00013-g8ff6203 #1
[   14.638707] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Debian-1.8.2-1 04/01/2014
[   14.639628] task: ffff8800002ac040 task.stack: ffff8800002b0000
[   14.640252] RIP: 0010:[<ffffffff82303e6d>]  [<ffffffff82303e6d>] serio_tty_port_register+0x37/0x3ee
[   14.641211] RSP: 0000:ffff8800002b3e18  EFLAGS: 00010202
[   14.641767] RAX: 00000000ffffffff RBX: 6b6b6b6b6b6b6b6b RCX: 0000000000000010
[   14.642510] RDX: ffff8800002ac040 RSI: ffff88000d54ab40 RDI: ffff88000d56a000
[   14.643250] RBP: ffff8800002b3e50 R08: 0000000000000100 R09: 0000000000000000
[   14.643991] R10: ffff8800002ac040 R11: ffff88000d569d10 R12: 0000000000000000
[   14.644727] R13: ffffffff82303e36 R14: ffff88000d56a000 R15: ffff88000d54ab40
[   14.645469] FS:  0000000000000000(0000) GS:ffffffff83e63000(0000) knlGS:0000000000000000
[   14.646306] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[   14.646907] CR2: 0000000000000000 CR3: 0000000003e11000 CR4: 00000000000006b0
[   14.647647] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[   14.648390] DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
[   14.649128] Stack:
[   14.649355]  0000000081f476b0 ffffffff84440588 ffff88000d54ab40 0000000000000000
[   14.650204]  ffffffff82303e36 ffff88000d56a000 3ceca37b494566f9 ffff8800002b3e80
[   14.651051]  ffffffff81e2d0b2 ffffffff8230375d 0000000000000000 00000000ffffffff
[   14.651895] Call Trace:
[   14.652172]  [<ffffffff82303e36>] ? serio_tty_port_exit+0x10a/0x10a
[   14.652836]  [<ffffffff81e2d0b2>] tty_port_get_registered_ports+0xc3/0x11f
[   14.653553]  [<ffffffff8230375d>] ? serport_serio_write_buf+0x5a/0x5a
[   14.654230]  [<ffffffff82303779>] serio_tty_port_init+0x1c/0x27
[   14.654859]  [<ffffffff851a2f9e>] do_one_initcall+0x106/0x286
[   14.655464]  [<ffffffff851a34d8>] kernel_init_freeable+0x3ba/0x53f
[   14.656117]  [<ffffffff82d30dc6>] ? rest_init+0x2ad/0x2ad
[   14.656689]  [<ffffffff82d30ddc>] kernel_init+0x16/0x298
[   14.657254]  [<ffffffff82d30dc6>] ? rest_init+0x2ad/0x2ad
[   14.657830]  [<ffffffff82d4232a>] ret_from_fork+0x2a/0x40
[   14.658392] Code: 49 89 fe 53 49 89 f7 48 83 ec 10 89 55 cc e8 42 bb f1 fe 49 8b 9e 30 03 00 00 48 85 db 74 26 e8 31 bb f1 fe 48 ff 05 33 92 46 05 <48> 83 bb 38 03 00 00 00 0f 84 8a 03 00 00 e8 17 bb f1 fe 48 ff 
[   14.661605] RIP  [<ffffffff82303e6d>] serio_tty_port_register+0x37/0x3ee
[   14.662328]  RSP <ffff8800002b3e18>
[   14.662738] ---[ end trace d5df35fd87882b4e ]---
[   14.663264] Kernel panic - not syncing: Fatal exception
[   14.663823] Kernel Offset: disabled

Elapsed time: 20


To reproduce:

        git clone git://git.kernel.org/pub/scm/linux/kernel/git/wfg/lkp-tests.git
        cd lkp-tests
        bin/lkp install job.yaml  # job file is attached in this email
        bin/lkp run     job.yaml



Thanks,
Xiaolong

View attachment "config-4.9.0-rc3-00013-g8ff6203" of type "text/plain" (113913 bytes)

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

Download attachment "dmesg.xz" of type "application/octet-stream" (13140 bytes)

View attachment "job.yaml" of type "text/plain" (2823 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ