PT-2018-3336 · Freebsd+10 · Freebsd+10

Andy Lutomirski

+1

·

Published

2018-05-08

·

Updated

2026-02-07

·

CVE-2018-8897

CVSS v3.1

7.8

High

VectorAV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions: Linux (affected versions not specified) Windows (affected versions not specified) Ubuntu (affected versions not specified) Debian GNU/Linux (affected versions not specified) Red Hat Enterprise Linux (affected versions not specified) macOS (affected versions not specified) EulerOS (affected versions not specified) FreeBSD (affected versions not specified)
Description: The issue is related to errors in interpreting the behavior of MOV SS/POP SS instructions, which can lead to unexpected behavior for #DB exceptions that are deferred by MOV SS or POP SS. This can result in privilege escalation in various operating systems, including Windows, macOS, and some Linux configurations, or cause a Linux kernel crash. The MOV to SS and POP SS instructions inhibit interrupts, data breakpoints, and single step trap exceptions until the instruction boundary following the next instruction. If the instruction following the MOV to SS or POP to SS instruction is an instruction that transfers control to the operating system at a lower privilege level, the debug exception is delivered after the transfer is complete, which may cause unexpected behavior in OS kernels.
Recommendations: For Linux, consider disabling the MOV to SS and POP to SS instructions as a temporary workaround until a patch is available. For Windows, restrict access to the SYSCALL and SYSENTER instructions to minimize the risk of exploitation. For macOS, avoid using the INT 3 instruction in sensitive code paths until the issue is resolved. For Ubuntu, Debian GNU/Linux, Red Hat Enterprise Linux, and EulerOS, apply configuration changes to handle debug exceptions correctly. For FreeBSD, update the kernel to handle the inhibited data breakpoints and single step trap exceptions properly. At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

Race Condition

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

ALSA-2025_16880
ALT-PU-2018-1867
ALT-PU-2018-2521
BDU:2020-00048
CESA-2018_1318
CESA-2018_1319
CVE-2018-8897
DLA-1383-1
DLA-1392-1
DLA-1577-1
DSA-4196-1
DSA-4201-1
ELSA-2018-1318
ELSA-2018-1319
ELSA-2018-4096
ELSA-2018-4097
ELSA-2018-4098
FREEBSD-SA-18_06
MGASA-2018-0249
MGASA-2018-0264
MGASA-2018-0265
MGASA-2018-0324
MGASA-2018-0340
MGASA-2018-0341
OPENSUSE-SU-2018_1274-1
OPENSUSE-SU-2024:11520-1
RHSA-2018:1318
RHSA-2018:1319
RHSA-2018:1345
RHSA-2018:1346
RHSA-2018:1347
RHSA-2018:1348
RHSA-2018:1349
RHSA-2018:1350
RHSA-2018:1351
RHSA-2018:1352
RHSA-2018:1353
RHSA-2018:1354
RHSA-2018:1355
RHSA-2018:1524
RHSA-2018:1710
RHSA-2018:1711
RHSA-2018_1318
RHSA-2018_1319
RHSA-2018_1353
RHSA-2018_1355
SUSE-SU-2018:1171-1
SUSE-SU-2018:1172-1
SUSE-SU-2018:1173-1
SUSE-SU-2018:1173-2
SUSE-SU-2018:1177-1
SUSE-SU-2018:1181-1
SUSE-SU-2018:1184-1
SUSE-SU-2018:1202-1
SUSE-SU-2018:1203-1
SUSE-SU-2018:1216-1
SUSE-SU-2018:1220-1
SUSE-SU-2018:1221-1
SUSE-SU-2018:1505-1
SUSE-SU-2018:1506-1
SUSE-SU-2018:1509-1
SUSE-SU-2018:1510-1
SUSE-SU-2018:1511-1
SUSE-SU-2018:1512-1
SUSE-SU-2018:1513-1
SUSE-SU-2018:1514-1
SUSE-SU-2018:1516-1
SUSE-SU-2018:1517-1
SUSE-SU-2018:1518-1
SUSE-SU-2018:1519-1
SUSE-SU-2018:1520-1
SUSE-SU-2018:1521-1
SUSE-SU-2018:1522-1
SUSE-SU-2018:1523-1
SUSE-SU-2018:1524-1
SUSE-SU-2018:1526-1
SUSE-SU-2018:1528-1
SUSE-SU-2018:1529-1
SUSE-SU-2018:1530-1
SUSE-SU-2018:1531-1
SUSE-SU-2018:1532-1
SUSE-SU-2018:1533-1
SUSE-SU-2018:1534-1
SUSE-SU-2018:1535-1
SUSE-SU-2018:1536-1
SUSE-SU-2018:1537-1
SUSE-SU-2018:1538-1
SUSE-SU-2018:1539-1
SUSE-SU-2018:1540-1
SUSE-SU-2018:1541-1
SUSE-SU-2018:1543-1
SUSE-SU-2018:1545-1
SUSE-SU-2018:1546-1
SUSE-SU-2018:1548-1
SUSE-SU-2018:1549-1
SUSE-SU-2018:1636-1
SUSE-SU-2018:1637-1
SUSE-SU-2018:1639-1
SUSE-SU-2018:1640-1
SUSE-SU-2018:1641-1
SUSE-SU-2018:1642-1
SUSE-SU-2018:1643-1
SUSE-SU-2018:1644-1
SUSE-SU-2018:1645-1
SUSE-SU-2018:1648-1
SUSE-SU-2018:3230-1
SUSE-SU-2018_1171-1
SUSE-SU-2018_1172-1
SUSE-SU-2018_1173-1
SUSE-SU-2018_1173-2
SUSE-SU-2018_1177-1
SUSE-SU-2018_1181-1
SUSE-SU-2018_1184-1
SUSE-SU-2018_1202-1
SUSE-SU-2018_1203-1
SUSE-SU-2018_1216-1
SUSE-SU-2018_1220-1
SUSE-SU-2018_1221-1
SUSE-SU-2018_1505-1
SUSE-SU-2018_1506-1
SUSE-SU-2018_1509-1
SUSE-SU-2018_1510-1
SUSE-SU-2018_1511-1
SUSE-SU-2018_1512-1
SUSE-SU-2018_1513-1
SUSE-SU-2018_1514-1
SUSE-SU-2018_1516-1
SUSE-SU-2018_1517-1
SUSE-SU-2018_1518-1
SUSE-SU-2018_1519-1
SUSE-SU-2018_1520-1
SUSE-SU-2018_1521-1
SUSE-SU-2018_1522-1
SUSE-SU-2018_1523-1
SUSE-SU-2018_1524-1
SUSE-SU-2018_1526-1
SUSE-SU-2018_1528-1
SUSE-SU-2018_1529-1
SUSE-SU-2018_1530-1
SUSE-SU-2018_1531-1
SUSE-SU-2018_1532-1
SUSE-SU-2018_1533-1
SUSE-SU-2018_1534-1
SUSE-SU-2018_1535-1
SUSE-SU-2018_1536-1
SUSE-SU-2018_1537-1
SUSE-SU-2018_1538-1
SUSE-SU-2018_1539-1
SUSE-SU-2018_1540-1
SUSE-SU-2018_1541-1
SUSE-SU-2018_1543-1
SUSE-SU-2018_1545-1
SUSE-SU-2018_1546-1
SUSE-SU-2018_1548-1
SUSE-SU-2018_1549-1
SUSE-SU-2018_3230-1
USN-3641-1
USN-3641-2

Affected Products

Alt Linux
Centos
Debian
Euleros
Freebsd
Linux
Red Hat
Suse
Ubuntu
Windows
Apple Macos