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.
History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published: 2021-03-07T03:55:58

Updated: 2024-08-03T20:48:16.475Z

Reserved: 2021-02-17T00:00:00

Link: CVE-2021-27363

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Analyzed

Published: 2021-03-07T04:15:13.330

Modified: 2022-05-23T16:00:39.467

Link: CVE-2021-27363

cve-icon Redhat

Severity : Moderate

Publid Date: 2021-03-05T00:00:00Z

Links: CVE-2021-27363 - Bugzilla