diff options
author | Christoph Hellwig <[email protected]> | 2023-01-08 07:56:54 +0100 |
---|---|---|
committer | Christoph Hellwig <[email protected]> | 2023-01-10 08:15:57 +0100 |
commit | 313c08c72ee7f87c54e34baec5cc4f4005e8800d (patch) | |
tree | 6235c0f563f6039d02bf548fee681dc250af776e /tools/perf/scripts/python/bin/export-to-postgresql-report | |
parent | 7b7fdb8e2dbc15ad4e81a328f1c60d1691c6d6be (diff) |
nvme: don't allow unprivileged passthrough on partitions
Passthrough commands can always access the entire device, and thus
submitting them on partitions is an privelege escalation.
In hindsight we should have never allowed any passthrough commands on
partitions, but it's probably too late to change that decision now.
Fixes: e4fbcf32c860 ("nvme: identify-namespace without CAP_SYS_ADMIN")
Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: Keith Busch <[email protected]>
Reviewed-by: Kanchan Joshi <[email protected]>
Reviewed-by: Chaitanya Kulkarni <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions