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-next>] [day] [month] [year] [list]
Date:	Wed, 29 Dec 2010 12:16:13 +0530
From:	Gurudas Pai <gurudas.pai@...cle.com>
To:	linux-kernel@...r.kernel.org
Subject: [BUG] kernel BUG at mm/truncate.c:479! on 2.6.37-rc8

Hi,

With 2.6.37-rc8 , run a fio test over nfs, with following jobfile, and 
we hit kernel bug.

[global]
bs=8k
iodepth=1024
iodepth_batch=60
randrepeat=1
size=80000m
numjobs=2
directory=/mnt
[job3]
ioengine=mmap
rw=randrw
filename=file1:file2
[job5]
ioengine=sync
rw=randrw
filename=file1:file2


my-fileserver:/vol/vol1 on /mnt type nfs 
(rw,bg,hard,nointr,tcp,nfsvers=3,timeo=600,rsize=32768,wsize=32768)


------------[ cut here ]------------
kernel BUG at mm/truncate.c:479!
invalid opcode: 0000 [#1] SMP
last sysfs file: /sys/devices/system/cpu/cpu3/cache/index2/shared_cpu_map
CPU 3
Modules linked in: netconsole configfs autofs4 hidp nfs fscache nfs_acl 
auth_rpcgss rfcomm l2cap bluetooth rfkill lockd sunrpc bonding ipv6 
parport_pc lp parport snd_seq_dummy snd_seq_oss snd_seq_midi_event 
snd_seq snd_seq_device snd_pcm_oss tg3 snd_mixer_oss snd_pcm snd_timer 
snd soundcore hpwdt i2c_amd756 amd64_edac_mod snd_page_alloc serio_raw 
i2c_core edac_core pata_amd floppy pata_acpi pcspkr amd_rng ata_generic 
k8temp qla2xxx scsi_transport_fc scsi_tgt cciss shpchp uhci_hcd ohci_hcd 
ehci_hcd [last unloaded: mperf]

Pid: 2820, comm: fio Not tainted 2.6.37-rc8 #1 /ProLiant DL585 G1
RIP: 0010:[<ffffffff810d635f>]  [<ffffffff810d635f>] 
invalidate_inode_pages2_range+0x126/0x288
RSP: 0018:ffff880f7fe55ca8  EFLAGS: 00010246
RAX: 0000000000000000 RBX: 00000000414a0000 RCX: 00007f7c05ad7000
RDX: 0000000000000000 RSI: ffff880f806f4300 RDI: ffff880f7fe55c08
RBP: ffff880f7fe55d78 R08: ffff880f7fe55bc8 R09: ffff880f7dff1360
R10: ffff880f81bafd40 R11: ffff880f7fe55a38 R12: ffffea0035f24028
R13: ffff880f7ba3def8 R14: 00000000000414a1 R15: ffffffffffffffff
FS:  00007f7c0a7ad6e0(0000) GS:ffff8800f5580000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
CR2: 00007f845a5e8000 CR3: 0000000f7f3ba000 CR4: 00000000000006e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Process fio (pid: 2820, threadinfo ffff880f7fe54000, task ffff880f7d7a60c0)
Stack:
  ffffea003603ee88 00000000712c3718 0000000000000001 0000000000000000
  000000000000000e 0000000000000000 ffffea0035f24028 ffffea0035fb4580
  ffffea0035f26088 ffffea0035eb3688 ffffea0035eb7160 ffffea0035ef9d18
Call Trace:
  [<ffffffff810d64d5>] invalidate_inode_pages2+0x14/0x16
  [<ffffffffa035e337>] nfs_revalidate_mapping+0x7d/0x11b [nfs]
  [<ffffffffa035bd91>] nfs_file_read+0x9c/0xdc [nfs]
  [<ffffffff8110ed2f>] do_sync_read+0xc7/0x10b
  [<ffffffff811d93c5>] ? fsnotify_perm+0x71/0x7d
  [<ffffffff811d9430>] ? security_file_permission+0x2c/0x31
  [<ffffffff8110ee2a>] ? rw_verify_area+0xb7/0xd8
  [<ffffffff8110f57f>] vfs_read+0xad/0x105
  [<ffffffff8110f84d>] sys_read+0x4c/0x70
  [<ffffffff8100ac42>] system_call_fastpath+0x16/0x1b
Code: c7 85 40 ff ff ff 01 00 00 00 eb 16 48 c1 e3 0c 31 c9 ba 00 10 00 
00 48 89 de 4c 89 ef e8 40 1d 01 00 41 8b 44 24 0c 85 c0 78 04 <0f> 0b 
eb fe 4c 89 e7 e8 f5 fd ff ff 85 c0 74 22 4d 39 6c 24 18
RIP  [<ffffffff810d635f>] invalidate_inode_pages2_range+0x126/0x288
  RSP <ffff880f7fe55ca8>
---[ end trace 986953dbfeca61d6 ]---




Thanks,
-Guru

View attachment "config" of type "text/plain" (112795 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ