summary refs log tree commit diff
path: root/drivers/s390/cio/ioasm.h
diff options
context:
space:
mode:
authorSebastian Ott <sebott@linux.vnet.ibm.com>2009-09-11 10:28:23 +0200
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2009-09-11 10:29:39 +0200
commitf014824ee72e66292c3b1172dc142f959b42e61b (patch)
tree34281651ecca3279d55df0db7fc28f942841319d /drivers/s390/cio/ioasm.h
parent3f09bb8965cefe36f42a9ec09ebb821523eba530 (diff)
downloadlinux-f014824ee72e66292c3b1172dc142f959b42e61b.tar.gz
[S390] cio: fix use after free in s390 debug feature
When using s390dbf with "%s" in sprintf format strings the string itself
is not copied to the dbf buffer.
Since in this case only pointers are stored in the s390dbf, we should
not use dev_name - which is bound to the lifetime of the device.
Reading this entry from s390dbf after the device was released will cause
an use after free error.

Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/s390/cio/ioasm.h')
0 files changed, 0 insertions, 0 deletions