Skip to content
OpenAdvisories
Unscored Public exploit CVE-2018-12633 EUVD-2018-4589GHSA-9rwp-mqvh-8g6q

An issue was discovered in the Linux kernel through 4.17.2. vbg_misc_device_ioctl() in drivers/virt/vboxguest/vboxguest_linux.c reads the s…

Published Jun 22, 2018 · Updated Aug 5, 2024 · Assigned by mitre

Description

An issue was discovered in the Linux kernel through 4.17.2. vbg_misc_device_ioctl() in drivers/virt/vboxguest/vboxguest_linux.c reads the same user data twice with copy_from_user. The header part of the user data is double-fetched, and a malicious user thread can tamper with the critical variables (hdr.size_in and hdr.size_out) in the header between the two fetches because of a race condition, leading to severe kernel errors, such as buffer over-accesses. This bug can cause a local denial of service and information leakage.

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.17.3-1 —
Debian 13 linux 4.17.3-1 —
Debian 12 linux 4.17.3-1 —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 virtualbox No fix yet —
Ubuntu 26.04 LTS virtualbox +1 No fix yet —
Ubuntu 25.10 virtualbox No fix yet —
Ubuntu 24.04 LTS virtualbox +1 No fix yet —
Ubuntu 22.04 LTS virtualbox +2 No fix yet —
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS virtualbox No fix yet —
Ubuntu 18.04 LTS virtualbox No fix yet —
Ubuntu 16.04 LTS virtualbox No fix yet —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

References