Bug 80991

Summary: Kernel BUG at drivers/char/random.c
Product: Other Reporter: tester6382 (tester6382)
Component: OtherAssignee: other_other
Status: RESOLVED DUPLICATE    
Severity: high CC: andrey_utkin
Priority: P1    
Hardware: x86-64   
OS: Linux   
Kernel Version: 3.15.5-1-ARCH Subsystem:
Regression: No Bisected commit-id:
Attachments: Kernel panic picture.

Description tester6382 2014-07-23 11:55:48 UTC
Created attachment 144031 [details]
Kernel panic picture.

Description:

Kernel panic occurred while executing the following command: dd if=/dev/urandom of=/dev/sdb bs=10M count=1.

Additional info:
* package version(s)

Kernel version: 3.15.5-1-ARCH

* config and/or log files etc.

Jul 20 20:21:14 T500 kernel: ------------[ cut here ]------------
Jul 20 20:21:14 T500 kernel: kernel BUG at drivers/char/random.c:985!
Jul 20 20:21:14 T500 kernel: invalid opcode: 0000 [#19] PREEMPT SMP 
Jul 20 20:21:14 T500 kernel: Modules linked in: nls_iso8859_1 nls_cp437 vfat fat uas usb_storage reiserfs xt_CHECKSUM iptable_mangle ipt_MASQUERADE iptable_nat nf_nat_ipv4 nf_nat ipt_REJECT xt_tcpudp bridge stp llc ctr ccm xt_LOG nf_conn
Jul 20 20:21:14 T500 kernel: wmi thermal battery tpm_tis shpchp intel_agp parport_pc parport ptp intel_gtt pps_core ac tpm video button acpi_cpufreq processor pci_stub vboxpci(O) vboxnetflt(O) vboxnetadp(O) vboxdrv(O) ext4 crc16 mbcache
Jul 20 20:21:14 T500 kernel: CPU: 1 PID: 2092 Comm: dd Tainted: G D O 3.15.5-1-ARCH #1
Jul 20 20:21:14 T500 kernel: Hardware name: LENOVO 20552CU/20552CU, BIOS 6FET93WW (3.23 ) 10/12/2012
Jul 20 20:21:14 T500 kernel: task: ffff8800aab49460 ti: ffff8800b84a4000 task.ti: ffff8800b84a4000
Jul 20 20:21:14 T500 kernel: RIP: 0010:[<ffffffff81381228>] [<ffffffff81381228>] extract_entropy+0x218/0x220
Jul 20 20:21:14 T500 kernel: RSP: 0018:ffff8800b84a7ce0 EFLAGS: 00010206
Jul 20 20:21:14 T500 kernel: RAX: 0000000000002000 RBX: ffffffff8189cbc0 RCX: 0000000038000000
Jul 20 20:21:14 T500 kernel: RDX: 0000000000000400 RSI: 0000000000000010 RDI: ffffffff8189cbc0
Jul 20 20:21:14 T500 kernel: RBP: ffff8800b84a7d38 R08: 0000000000000000 R09: 000000003e453c34
Jul 20 20:21:14 T500 kernel: R10: 00000000c69f3917 R11: 00000000659865b9 R12: 0000000000000010
Jul 20 20:21:14 T500 kernel: R13: ffff8800b84a7e28 R14: ffffffff8120e7ba R15: ffffffff8172f288
Jul 20 20:21:14 T500 kernel: FS: 0000000000000000(0000) GS:ffff88023bc80000(0000) knlGS:0000000000000000
Jul 20 20:21:14 T500 kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b
Jul 20 20:21:14 T500 kernel: CR2: 00007feaf37a1f84 CR3: 00000000a7f22000 CR4: 00000000000007e0
Jul 20 20:21:14 T500 kernel: Stack:
Jul 20 20:21:14 T500 kernel: 66cd6382b84a7d20 b7e2413f00c5066b 0000000000000000 8c8c4c496f7d17f0
Jul 20 20:21:14 T500 kernel: cf9c58802abaf68f 000000005dd34ce6 ffff880210a05300 0000000000000010
Jul 20 20:21:14 T500 kernel: ffff8800b84a7e28 ffffffff8120e7ba 00007fff0d146040 ffff8800b84a7d68
Jul 20 20:21:14 T500 kernel: Call Trace:
Jul 20 20:21:14 T500 kernel: [<ffffffff8120e7ba>] ? load_elf_binary+0xb6a/0x19e0
Jul 20 20:21:14 T500 kernel: [<ffffffff81381aa6>] get_random_bytes+0x36/0x90
Jul 20 20:21:14 T500 kernel: [<ffffffff8120e7ba>] load_elf_binary+0xb6a/0x19e0
Jul 20 20:21:14 T500 kernel: [<ffffffff811bb764>] search_binary_handler+0x94/0x1e0
Jul 20 20:21:14 T500 kernel: [<ffffffff811bc191>] do_execve_common.isra.27+0x561/0x700
Jul 20 20:21:14 T500 kernel: [<ffffffff811bc348>] do_execve+0x18/0x20
Jul 20 20:21:14 T500 kernel: [<ffffffff811bc605>] SyS_execve+0x25/0x30
Jul 20 20:21:14 T500 kernel: [<ffffffff815164d9>] stub_execve+0x69/0xa0
Jul 20 20:21:14 T500 kernel: Code: 55 00 41 8b 54 07 fc 41 89 54 05 fc e9 cb fe ff ff 66 90 41 0f b7 54 07 fe 66 41 89 54 05 fe e9 b8 fe ff ff 0f 1f 80 00 00 00 00 <0f> 0b e8 d1 86 ce ff 90 66 66 66 66 90 55 48 89 e5 41 57 41 56 
Jul 20 20:21:14 T500 kernel: RIP [<ffffffff81381228>] extract_entropy+0x218/0x220
Jul 20 20:21:14 T500 kernel: RSP <ffff8800b84a7ce0>
Jul 20 20:21:14 T500 kernel: ---[ end trace 6d3c93f1d8e0b78c ]---
Jul 20 20:21:14 T500 kernel: ------------[ cut here ]------------

Steps to reproduce:

Not able to reproduce using dd command anymore.
Comment 1 Andrey Utkin 2014-07-23 12:02:19 UTC
This report duplicates https://bugzilla.kernel.org/show_bug.cgi?id=80981

Could you please try to reproduce with linux-next build?
Comment 2 tester6382 2014-07-25 12:38:57 UTC

*** This bug has been marked as a duplicate of bug 80981 ***