Your submission was sent successfully! Close

You have successfully unsubscribed! Close

Thank you for signing up for our newsletter!
In these regular emails you will find the latest updates about Ubuntu and upcoming events where you can meet our team.Close

CVE-2017-5669

Published: 24 February 2017

The do_shmat function in ipc/shm.c in the Linux kernel through 4.9.12 does not restrict the address calculated by a certain rounding operation, which allows local users to map page zero, and consequently bypass a protection mechanism that exists for the mmap system call, by making crafted shmget and shmat system calls in a privileged context.

From the Ubuntu Security Team

Gareth Evans discovered that the shm IPC subsystem in the Linux kernel did not properly restrict mapping page zero. A local privileged attacker could use this to execute arbitrary code.

Notes

AuthorNote
jdstrand
android kernels (flo, goldfish, grouper, maguro, mako and manta) are
not supported on the Ubuntu Touch 14.10 and earlier preview kernels
linux-lts-saucy no longer receives official support
linux-lts-quantal no longer receives official support
tyhicks
See References for a link to the fix in the linux-next tree. As of
2017-02-27, I don't see the fix in Linus' tree.

Priority

Medium

Cvss 3 Severity Score

7.8

Score breakdown

Status

Package Release Status
linux
Launchpad, Ubuntu, Debian
upstream
Released (4.11~rc1)
artful Not vulnerable
(4.10.0-19.21)
precise Ignored
(end of life)
trusty
Released (3.13.0-142.191)
xenial
Released (4.4.0-75.96)
yakkety Ignored
(end of life)
zesty Not vulnerable
(4.10.0-14.16)
Patches:
Introduced by

1da177e4c3f41524e886b7f1b8a0c1fc7321cac2

Fixed by 95e91b831f87ac8e1f8ed50c14d709089b4e01b8
linux-linaro-omap
Launchpad, Ubuntu, Debian
upstream
Released (4.11~rc1)
artful Does not exist

precise Ignored
(end of life)
trusty Does not exist

xenial Does not exist

yakkety Does not exist

zesty Does not exist

linux-linaro-shared
Launchpad, Ubuntu, Debian
upstream
Released (4.11~rc1)
artful Does not exist

precise Ignored
(end of life)
trusty Does not exist

xenial Does not exist

yakkety Does not exist

zesty Does not exist

linux-linaro-vexpress
Launchpad, Ubuntu, Debian
upstream
Released (4.11~rc1)
artful Does not exist

precise Ignored
(end of life)
trusty Does not exist

xenial Does not exist

yakkety Does not exist

zesty Does not exist

linux-qcm-msm
Launchpad, Ubuntu, Debian
upstream
Released (4.11~rc1)
artful Does not exist

precise Ignored
(end of life)
trusty Does not exist

xenial Does not exist

yakkety Does not exist

zesty Does not exist

linux-ti-omap4
Launchpad, Ubuntu, Debian
upstream
Released (4.11~rc1)
artful Does not exist

precise Ignored
(end of life)
trusty Does not exist

xenial Does not exist

yakkety Does not exist

zesty Does not exist

linux-armadaxp
Launchpad, Ubuntu, Debian
upstream
Released (4.11~rc1)
artful Does not exist

precise Ignored
(end of life)
trusty Does not exist

xenial Does not exist

yakkety Does not exist

zesty Does not exist

This package is not directly supported by the Ubuntu Security Team
linux-aws
Launchpad, Ubuntu, Debian
upstream
Released (4.11~rc1)
artful Does not exist

precise Does not exist

trusty Not vulnerable
(4.4.0-1002.2)
xenial
Released (4.4.0-1016.25)
yakkety Does not exist

zesty Does not exist

linux-azure
Launchpad, Ubuntu, Debian
upstream
Released (4.11~rc1)
artful Does not exist

trusty Not vulnerable
(4.15.0-1023.24~14.04.1)
xenial Not vulnerable
(4.11.0-1009.9)
yakkety Does not exist

zesty Does not exist

linux-euclid
Launchpad, Ubuntu, Debian
upstream
Released (4.11~rc1)
artful Does not exist

trusty Does not exist

xenial Ignored
(was needed ESM criteria)
zesty Does not exist

linux-flo
Launchpad, Ubuntu, Debian
upstream
Released (4.11~rc1)
artful Does not exist

precise Does not exist

trusty Does not exist
(trusty was ignored)
xenial Ignored
(abandoned)
yakkety Ignored
(end of life)
zesty Does not exist

linux-gcp
Launchpad, Ubuntu, Debian
upstream
Released (4.11~rc1)
artful Does not exist

trusty Does not exist

xenial Not vulnerable
(4.10.0-1004.4)
yakkety Does not exist

zesty Does not exist

linux-gke
Launchpad, Ubuntu, Debian
upstream
Released (4.11~rc1)
artful Does not exist

precise Does not exist

trusty Does not exist

xenial
Released (4.4.0-1012.12)
yakkety Does not exist

zesty Does not exist

linux-goldfish
Launchpad, Ubuntu, Debian
upstream
Released (4.11~rc1)
artful Does not exist

precise Does not exist

trusty Does not exist
(trusty was ignored)
xenial Ignored
(abandoned)
yakkety Ignored
(end of life)
zesty Ignored
(end of life)
linux-grouper
Launchpad, Ubuntu, Debian
upstream
Released (4.11~rc1)
artful Does not exist

precise Does not exist

trusty Does not exist
(trusty was ignored)
xenial Does not exist

yakkety Does not exist

zesty Does not exist

linux-hwe
Launchpad, Ubuntu, Debian
upstream
Released (4.11~rc1)
artful Does not exist

precise Does not exist

trusty Does not exist

xenial
Released (4.10.0-27.30~16.04.2)
yakkety Does not exist

zesty Does not exist

linux-hwe-edge
Launchpad, Ubuntu, Debian
upstream
Released (4.11~rc1)
artful Does not exist

precise Does not exist

trusty Does not exist

xenial
Released (4.10.0-27.30~16.04.2)
yakkety Does not exist

zesty Does not exist

linux-kvm
Launchpad, Ubuntu, Debian
upstream
Released (4.11~rc1)
artful Does not exist

trusty Does not exist

xenial Not vulnerable
(4.4.0-1004.9)
zesty Does not exist

linux-lts-quantal
Launchpad, Ubuntu, Debian
upstream
Released (4.11~rc1)
artful Does not exist

precise Ignored
(end of life)
trusty Does not exist

xenial Does not exist

yakkety Does not exist

zesty Does not exist

This package is not directly supported by the Ubuntu Security Team
linux-lts-raring
Launchpad, Ubuntu, Debian
upstream
Released (4.11~rc1)
artful Does not exist

precise Ignored
(end of life)
trusty Does not exist

xenial Does not exist

yakkety Does not exist

zesty Does not exist

linux-lts-saucy
Launchpad, Ubuntu, Debian
upstream
Released (4.11~rc1)
zesty Does not exist

artful Does not exist

precise Ignored
(end of life)
trusty Does not exist

xenial Does not exist

yakkety Does not exist

This package is not directly supported by the Ubuntu Security Team
linux-lts-trusty
Launchpad, Ubuntu, Debian
upstream
Released (4.11~rc1)
artful Does not exist

precise Ignored
(end of life)
trusty Does not exist

xenial Does not exist

yakkety Does not exist

zesty Does not exist

linux-lts-utopic
Launchpad, Ubuntu, Debian
upstream
Released (4.11~rc1)
artful Does not exist

precise Does not exist

trusty Does not exist
(trusty was ignored [end of standard support])
xenial Does not exist

yakkety Does not exist

zesty Does not exist

linux-lts-vivid
Launchpad, Ubuntu, Debian
upstream
Released (4.11~rc1)
artful Does not exist

precise Does not exist

trusty Ignored
(end of life, was needed)
xenial Does not exist

yakkety Does not exist

zesty Does not exist

linux-lts-wily
Launchpad, Ubuntu, Debian
upstream
Released (4.11~rc1)
artful Does not exist

precise Does not exist

trusty Does not exist
(trusty was ignored [end of standard support])
xenial Does not exist

yakkety Does not exist

zesty Does not exist

linux-lts-xenial
Launchpad, Ubuntu, Debian
upstream
Released (4.11~rc1)
artful Does not exist

precise Does not exist

trusty
Released (4.4.0-75.96~14.04.1)
xenial Does not exist

yakkety Does not exist

zesty Does not exist

linux-maguro
Launchpad, Ubuntu, Debian
upstream
Released (4.11~rc1)
artful Does not exist

precise Does not exist

trusty Does not exist
(trusty was ignored)
xenial Does not exist

yakkety Does not exist

zesty Does not exist

linux-mako
Launchpad, Ubuntu, Debian
upstream
Released (4.11~rc1)
artful Does not exist

precise Does not exist

trusty Does not exist
(trusty was ignored)
xenial Ignored
(abandoned)
yakkety Ignored
(end of life)
zesty Does not exist

linux-manta
Launchpad, Ubuntu, Debian
upstream
Released (4.11~rc1)
artful Does not exist

precise Does not exist

trusty Does not exist
(trusty was ignored)
xenial Does not exist

yakkety Does not exist

zesty Does not exist

linux-raspi2
Launchpad, Ubuntu, Debian
upstream
Released (4.11~rc1)
artful Not vulnerable
(4.10.0-1004.6)
precise Does not exist

trusty Does not exist

xenial
Released (4.4.0-1054.61)
yakkety Ignored
(end of life)
zesty Not vulnerable
(4.10.0-1001.3)
linux-snapdragon
Launchpad, Ubuntu, Debian
upstream
Released (4.11~rc1)
artful Not vulnerable
(4.4.0-1057.61)
precise Does not exist

trusty Does not exist

xenial
Released (4.4.0-1057.61)
yakkety
Released (4.4.0-1057.61)
zesty
Released (4.4.0-1057.61)
linux-oem
Launchpad, Ubuntu, Debian
upstream
Released (4.11~rc1)
artful Does not exist

trusty Does not exist

xenial Not vulnerable
(4.13.0-1008.9)
zesty Does not exist

Severity score breakdown

Parameter Value
Base score 7.8
Attack vector Local
Attack complexity Low
Privileges required Low
User interaction None
Scope Unchanged
Confidentiality High
Integrity impact High
Availability impact High
Vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H