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:   Sun, 9 Jul 2017 08:49:44 +0800
From:   kernel test robot <xiaolong.ye@...el.com>
To:     "Eric W. Biederman" <ebiederm@...ssion.com>
Cc:     LKML <linux-kernel@...r.kernel.org>,
        containers@...ts.linux-foundation.org,
        "Eric W. Biederman" <ebiederm@...ssion.com>, lkp@...org
Subject: [signal]  bb78acf9d7: kernel_BUG_at_fs/fcntl.c


FYI, we noticed the following commit:

commit: bb78acf9d77b28ba40fd65b8df0212204834e5a6 ("signal: Remove kernel interal si_code magic")
https://git.kernel.org/cgit/linux/kernel/git/ebiederm/user-namespace.git si_code-demagic-v2

in testcase: perf_event_tests
with following parameters:

	paranoid: disallow_cpu_events

test-description: The Perf Event Testsuite.
test-url: https://github.com/deater/perf_event_tests


on test machine: 8 threads Intel(R) Core(TM) i7-2600K CPU @ 3.40GHz with 8G memory

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


+----------------+------------+------------+
|                | 41850fe2fd | bb78acf9d7 |
+----------------+------------+------------+
| boot_successes | 5          | 23         |
+----------------+------------+------------+



[   30.730058] kernel BUG at fs/fcntl.c:646!
[   30.731847] invalid opcode: 0000 [#1] SMP
[   30.733546] Modules linked in: rpcsec_gss_krb5 auth_rpcgss nfsv4 dns_resolver netconsole btrfs xor raid6_pq sd_mod sg intel_rapl x86_pkg_temp_thermal intel_powerclamp coretemp snd_hda_codec_hdmi kvm_intel kvm irqbypass crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel pcbc ahci snd_hda_codec_realtek aesni_intel crypto_simd ppdev glue_helper libahci snd_hda_codec_generic cryptd pcspkr serio_raw libata firewire_ohci firewire_core crc_itu_t snd_hda_intel snd_hda_codec snd_hda_core snd_hwdep snd_pcm snd_timer i915 snd shpchp soundcore video drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops drm parport_pc parport nuvoton_cir rc_core ip_tables
[   30.744916] CPU: 6 PID: 4335 Comm: ioctl_period Not tainted 4.12.0-rc2-00009-gbb78acf #1
[   30.747093] Hardware name:                  /DH67GD, BIOS BLH6710H.86A.0132.2011.1007.1505 10/07/2011
[   30.749352] task: ffff88021b77a5c0 task.stack: ffffc90002090000
[   30.751421] RIP: 0010:send_sigio_to_task+0xac/0x130
[   30.753439] RSP: 0000:ffff88021fb83e18 EFLAGS: 00010002
[   30.755483] RAX: 0000000000000001 RBX: 0000000000000005 RCX: 0000000000000002
[   30.757628] RDX: ffff8801fcd78684 RSI: 0000000000000001 RDI: 0000000000000001
[   30.759762] RBP: ffff88021fb83ec0 R08: 0000000000000000 R09: 0000000000000000
[   30.761883] R10: 0000000000000000 R11: 0000000000000206 R12: 0000000000000004
[   30.764011] R13: 0000000000000001 R14: 0000000000000024 R15: ffff88021b77a5c0
[   30.766126] FS:  00007f52644f2700(0000) GS:ffff88021fb80000(0000) knlGS:0000000000000000
[   30.768298] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[   30.770349] CR2: 00007f5263fedc70 CR3: 000000021c521000 CR4: 00000000000406e0
[   30.772492] DR0: 0000562bf9f5e110 DR1: 0000000000000000 DR2: 0000000000000000
[   30.774630] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600
[   30.776759] Call Trace:
[   30.778620]  <IRQ>
[   30.780441]  ? __intel_pmu_enable_all+0x4d/0x80
[   30.782465]  ? intel_pmu_enable_all+0x10/0x20
[   30.784423]  ? x86_pmu_enable+0x256/0x2e0
[   30.786341]  send_sigio+0x96/0x100
[   30.788222]  kill_fasync+0x67/0xa0
[   30.790096]  perf_event_wakeup+0x8d/0xa0
[   30.791990]  perf_pending_event+0xbc/0xe0
[   30.793900]  irq_work_run_list+0x48/0x70
[   30.795806]  irq_work_run+0x18/0x40
[   30.797686]  smp_irq_work_interrupt+0x2e/0x40
[   30.799600]  irq_work_interrupt+0x93/0xa0
[   30.801492] RIP: 0033:0x5637c49439e7
[   30.803345] RSP: 002b:00007ffdf3f34fd8 EFLAGS: 00000202 ORIG_RAX: ffffffffffffff09
[   30.805440] RAX: 0000000000000000 RBX: 0000000000000004 RCX: 0000000000078d92
[   30.807518] RDX: 0000000000000001 RSI: 0000000000002402 RDI: 0000000000000004
[   30.809585] RBP: 0000000000000001 R08: 0000000000000000 R09: 0000000000000000
[   30.811633] R10: 000000000000053d R11: 0000000000000206 R12: 00007ffdf3f35050
[   30.813676] R13: 00007ffdf3f35200 R14: 0000000000000000 R15: 0000000000000000
[   30.815716]  </IRQ>
[   30.817474] Code: ff ff c7 85 5c ff ff ff 00 00 00 00 89 9d 60 ff ff ff 7f 0f 41 8d 46 ff ba d8 04 01 50 48 0f a3 c2 72 7d 83 eb 01 83 fb 04 76 2d <0f> 0b 31 db 45 85 ed 0f 95 c3 89 d9 4c 89 fa be 01 00 00 00 bf 
[   30.822042] RIP: send_sigio_to_task+0xac/0x130 RSP: ffff88021fb83e18
[   30.824172] ---[ end trace b90d1042be85001f ]---


To reproduce:

        git clone https://github.com/01org/lkp-tests.git
        cd lkp-tests
        bin/lkp install job.yaml  # job file is attached in this email
        bin/lkp run     job.yaml



Thanks,
Kernel Test Robot

View attachment "config-4.12.0-rc2-00009-gbb78acf" of type "text/plain" (159394 bytes)

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

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

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ