Vulnallery
GhostWrite logo

CPU & hardware

GhostWrite

Faulty vector instructions in T-Head RISC-V CPUs letting unprivileged code write arbitrary physical memory.

At a glance: GhostWrite is a vulnerability in the area of CPU & hardware, disclosed in August 2024 and tracked as CVE-2024-44067. It was discovered by a team including Fabian Thomas (CISPA), Eric García Arribas (CISPA), Lorenz Hetterich (CISPA) and others. The logo was designed by Lea Mosbach. The logo is in the public domain (CC0 1.0) and may be used without restriction.

Background

Faulty vector-extension instructions write directly to physical memory and thereby bypass all process isolation, deterministically and within microseconds. An unprivileged user can write to any memory and, via page tables, read it too. The bug cannot be fixed in software; the only option is to disable the vector extension.

Discovered by
Fabian Thomas (CISPA), Eric García Arribas (CISPA), Lorenz Hetterich (CISPA), Ruiyi Zhang (CISPA), Daniel Weber (CISPA), Lukas Gerlach (CISPA) and Michael Schwarz (CISPA)
Affected
RISC-V processors T-Head XuanTie C910 and C920, for example in Lichee Pi 4A and Milk-V Pioneer
Severity
CVSS 3.1: 8.4 (high) · CVE-2024-44067 · MITRE

Sources: ghostwriteattack.com, nvd.nist.gov

CVE identifiers

Image rights

Design
Lea Mosbach
Licence
CC0 1.0 – public domain dedication
Evidence
ghostwriteattack.com

Questions and answers about GhostWrite

What is GhostWrite?

Faulty vector instructions in T-Head RISC-V CPUs letting unprivileged code write arbitrary physical memory. Faulty vector-extension instructions write directly to physical memory and thereby bypass all process isolation, deterministically and within microseconds. An unprivileged user can write to any memory and, via page tables, read it too. The bug cannot be fixed in software; the only option is to disable the vector extension. GhostWrite was disclosed in August 2024.

Who discovered GhostWrite?

GhostWrite was discovered by Fabian Thomas (CISPA), Eric García Arribas (CISPA), Lorenz Hetterich (CISPA), Ruiyi Zhang (CISPA), Daniel Weber (CISPA), Lukas Gerlach (CISPA) and Michael Schwarz (CISPA).

What is affected by GhostWrite?

Affected: RISC-V processors T-Head XuanTie C910 and C920, for example in Lichee Pi 4A and Milk-V Pioneer.

How severe is GhostWrite?

MITRE rates CVE-2024-44067 with a CVSS 3.1 base score of 8.4 out of 10 (high).

Who designed the GhostWrite logo?

The logo was designed by Lea Mosbach.

May I use the GhostWrite logo?

The logo is in the public domain (CC0 1.0) and may be used without restriction. No guarantee; the source ghostwriteattack.com is authoritative.

Which CVE identifier does GhostWrite have?

GhostWrite is tracked as CVE-2024-44067.