FlawAtlas
Search the atlas
UBUNTU-CVE-2017-12190 Moderate

UBUNTU-CVE-2017-12190

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.

Exploit probability Not scored
Published October 12, 2017
Required by Not available
Last source change August 17, 2026

02 / AFFECTED SOFTWARE

Affected packages

Ubuntu:14.04:LTS linux

126 explicit affected versions

Ubuntu:14.04:LTS linux-aws

8 explicit affected versions

Ubuntu:14.04:LTS linux-lts-xenial

48 explicit affected versions

Ubuntu:16.04:LTS linux

69 explicit affected versions

Ubuntu:16.04:LTS linux-aws

29 explicit affected versions

Ubuntu:16.04:LTS linux-azure

6 explicit affected versions

Ubuntu:16.04:LTS linux-gcp

5 explicit affected versions

Ubuntu:16.04:LTS linux-hwe

26 explicit affected versions

Ubuntu:16.04:LTS linux-kvm

9 explicit affected versions

Ubuntu:16.04:LTS linux-raspi2

43 explicit affected versions

Ubuntu:16.04:LTS linux-snapdragon

40 explicit affected versions

Ubuntu:20.04:LTS linux-azure-fde

26 explicit affected versions

Ubuntu:20.04:LTS linux-gke

51 explicit affected versions

Ubuntu:20.04:LTS linux-raspi2

6 explicit affected versions

Ubuntu:20.04:LTS linux-riscv

12 explicit affected versions

Ubuntu:22.04:LTS linux-intel-iot-realtime

1 explicit affected versions

Ubuntu:22.04:LTS linux-realtime

1 explicit affected versions

Ubuntu:22.04:LTS linux-riscv

23 explicit affected versions

Ubuntu:24.04:LTS linux-azure-6.11

7 explicit affected versions

Ubuntu:24.04:LTS linux-gcp-6.11

7 explicit affected versions

Ubuntu:24.04:LTS linux-hwe-6.11

8 explicit affected versions

Ubuntu:24.04:LTS linux-lowlatency-hwe-6.11

7 explicit affected versions

Ubuntu:24.04:LTS linux-raspi-realtime

1 explicit affected versions

Ubuntu:Pro:20.04:LTS linux-azure-fde-5.15

61 explicit affected versions

Ubuntu:Pro:FIPS:16.04:LTS linux-fips

1 explicit affected versions

03 / CONNECTIONS

Connected vulnerabilities

related USN-3487-1
related USN-3583-2

04 / EVIDENCE

Source records

Open Source Vulnerabilities UBUNTU-CVE-2017-12190

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.

View original source

05 / REFERENCES

Further evidence