Bug 1930079 (CVE-2021-27363)

Summary: CVE-2021-27363 kernel: iscsi: unrestricted access to sessions and handles
Product: [Other] Security Response Reporter: msiddiqu
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: acaringi, adscvr, airlied, alciregi, bhu, blc, bmasney, brdeoliv, bskeggs, chwhite, cleech, dhoward, dvlasenk, fhrbata, hartsjc, hdegoede, hkrzesin, jarodwilson, jeremy, jforbes, jglisse, jlelli, jonathan, josef, jshortt, jstancek, jwboyer, kcarcia, kernel-maint, kernel-mgr, lgoncalv, linville, masami256, mchehab, mlangsdo, mmilgram, nmurray, pmatouse, psampaio, ptalbert, qzhao, rvrbovsk, security-response-team, steved, tcrider, walters, williams
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in the way access to sessions and handles was handled in the iSCSI driver in the Linux kernel. A local user could use this flaw to leak iSCSI transport handle kernel address or end arbitrary iSCSI connections on the system.
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-04-06 17:35:50 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1931358, 1931359, 1931360, 1930807, 1930808, 1930809, 1930810, 1930811, 1935903, 1940415, 1940416, 1940417, 1940418, 1940419, 1940420, 1940421, 1940422, 1940423, 1940424, 1940425    
Bug Blocks: 1929972    

Description msiddiqu 2021-02-18 10:33:42 UTC
A pointer leak was discovered in the linux kernel that can be used to determine the address of the iscsi_transport_structure.

Comment 1 Wade Mealing 2021-02-19 04:58:58 UTC
Mitigation:

The LIBISCSI module will be auto-loaded when required, its use can be disabled  by preventing the module from loading with the following instructions:

# echo "install libiscsi /bin/true" >> /etc/modprobe.d/disable-libiscsi.conf

The system will need to be restarted if the libiscsi modules are loaded. In most circumstances, the libiscsi kernel modules will be unable to be unloaded while any network interfaces are active and the protocol is in use.

If the system requires iscsi to work correctly, this mitigation may not be suitable.

If you need further assistance, see KCS article https://access.redhat.com/solutions/41278 or contact Red Hat Global Support Services.

Comment 9 Petr Matousek 2021-03-05 19:00:13 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 1935903]

Comment 10 Petr Matousek 2021-03-06 16:53:28 UTC
Acknowledgments:

Name: Adam Nichols (GRIMM)

Comment 11 Petr Matousek 2021-03-06 16:53:32 UTC
External References:

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

Comment 12 Justin M. Forbes 2021-03-09 16:55:08 UTC
This was fixed for Fedora with the 5.10.21 stable kernel updates.

Comment 14 errata-xmlrpc 2021-04-06 07:55:02 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2021:1070 https://access.redhat.com/errata/RHSA-2021:1070

Comment 15 errata-xmlrpc 2021-04-06 09:28:03 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2021:1071 https://access.redhat.com/errata/RHSA-2021:1071

Comment 16 errata-xmlrpc 2021-04-06 13:58:21 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2021:1081 https://access.redhat.com/errata/RHSA-2021:1081

Comment 17 errata-xmlrpc 2021-04-06 14:17:14 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2021:1093 https://access.redhat.com/errata/RHSA-2021:1093

Comment 18 Product Security DevOps Team 2021-04-06 17:35:50 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2021-27363

Comment 20 errata-xmlrpc 2021-04-13 10:44:49 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.1 Extended Update Support

Via RHSA-2021:1171 https://access.redhat.com/errata/RHSA-2021:1171

Comment 21 errata-xmlrpc 2021-04-20 12:54:14 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7.4 Advanced Update Support
  Red Hat Enterprise Linux 7.4 Update Services for SAP Solutions
  Red Hat Enterprise Linux 7.4 Telco Extended Update Support

Via RHSA-2021:1267 https://access.redhat.com/errata/RHSA-2021:1267

Comment 22 errata-xmlrpc 2021-04-20 13:02:33 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.2 Extended Update Support

Via RHSA-2021:1279 https://access.redhat.com/errata/RHSA-2021:1279

Comment 23 errata-xmlrpc 2021-04-20 13:16:46 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.2 Extended Update Support

Via RHSA-2021:1272 https://access.redhat.com/errata/RHSA-2021:1272

Comment 24 errata-xmlrpc 2021-04-20 15:33:13 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7.2 Advanced Update Support

Via RHSA-2021:1289 https://access.redhat.com/errata/RHSA-2021:1289

Comment 25 errata-xmlrpc 2021-04-27 06:51:53 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7.3 Advanced Update Support

Via RHSA-2021:1373 https://access.redhat.com/errata/RHSA-2021:1373

Comment 26 errata-xmlrpc 2021-04-27 08:31:08 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7.6 Extended Update Support

Via RHSA-2021:1376 https://access.redhat.com/errata/RHSA-2021:1376

Comment 28 errata-xmlrpc 2021-05-11 12:30:17 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7.7 Extended Update Support

Via RHSA-2021:1531 https://access.redhat.com/errata/RHSA-2021:1531