CVE-2021-27363
JSON

4.4medium

An issue was discovered in the Linux kernel through 5.11.3.

Severity
4.4medium CVSS:3.1 by NVD
Exploit likelihood
0.72% (higher than 55% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mitre

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.

Affected

Product or packageVersionsReported by
Unspecified productn/aCVE List
linux linux_kernelup to 5.11.3NVD
debian debian_linux9.0NVD
netapp cloud_backupNot specifiedNVD
netapp solidfire_baseboard_management_controller_firmwareNot specifiedNVD

All scores

NVD4.4medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:L
NVD3.6low CVSS:2.0AV:L/AC:L/Au:N/C:P/I:N/A:P

What each source says

CVE List

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.

NVD (es)

Se detectó un problema en el kernel de Linux versiones hasta 5.11.3. Se puede usar un filtrado del puntero del kernel para determinar la dirección de la estructura iscsi_transport. Cuando se registra un transporte iSCSI con el subsistema iSCSI, el handle de transporte está disponible para usuarios sin privilegios por medio del sistema de archivos sysfs, en /sys/class/iscsi_transport/$TRANSPORT_NAME/handle. Cuando se lee, se llama a la función show_transport_handle (en el archivo drivers/scsi/scsi_transport_iscsi.c), que filtra el handle. Este handle es en realidad el puntero a una estructura iscsi_transport en las variables globales del módulo del kernel

References

http://www.openwall.com/lists/oss-security/2021/03/06/1mailing-list, patch, third-party-advisory
https://bugzilla.suse.com/show_bug.cgi?id=1182716issue-tracking, third-party-advisory
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=688e8128b7a92df982709a4137ea4588d16f24aamailing-list, patch, vendor-advisory
https://lists.debian.org/debian-lts-announce/2021/03/msg00010.htmlmailing-list, third-party-advisory
https://blog.grimm-co.com/2021/03/new-old-bugs-in-linux-kernel.htmlexploit, third-party-advisory
https://lists.debian.org/debian-lts-announce/2021/03/msg00035.htmlmailing-list, third-party-advisory
http://packetstormsecurity.com/files/162117/Kernel-Live-Patch-Security-Notice-LSN-0075-1.htmlthird-party-advisory, vdb-entry
https://security.netapp.com/advisory/ntap-20210409-0001/third-party-advisory

Sources

SourceRecordLicence
CVE ListCVE-2021-27363 changed 2024-08-03CVE Terms of Use
NVDCVE-2021-27363 changed 2026-06-17Public domain