CVE-2021-27363

medium

Description

An issue was discovered in the Linux kernel through 5.11.3. A kernel pointer leak can be used to determine the address of the iscsi_transport structure. When an iSCSI transport is registered with the iSCSI subsystem, the transport's handle is available to unprivileged users via the sysfs file system, at /sys/class/iscsi_transport/$TRANSPORT_NAME/handle. When read, the show_transport_handle function (in drivers/scsi/scsi_transport_iscsi.c) is called, which leaks the handle. This handle is actually the pointer to an iscsi_transport struct in the kernel module's global variables.

References

https://security.netapp.com/advisory/ntap-20210409-0001/

https://lists.debian.org/debian-lts-announce/2021/03/msg00035.html

https://lists.debian.org/debian-lts-announce/2021/03/msg00010.html

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=688e8128b7a92df982709a4137ea4588d16f24aa

https://bugzilla.suse.com/show_bug.cgi?id=1182716

https://blog.grimm-co.com/2021/03/new-old-bugs-in-linux-kernel.html

http://www.openwall.com/lists/oss-security/2021/03/06/1

http://packetstormsecurity.com/files/162117/Kernel-Live-Patch-Security-Notice-LSN-0075-1.html

Details

Source: Mitre, NVD

Published: 2021-03-07

Updated: 2022-05-23

Risk Information

CVSS v2

Base Score: 3.6

Vector: CVSS2#AV:L/AC:L/Au:N/C:P/I:N/A:P

Severity: Low

CVSS v3

Base Score: 4.4

Vector: CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:L

Severity: Medium