https://github.com/torvalds/linux
Revision 6fbf13c0e24fd86ab2e4477cd8484a485b687421 authored by Maurizio Lombardi on 31 January 2023, 16:38:42 UTC, committed by Christoph Hellwig on 01 February 2023, 13:18:46 UTC
In nvme_alloc_io_tag_set(), the connect_q pointer should be set to NULL
in case of error to avoid potential invalid pointer dereferences.

Signed-off-by: Maurizio Lombardi <mlombard@redhat.com>
Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
1 parent fd62678
History
Tip revision: 6fbf13c0e24fd86ab2e4477cd8484a485b687421 authored by Maurizio Lombardi on 31 January 2023, 16:38:42 UTC
nvme: clear the request_queue pointers on failure in nvme_alloc_io_tag_set
Tip revision: 6fbf13c
File Mode Size
Documentation
LICENSES
arch
block
certs
crypto
drivers
fs
include
init
io_uring
ipc
kernel
lib
mm
net
rust
samples
scripts
security
sound
tools
usr
virt
.clang-format -rw-r--r-- 19.9 KB
.cocciconfig -rw-r--r-- 59 bytes
.get_maintainer.ignore -rw-r--r-- 151 bytes
.gitattributes -rw-r--r-- 62 bytes
.gitignore -rw-r--r-- 2.0 KB
.mailmap -rw-r--r-- 24.6 KB
.rustfmt.toml -rw-r--r-- 369 bytes
COPYING -rw-r--r-- 496 bytes
CREDITS -rw-r--r-- 99.3 KB
Kbuild -rw-r--r-- 2.5 KB
Kconfig -rw-r--r-- 555 bytes
MAINTAINERS -rw-r--r-- 678.0 KB
Makefile -rw-r--r-- 69.0 KB
README -rw-r--r-- 727 bytes

README

back to top