Skip to content
OpenAdvisories

Description

The bio_map_user_iov and bio_unmap_user functions in block/bio.c in the Linux kernel before 4.13.8 do unbalanced refcounting when a SCSI I/O vector has small consecutive buffers belonging to the same page. The bio_add_pc_page function merges them into one, but the page reference is never dropped. This causes a memory leak and possible system lockup (exploitable against the host OS by a guest OS user, if a SCSI disk is passed through to a virtual machine) due to an out-of-memory condition.

Affected products

VendorProductAffectedFixed
— Linux kernel through v4.14-rc5 Linux kernel through v4.14-rc5 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 linux 4.13.10-1 —
Debian 13 linux 4.13.10-1 —
Debian 12 linux 4.13.10-1 —
Debian 7 linux 3.2.96-1 DLA-1200-1
ReleasePackageFixed inAdvisory
Ubuntu 24.04 LTS linux-gcp-6.11 +4 No fix yet —
Ubuntu 22.04 LTS linux-riscv +2 No fix yet —
Ubuntu 20.04 LTS linux-gke +3 No fix yet —
Ubuntu 16.04 LTS linux 4.4.0-116.140 USN-3582-1
Ubuntu 16.04 LTS linux-aws 4.4.0-1052.61 USN-3582-1
Ubuntu 16.04 LTS linux-azure 4.13.0-1005.7 —
Ubuntu 16.04 LTS linux-gcp 4.13.0-1002.5 —
Ubuntu 16.04 LTS linux-hwe 4.13.0-32.35~16.04.1 —
Ubuntu 16.04 LTS linux-kvm 4.4.0-1019.24 USN-3582-1
Ubuntu 16.04 LTS linux-raspi2 4.4.0-1085.93 USN-3582-1
Ubuntu 16.04 LTS linux-snapdragon 4.4.0-1087.92 USN-3582-1
Ubuntu 14.04 LTS linux 3.13.0-142.191 USN-3583-1
Ubuntu 14.04 LTS linux-aws 4.4.0-1014.14 USN-3582-2
Ubuntu 14.04 LTS linux-lts-xenial 4.4.0-116.140~14.04.1 USN-3582-2
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro FIPS-updates 16.04 LTS linux-fips 4.4.0-1005.5 —
Ubuntu Pro 20.04 LTS linux-azure-fde-5.15 No fix yet —
ReleasePackageFixed inAdvisory
RHEL 7 kernel-alt +1 4.14.0-49.el7a RHSA-2018:0654
RHEL 7 kernel-rt +10 3.10.0-862.rt56.804.el7 RHSA-2018:0676
RHEL 7 perf +18 3.10.0-862.el7 RHSA-2018:1062, RHSA-2018:0654
RHEL 6 perf +16 2.6.32-754.el6 RHSA-2018:1854
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
RHEL 7.4 EUS perf +17 3.10.0-693.47.2.el7 RHSA-2019:1170
Red Hat MRG 2 kernel-rt +10 1:3.10.0-693.47.2.rt56.641.el6rt RHSA-2019:1190
ReleasePackageFixed inAdvisory
SLES 12 SP1 kernel-xen +3 3.12.74-60.64.85.1 SUSE-SU-2018:0848-1
SLES 12 SP1 kgraft-patch-SLE12-SP1_Update_26 1-2.3.1 SUSE-SU-2018:0848-1
SLES 12 kernel-ec2 +4 3.12.61-52.125.1 SUSE-SU-2018:0848-1, SUSE-SU-2018:0834-1
SLES 12 kgraft-patch-SLE12_Update_33 1-1.3.1 SUSE-SU-2018:0834-1
SLES 11 SP4 kernel-ec2 +9 3.0.101-108.38.1 SUSE-SU-2018:1080-1
SLES 11 SP3 kernel-ec2 +7 3.0.101-0.47.106.22.1 SUSE-SU-2018:1172-1
Show 5 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 12 SP1 kernel-xen +3 3.12.74-60.64.85.1 SUSE-SU-2018:0848-1
SLES for SAP 12 SP1 kgraft-patch-SLE12-SP1_Update_26 1-2.3.1 SUSE-SU-2018:0848-1
SLES for SAP 11 SP4 kernel-ec2 +8 3.0.101-108.38.1 SUSE-SU-2018:1080-1
SLE Real Time 11 SP4 kernel-rt +3 3.0.101.rt130-69.24.1 SUSE-SU-2018:1309-1
SUSE OpenStack Cloud 6 kernel-xen +3 3.12.74-60.64.85.1 SUSE-SU-2018:0848-1
SUSE OpenStack Cloud 6 kgraft-patch-SLE12-SP1_Update_26 1-2.3.1 SUSE-SU-2018:0848-1
SUSE Linux Enterprise Point of Sale 11 SP3 kernel-ec2 +6 3.0.101-0.47.106.22.1 SUSE-SU-2018:1172-1

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 7 dtrace-modules-3.8.13-118.20.1.el6uek 0.4.5-3.el6 ELSA-2017-3657
Oracle Linux 7 dtrace-modules-3.8.13-118.20.1.el7uek 0.4.5-3.el7 ELSA-2017-3657
Oracle Linux 7 kernel-uek +5 3.8.13-118.20.1.el7uek ELSA-2017-3657, ELSA-2017-3651
Oracle Linux 7 perf +11 3.10.0-862.el7 ELSA-2018-1062

Advisories 18

References