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:   Fri, 25 Aug 2017 16:07:36 +0800
From:   kernel test robot <xiaolong.ye@...el.com>
To:     Markus Elfring <elfring@...rs.sourceforge.net>
Cc:     Takashi Iwai <tiwai@...e.de>, LKML <linux-kernel@...r.kernel.org>,
        Takashi Iwai <tiwai@...e.com>, alsa-devel@...a-project.org,
        lkp@...org
Subject: [lkp-robot] [ALSA]  c8da9be4a7:
 WARNING:at_fs/proc/generic.c:#proc_register


FYI, we noticed the following commit:

commit: c8da9be4a75f1f63024a16b976c5be47405c13dc ("ALSA: pcm: Adjust nine function calls together with a variable assignment")
https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git for-next

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 -m 256M

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


+------------------------------------------------+------------+------------+
|                                                | 97d15a141f | c8da9be4a7 |
+------------------------------------------------+------------+------------+
| boot_successes                                 | 4          | 0          |
| boot_failures                                  | 2          | 6          |
| IP-Config:Auto-configuration_of_network_failed | 2          | 2          |
| WARNING:at_fs/proc/generic.c:#proc_register    | 0          | 6          |
| EIP:proc_register                              | 0          | 6          |
+------------------------------------------------+------------+------------+



[    8.559972] WARNING: CPU: 0 PID: 1 at fs/proc/generic.c:328 proc_register+0xe4/0x130
[    8.559972] WARNING: CPU: 0 PID: 1 at fs/proc/generic.c:328 proc_register+0xe4/0x130
[    8.561652] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.13.0-rc3-00171-gc8da9be #1
[    8.561652] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.13.0-rc3-00171-gc8da9be #1
[    8.562958] task: cf644000 task.stack: cf646000
[    8.562958] task: cf644000 task.stack: cf646000
[    8.563748] EIP: proc_register+0xe4/0x130
[    8.563748] EIP: proc_register+0xe4/0x130
[    8.564423] EFLAGS: 00210282 CPU: 0
[    8.564423] EFLAGS: 00210282 CPU: 0
[    8.565001] EAX: 0000002e EBX: ced3a038 ECX: 00000000 EDX: 00000000
[    8.565001] EAX: 0000002e EBX: ced3a038 ECX: 00000000 EDX: 00000000
[    8.566049] ESI: ced3dab0 EDI: cf724d24 EBP: cf647d08 ESP: cf647ce8
[    8.566049] ESI: ced3dab0 EDI: cf724d24 EBP: cf647d08 ESP: cf647ce8
[    8.567102]  DS: 007b ES: 007b FS: 00d8 GS: 0000 SS: 0068
[    8.567102]  DS: 007b ES: 007b FS: 00d8 GS: 0000 SS: 0068
[    8.568042] CR0: 80050033 CR2: 00000000 CR3: 021d5000 CR4: 000006b0
[    8.568042] CR0: 80050033 CR2: 00000000 CR3: 021d5000 CR4: 000006b0
[    8.569131] Call Trace:
[    8.569131] Call Trace:
[    8.569561]  proc_create_data+0x81/0xf0
[    8.569561]  proc_create_data+0x81/0xf0
[    8.570264]  snd_info_register+0x6d/0xe0
[    8.570264]  snd_info_register+0x6d/0xe0
[    8.570941]  snd_pcm_new_stream+0x21b/0x4a0
[    8.570941]  snd_pcm_new_stream+0x21b/0x4a0
[    8.571694]  ? strlcpy+0x33/0x50
[    8.571694]  ? strlcpy+0x33/0x50
[    8.572252]  _snd_pcm_new+0xc6/0x150
[    8.572252]  _snd_pcm_new+0xc6/0x150
[    8.572874]  snd_pcm_new+0x18/0x20
[    8.572874]  snd_pcm_new+0x18/0x20
[    8.573463]  snd_dummy_probe+0xec/0x400
[    8.573463]  snd_dummy_probe+0xec/0x400
[    8.574103]  platform_drv_probe+0x1e/0x60
[    8.574103]  platform_drv_probe+0x1e/0x60
[    8.574785]  really_probe+0x1c2/0x260
[    8.574785]  really_probe+0x1c2/0x260
[    8.575424]  __device_attach_driver+0x72/0xb0
[    8.575424]  __device_attach_driver+0x72/0xb0
[    8.576183]  ? __driver_attach+0xb0/0xb0
[    8.576183]  ? __driver_attach+0xb0/0xb0
[    8.576844]  bus_for_each_drv+0x4f/0x80
[    8.576844]  bus_for_each_drv+0x4f/0x80
[    8.577486]  __device_attach+0x9e/0xd0
[    8.577486]  __device_attach+0x9e/0xd0
[    8.578113]  ? __driver_attach+0xb0/0xb0
[    8.578113]  ? __driver_attach+0xb0/0xb0
[    8.578772]  device_initial_probe+0x12/0x20
[    8.578772]  device_initial_probe+0x12/0x20
[    8.579486]  bus_probe_device+0x77/0x80
[    8.579486]  bus_probe_device+0x77/0x80
[    8.580201]  device_add+0x2fc/0x530
[    8.580201]  device_add+0x2fc/0x530
[    8.580797]  ? dev_set_name+0x19/0x20
[    8.580797]  ? dev_set_name+0x19/0x20
[    8.581416]  platform_device_add+0x124/0x240
[    8.581416]  platform_device_add+0x124/0x240
[    8.582156]  platform_device_register_full+0xe2/0x120
[    8.582156]  platform_device_register_full+0xe2/0x120
[    8.583002]  alsa_card_dummy_init+0x97/0xf4
[    8.583002]  alsa_card_dummy_init+0x97/0xf4
[    8.583784]  ? alsa_seq_midi_event_init+0xc/0xc
[    8.583784]  ? alsa_seq_midi_event_init+0xc/0xc
[    8.584604]  do_one_initcall+0x80/0x151
[    8.584604]  do_one_initcall+0x80/0x151
[    8.585270]  ? parse_args+0x130/0x2a0
[    8.585270]  ? parse_args+0x130/0x2a0
[    8.585890]  ? kernel_init_freeable+0xe5/0x178
[    8.585890]  ? kernel_init_freeable+0xe5/0x178
[    8.586630]  kernel_init_freeable+0x105/0x178
[    8.586630]  kernel_init_freeable+0x105/0x178
[    8.587655]  ? rest_init+0xf0/0xf0
[    8.587655]  ? rest_init+0xf0/0xf0
[    8.588230]  kernel_init+0xd/0xf0
[    8.588230]  kernel_init+0xd/0xf0
[    8.588778]  ret_from_fork+0x19/0x24
[    8.588778]  ret_from_fork+0x19/0x24
[    8.589384] Code: af 8d b6 00 00 00 00 6a 01 31 c9 ba 01 00 00 00 b8 90 4e f7 c1 83 c7 7c e8 ba 5a ef ff ff 75 f0 57 68 ac f0 d4 c1 e8 6c 2f e9 ff <0f> ff 6a 01 31 c9 ba 01 00 00 00 b8 78 4e f7 c1 e8 97 5a ef ff
[    8.589384] Code: af 8d b6 00 00 00 00 6a 01 31 c9 ba 01 00 00 00 b8 90 4e f7 c1 83 c7 7c e8 ba 5a ef ff ff 75 f0 57 68 ac f0 d4 c1 e8 6c 2f e9 ff <0f> ff 6a 01 31 c9 ba 01 00 00 00 b8 78 4e f7 c1 e8 97 5a ef ff
[    8.592689] ---[ end trace 8498fc54cd971cf8 ]---


To reproduce:

        git clone https://github.com/01org/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.13.0-rc3-00171-gc8da9be" of type "text/plain" (104607 bytes)

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

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ