CVEvulnerability
CVE-2018-12633
6.3 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2018-06-22
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.0 ([email protected])
- 6.3 MEDIUM — CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:H
- CVSS 2.0 ([email protected])
- 6.3 MEDIUM — AV:L/AC:M/Au:N/C:C/I:N/A:C
- Weaknesses
- CWE-362
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.
Affected configurations
• linux linux kernel (<= 4.17.2)
Related
Weakness · CWE (1)
- CWE-362 Concurrent Execution using Shared Resource with Improper Synchronization weakness
References
- http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=bd23a7269834dc7c1f93e83535d16ebc44b75eba Patch, Vendor Advisory
- https://bugzilla.kernel.org/show_bug.cgi?id=200131 Issue Tracking, Vendor Advisory
- https://github.com/torvalds/linux/commit/bd23a7269834dc7c1f93e83535d16ebc44b75eba Patch, Third Party Advisory
- http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=bd23a7269834dc7c1f93e83535d16ebc44b75eba Patch, Vendor Advisory
- https://bugzilla.kernel.org/show_bug.cgi?id=200131 Issue Tracking, Vendor Advisory
- https://github.com/torvalds/linux/commit/bd23a7269834dc7c1f93e83535d16ebc44b75eba Patch, Third Party Advisory