https://github.com/torvalds/linux
Revision 3934df345aaa43af0f11b7d51981257bd8b67b8b authored by Mike Christie on 15 January 2018, 20:37:59 UTC, committed by Bryant G. Ly on 28 February 2018, 20:06:40 UTC
If we are failing the command due to a qfull timeout we are
also freeing the tcmu command, so we cannot access it later
to get the se_cmd.

Note: The clearing of cmd->se_cmd is not needed. We do not check
it later for something like determining if the command was failed
due to a timeout. As a result I am dropping it.

Signed-off-by: Mike Christie <mchristi@redhat.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
1 parent dbe0803
History
Tip revision: 3934df345aaa43af0f11b7d51981257bd8b67b8b authored by Mike Christie on 15 January 2018, 20:37:59 UTC
tcmu: fix cmd user after free
Tip revision: 3934df3
File Mode Size
Documentation
arch
block
certs
crypto
debian
debian.master
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
spl
tools
ubuntu
usr
virt
zfs
.cocciconfig -rw-r--r-- 59 bytes
.get_maintainer.ignore -rw-r--r-- 31 bytes
.gitattributes -rw-r--r-- 30 bytes
.gitignore -rw-r--r-- 1.4 KB
.mailmap -rw-r--r-- 8.8 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 96.2 KB
Kbuild -rw-r--r-- 2.2 KB
Kconfig -rw-r--r-- 287 bytes
MAINTAINERS -rw-r--r-- 427.1 KB
Makefile -rw-r--r-- 59.3 KB
README -rw-r--r-- 722 bytes
dropped.txt -rw-r--r-- 3.3 KB
snapcraft.yaml -rw-r--r-- 607 bytes

README

back to top