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 for Android: free password hash cracker in your pocket
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20130115004213.GB5512@localhost>
Date:	Tue, 15 Jan 2013 08:42:13 +0800
From:	Fengguang Wu <fengguang.wu@...el.com>
To:	Johannes Berg <johannes.berg@...el.com>
Cc:	LKML <linux-kernel@...r.kernel.org>
Subject: [sysfs_write_file] net/wireless/reg.c:144 suspicious
 rcu_dereference_protected() usage!

c492db370c17c428a0a58d3673294d4e99634b7d is the first bad commit

commit c492db370c17c428a0a58d3673294d4e99634b7d
Author: Johannes Berg <johannes.berg@...el.com>
Date:   Thu Dec 6 16:29:25 2012 +0100

    regulatory: use RCU to protect last_request

    This will allow making freq_reg_info() lock-free.

    Acked-by: Luis R. Rodriguez <mcgrof@...not-panic.com>
    Signed-off-by: Johannes Berg <johannes.berg@...el.com>

[   38.437215] 
[   38.437457] ===============================
[   38.438047] [ INFO: suspicious RCU usage. ]
[   38.438635] 3.8.0-rc1-00184-gfb97c3e #24 Not tainted
[   38.439333] -------------------------------
[   38.439938] /c/kernel-tests/src/i386/net/wireless/reg.c:144 suspicious rcu_dereference_protected() usage!
[   38.444094] 
[   38.444094] other info that might help us debug this:
[   38.444094] 
[   38.445209] 
[   38.445209] rcu_scheduler_active = 1, debug_locks = 0
[   38.446120] 2 locks held by udevadm/2386:
[   38.446684]  #0:  (&buffer->mutex#2){+.+.+.}, at: [<791038ec>] sysfs_write_file+0x29/0xeb
[   38.447962]  #1:  (s_active#10){++++.+}, at: [<7910395e>] sysfs_write_file+0x9b/0xeb
[   38.453032] 
[   38.453032] stack backtrace:
[   38.453649] Pid: 2386, comm: udevadm Not tainted 3.8.0-rc1-00184-gfb97c3e #24
[   38.454650] Call Trace:
[   38.455017]  [<7905f645>] lockdep_rcu_suspicious+0xe3/0xeb
[   38.455800]  [<7986010b>] get_last_request+0x43/0x4a
[   38.463378]  [<79860374>] reg_device_uevent+0x13/0x51
[   38.464199]  [<794c2984>] ? platform_uevent+0x2a/0x2e
[   38.464915]  [<794bfb7b>] dev_uevent+0x12d/0x135
[   38.465569]  [<793c1b80>] ? add_uevent_var+0x4a/0xa3
[   38.466270]  [<794bfa4e>] ? device_get_devnode+0xaf/0xaf
[   38.467024]  [<793c1d4d>] kobject_uevent_env+0x174/0x3f6
[   38.467772]  [<793c1b14>] ? kobject_action_type+0x43/0x65
[   38.472095]  [<793c1fd9>] kobject_uevent+0xa/0xd
[   38.472757]  [<794c02d0>] store_uevent+0x2a/0x45
[   38.473409]  [<794c02a6>] ? dev_err+0x2f/0x2f
[   38.474030]  [<794be9a5>] dev_attr_store+0x1d/0x29
[   38.474708]  [<79103974>] sysfs_write_file+0xb1/0xeb
[   38.475412]  [<791038c3>] ? sysfs_poll+0x7a/0x7a
[   38.483120]  [<790bfce3>] vfs_write+0x74/0xad
[   38.483744]  [<790bfdbe>] sys_write+0x3d/0x65
[   38.484473]  [<798ac02b>] sysenter_do_call+0x12/0x3c
[   39.172207] init: Failed to create pty - disabling logging for job
[   39.173336] init: Temporary process spawn error: No such file or directory

Thanks,
Fengguang

View attachment "dmesg-kvm-bay-3449-2013-01-11-22-46-49-3.8.0-rc1-00184-gfb97c3e-24" of type "text/plain" (163606 bytes)

View attachment "fb97c3e-bisect.log" of type "text/plain" (13984 bytes)

View attachment ".config-bisect" of type "text/plain" (74137 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ