summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorKeith Busch <kbusch@kernel.org>2024-11-09 02:41:08 +0300
committerKeith Busch <kbusch@kernel.org>2024-11-18 20:27:47 +0300
commit6fad84a4d624c300d03ebba457cc641765050c43 (patch)
treeafba7e04889f8d75bffbcdd8eab4d1fe133c2b41 /tools/perf/scripts/python/exported-sql-viewer.py
parent6399a0db8cd61eedbfb4b7809a4f4699157a9bf8 (diff)
downloadlinux-6fad84a4d624c300d03ebba457cc641765050c43.tar.xz
nvme-pci: use sgls for all user requests if possible
If the device supports SGLs, use these for all user requests. This format encodes the expected transfer length so it can catch short buffer errors in a user command, whether it occurred accidently or maliciously. For controllers that support SGL data mode, this is a viable mitigation to CVE-2023-6238. For controllers that don't support SGLs, log a warning in the passthrough path since not having the capability can corrupt data if the interface is not used correctly. Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Keith Busch <kbusch@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions