CVE-2021-27363

kernel: iscsi: unrestricted access to sessions and handles

Published Mar 7, 2021 CVSS 3.1 · 4.4 Medium EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-2586-1 linux security update
Debian DLA Debian DLA DLA-2610-1 linux-4.19 security update
EUVD EUVD EUVD-2021-14122 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.
Ubuntu USN Ubuntu USN USN-4883-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-4887-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-4889-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-4901-1 Linux kernel (Trusty HWE) vulnerabilities
History

No history.