diff options
| author | Lee Duncan <[email protected]> | 2021-02-23 21:06:24 +0000 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2021-03-05 01:09:50 +0000 |
| commit | 688e8128b7a92df982709a4137ea4588d16f24aa (patch) | |
| tree | d86dc54e1bd181e77e16edfba22f09e9ae612786 /scripts/gcc-plugins/structleak_plugin.c | |
| parent | Merge tag 'misc-5.12-2021-03-02' of git://git.kernel.dk/linux-block (diff) | |
| download | kernel-688e8128b7a92df982709a4137ea4588d16f24aa.tar.gz kernel-688e8128b7a92df982709a4137ea4588d16f24aa.zip | |
scsi: iscsi: Restrict sessions and handles to admin capabilities
Protect the iSCSI transport handle, available in sysfs, by requiring
CAP_SYS_ADMIN to read it. Also protect the netlink socket by restricting
reception of messages to ones sent with CAP_SYS_ADMIN. This disables
normal users from being able to end arbitrary iSCSI sessions.
Cc: [email protected]
Reported-by: Adam Nichols <[email protected]>
Reviewed-by: Chris Leech <[email protected]>
Reviewed-by: Mike Christie <[email protected]>
Signed-off-by: Lee Duncan <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/structleak_plugin.c')
0 files changed, 0 insertions, 0 deletions
