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.
| Date Added | Due Date | Vulnerability Name | Required Action |
|---|---|---|---|
| N/A |
| Type | Version | Base score | Base severity | Vector |
|---|---|---|---|---|
| Primary | 3.1 | 7.8 | HIGH | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| Primary | 2.0 | 4.6 | MEDIUM | AV:L/AC:L/Au:N/C:P/I:P/A:P |
| CWE ID | Type | Source |
|---|---|---|
| NVD-CWE-noinfo | Primary | nvd@nist.gov |
| Hyperlink | Source | Resource |
|---|---|---|
| http://www.debian.org/security/2017/dsa-3804 | cve@mitre.org | Third Party Advisory |
| http://www.securityfocus.com/bid/96754 | cve@mitre.org | Third Party Advisory VDB Entry |
| http://www.securitytracker.com/id/1037918 | cve@mitre.org | Third Party Advisory VDB Entry |
| https://bugzilla.kernel.org/show_bug.cgi?id=192931 | cve@mitre.org | Issue Tracking Patch Vendor Advisory |
| https://github.com/torvalds/linux/commit/95e91b831f87ac8e1f8ed50c14d709089b4e01b8 | cve@mitre.org | Patch Third Party Advisory |
| https://github.com/torvalds/linux/commit/e1d35d4dc7f089e6c9c080d556feedf9c706f0c7 | cve@mitre.org | Patch Third Party Advisory |
| https://usn.ubuntu.com/3583-1/ | cve@mitre.org | Third Party Advisory |
| https://usn.ubuntu.com/3583-2/ | cve@mitre.org | Third Party Advisory |
| http://www.debian.org/security/2017/dsa-3804 | af854a3a-2127-422b-91ae-364da2661108 | Third Party Advisory |
| http://www.securityfocus.com/bid/96754 | af854a3a-2127-422b-91ae-364da2661108 | Third Party Advisory VDB Entry |
| http://www.securitytracker.com/id/1037918 | af854a3a-2127-422b-91ae-364da2661108 | Third Party Advisory VDB Entry |
| https://bugzilla.kernel.org/show_bug.cgi?id=192931 | af854a3a-2127-422b-91ae-364da2661108 | Issue Tracking Patch Vendor Advisory |
| https://github.com/torvalds/linux/commit/95e91b831f87ac8e1f8ed50c14d709089b4e01b8 | af854a3a-2127-422b-91ae-364da2661108 | Patch Third Party Advisory |
| https://github.com/torvalds/linux/commit/e1d35d4dc7f089e6c9c080d556feedf9c706f0c7 | af854a3a-2127-422b-91ae-364da2661108 | Patch Third Party Advisory |
| https://usn.ubuntu.com/3583-1/ | af854a3a-2127-422b-91ae-364da2661108 | Third Party Advisory |
| https://usn.ubuntu.com/3583-2/ | af854a3a-2127-422b-91ae-364da2661108 | Third Party Advisory |