http://bugzilla.kernel.org/show_bug.cgi?id=7632
Summary: Race: a lock should be acquired before calling
bhv_base_unlocked
Kernel Version: 2.6.18
Status: NEW
Severity: normal
Owner: xfs-masters@xxxxxxxxxxx
Submitter: tammy000@xxxxxxxxx
Potential Data Race: a lock should be acquired before calling bhv_base_unlocked
according to comments before bhv_base. However, in the following
call chain, no lock is acquired before calling
435 bdp = bhv_base_unlocked(VN_BHV_HEAD(vp));
(This code is in file fs/xfs/linux-2.6/xfs_ioctl.c)
The call chain is:
xfs_ioctl calls
xfs_fssetdm_by_handle calls
bhv_base_unlocked
In the entire call chain, no lock is acquired for calling bhv_base_unlocked, and
xfs_ioctl can be exposed functions outside the module, which can be very
dangerous.
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
|