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-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CA+icZUUtAGhgWPGZDdPWijNE3TqeRU3haRc7tP4X9WiEKsYLgQ@mail.gmail.com>
Date:	Wed, 30 Mar 2016 11:36:31 +0200
From:	Sedat Dilek <sedat.dilek@...il.com>
To:	Ingo Molnar <mingo@...nel.org>
Cc:	Peter Zijlstra <peterz@...radead.org>,
	Alfredo Alvarez Fernandez <alfredoalvarezfernandez@...il.com>,
	Linus Torvalds <torvalds@...ux-foundation.org>,
	"Theodore Ts'o" <tytso@....edu>,
	linux-fsdevel <linux-fsdevel@...r.kernel.org>,
	LKML <linux-kernel@...r.kernel.org>,
	Sasha Levin <sasha.levin@...cle.com>
Subject: Re: [Linux-v4.6-rc1] ext4: WARNING: CPU: 2 PID: 2692 at
 kernel/locking/lockdep.c:2017 __lock_acquire+0x180e/0x2260

> [    0.000000] -------------------------------------------------------
> [    0.000000] Good, all 253 testcases passed! |
> [    0.000000] ---------------------------------
>
> And it's all good?
> ( On shutdown I saw an(other) issue - will investigate, might not be related. )
>

The initial reported issue is hard but reproducible.

Mar 30 08:26:52 fambox kernel: [  683.309212] ------------[ cut here
]------------
Mar 30 08:26:52 fambox kernel: [  683.309221] WARNING: CPU: 3 PID:
10090 at kernel/locking/lockdep.c:2023 __lock_acquire+0x147a/0x2260
Mar 30 08:26:52 fambox kernel: [  683.309223]
DEBUG_LOCKS_WARN_ON(chain_hlocks[chain->base + j] != id)
Mar 30 08:26:52 fambox kernel: [  683.309225] Modules linked in: btrfs
xor raid6_pq ntfs xfs libcrc32c ppp_deflate bsd_comp ppp_async
crc_ccitt option usb_wwan cdc_ether usbserial usbnet arc4 iwldvm
mac80211 bnep rfcomm i915 uvcvideo snd_hda_codec_hdmi
snd_hda_codec_realtek videobuf2_vmalloc kvm_intel
snd_hda_codec_generic videobuf2_memops videobuf2_v4l2 snd_hda_intel
videobuf2_core kvm snd_hda_codec joydev videodev usb_storage
parport_pc ppdev snd_hwdep btusb snd_hda_core btrtl i2c_algo_bit
snd_pcm irqbypass btbcm iwlwifi drm_kms_helper psmouse btintel
snd_seq_midi bluetooth syscopyarea snd_seq_midi_event sysfillrect
snd_rawmidi serio_raw samsung_laptop sysimgblt snd_seq fb_sys_fops
snd_timer cfg80211 drm snd_seq_device snd soundcore wmi mac_hid video
intel_rst lpc_ich lp parport binfmt_misc hid_generic usbhid hid r8169
mii
Mar 30 08:26:52 fambox kernel: [  683.309283] CPU: 3 PID: 10090 Comm:
mv Not tainted 4.6.0-rc1-4-iniza-small #1
Mar 30 08:26:52 fambox kernel: [  683.309285] Hardware name: SAMSUNG
ELECTRONICS CO., LTD. 530U3BI/530U4BI/530U4BH/530U3BI/530U4BI/530U4BH,
BIOS 13XK 03/28/2013
Mar 30 08:26:52 fambox kernel: [  683.309287]  0000000000000000
ffff8800330af5d0 ffffffff81411c25 ffff8800330af620
Mar 30 08:26:52 fambox kernel: [  683.309290]  0000000000000000
ffff8800330af610 ffffffff81083db1 000007e7330af610
Mar 30 08:26:52 fambox kernel: [  683.309293]  ffff880109059300
0000000000000000 0000000000000004 31419e23b49ae8f8
Mar 30 08:26:52 fambox kernel: [  683.309296] Call Trace:
Mar 30 08:26:52 fambox kernel: [  683.309301]  [<ffffffff81411c25>]
dump_stack+0x85/0xc0
Mar 30 08:26:52 fambox kernel: [  683.309304]  [<ffffffff81083db1>]
__warn+0xd1/0xf0
Mar 30 08:26:52 fambox kernel: [  683.309307]  [<ffffffff81083e1f>]
warn_slowpath_fmt+0x4f/0x60
Mar 30 08:26:52 fambox kernel: [  683.309309]  [<ffffffff810dec8a>]
__lock_acquire+0x147a/0x2260
Mar 30 08:26:52 fambox kernel: [  683.309312]  [<ffffffff810e0709>]
lock_acquire+0x119/0x220
Mar 30 08:26:52 fambox kernel: [  683.309316]  [<ffffffff8131dc05>] ?
do_get_write_access+0x3a5/0x5d0
Mar 30 08:26:52 fambox kernel: [  683.309319]  [<ffffffff8180d188>]
_raw_spin_lock+0x38/0x50
Mar 30 08:26:52 fambox kernel: [  683.309322]  [<ffffffff8131dc05>] ?
do_get_write_access+0x3a5/0x5d0
Mar 30 08:26:52 fambox kernel: [  683.309324]  [<ffffffff8131dc05>]
do_get_write_access+0x3a5/0x5d0
Mar 30 08:26:52 fambox kernel: [  683.309327]  [<ffffffff8131de63>]
jbd2_journal_get_write_access+0x33/0x60
Mar 30 08:26:52 fambox kernel: [  683.309331]  [<ffffffff812ff25e>]
__ext4_journal_get_write_access+0x4e/0x90
Mar 30 08:26:52 fambox kernel: [  683.309334]  [<ffffffff8130665d>]
ext4_mb_mark_diskspace_used+0x6d/0x470
Mar 30 08:26:52 fambox kernel: [  683.309336]  [<ffffffff81307f68>]
ext4_mb_new_blocks+0x3e8/0x840
Mar 30 08:26:52 fambox kernel: [  683.309338]  [<ffffffff812f6807>] ?
ext4_find_extent+0x1b7/0x320
Mar 30 08:26:52 fambox kernel: [  683.309340]  [<ffffffff810db9c9>] ?
__lock_is_held+0x49/0x70
Mar 30 08:26:52 fambox kernel: [  683.309343]  [<ffffffff812fb1b5>]
ext4_ext_map_blocks+0xab5/0x2100
Mar 30 08:26:52 fambox kernel: [  683.309348]  [<ffffffff812ca45c>]
ext4_map_blocks+0x10c/0x510
Mar 30 08:26:52 fambox kernel: [  683.309350]  [<ffffffff810db9c9>] ?
__lock_is_held+0x49/0x70
Mar 30 08:26:52 fambox kernel: [  683.309353]  [<ffffffff812ce093>]
ext4_writepages+0x723/0x1010
Mar 30 08:26:52 fambox kernel: [  683.309356]  [<ffffffff8180d377>] ?
_raw_spin_unlock+0x27/0x40
Mar 30 08:26:52 fambox kernel: [  683.309359]  [<ffffffff811bb221>]
do_writepages+0x21/0x30
Mar 30 08:26:52 fambox kernel: [  683.309362]  [<ffffffff811abb5a>]
__filemap_fdatawrite_range+0xaa/0xf0
Mar 30 08:26:52 fambox kernel: [  683.309365]  [<ffffffff811abc4c>]
filemap_flush+0x1c/0x20
Mar 30 08:26:52 fambox kernel: [  683.309368]  [<ffffffff812cb4a3>]
ext4_alloc_da_blocks+0x43/0x130
Mar 30 08:26:52 fambox kernel: [  683.309370]  [<ffffffff812db0b1>]
ext4_rename+0x6a1/0x8f0
Mar 30 08:26:52 fambox kernel: [  683.309372]  [<ffffffff810dd24d>] ?
mark_held_locks+0x6d/0x90
Mar 30 08:26:52 fambox kernel: [  683.309374]  [<ffffffff8180981f>] ?
mutex_lock_nested+0x25f/0x3d0
Mar 30 08:26:52 fambox kernel: [  683.309377]  [<ffffffff812db31d>]
ext4_rename2+0x1d/0x30
Mar 30 08:26:52 fambox kernel: [  683.309379]  [<ffffffff812428e1>]
vfs_rename+0x601/0x900
Mar 30 08:26:52 fambox kernel: [  683.309383]  [<ffffffff81371500>] ?
security_path_rename+0x70/0xd0
Mar 30 08:26:52 fambox kernel: [  683.309386]  [<ffffffff81247c78>]
SyS_rename+0x398/0x3b0
Mar 30 08:26:52 fambox kernel: [  683.309389]  [<ffffffff8180dc00>]
entry_SYSCALL_64_fastpath+0x23/0xc1
Mar 30 08:26:52 fambox kernel: [  683.309391] ---[ end trace
7dacba969839f82f ]---

- Sedat -

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ