diff options
author | Tyler Hicks <tyhicks@canonical.com> | 2011-11-21 17:31:02 -0600 |
---|---|---|
committer | Tyler Hicks <tyhicks@canonical.com> | 2011-11-23 15:39:38 -0600 |
commit | b59db43ad4434519feb338eacb01d77eb50825c5 (patch) | |
tree | ee978cf1ab736b3fc104b46b2491e7742e663dcf /scripts/kernel-doc | |
parent | 6fe4c6d466e95d31164f14b1ac4aefb51f0f4f82 (diff) | |
download | talos-obmc-linux-b59db43ad4434519feb338eacb01d77eb50825c5.tar.gz talos-obmc-linux-b59db43ad4434519feb338eacb01d77eb50825c5.zip |
eCryptfs: Prevent file create race condition
The file creation path prematurely called d_instantiate() and
unlock_new_inode() before the eCryptfs inode info was fully
allocated and initialized and before the eCryptfs metadata was written
to the lower file.
This could result in race conditions in subsequent file and inode
operations leading to unexpected error conditions or a null pointer
dereference while attempting to use the unallocated memory.
https://launchpad.net/bugs/813146
Signed-off-by: Tyler Hicks <tyhicks@canonical.com>
Cc: stable@kernel.org
Diffstat (limited to 'scripts/kernel-doc')
0 files changed, 0 insertions, 0 deletions