Lucene search
+L

Missing Linux Kernel mitigations for 'GhostWrite' hardware vulnerability

🗓️ 28 Oct 2025 00:00:00Reported by Copyright (C) 2025 Greenbone AGType 
openvas
 openvas
🔗 plugins.openvas.org👁 3 Views

Linux kernel mitigations missing for GhostWrite vulnerability enabling memory access.

Related
Refs
Code
ReporterTitlePublishedViews
Family
Circl
CVE-2024-44067
19 Aug 202404:19
circl
CNNVD
T-Head XuanTie C910和C920 安全漏洞
19 Aug 202400:00
cnnvd
CVE
CVE-2024-44067
19 Aug 202400:00
cve
Cvelist
CVE-2024-44067
19 Aug 202400:00
cvelist
NVD
CVE-2024-44067
19 Aug 202401:15
nvd
OpenVAS
Missing Linux Kernel mitigations for hardware vulnerabilities (sysfs interface not available)
2 Jun 202000:00
openvas
RedhatCVE
CVE-2024-44067
23 May 202508:26
redhatcve
Vulnrichment
CVE-2024-44067
19 Aug 202400:00
vulnrichment
# SPDX-FileCopyrightText: 2025 Greenbone AG
# Some text descriptions might be excerpted from (a) referenced
# source(s), and are Copyright (C) by the respective right holder(s).
#
# SPDX-License-Identifier: GPL-2.0-only

if(description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.119210");
  script_version("2026-01-14T05:47:41+0000");
  script_cve_id("CVE-2024-44067");
  script_tag(name:"last_modification", value:"2026-01-14 05:47:41 +0000 (Wed, 14 Jan 2026)");
  script_tag(name:"creation_date", value:"2025-10-28 14:30:23 +0000 (Tue, 28 Oct 2025)");
  # nb: CISA-ADP provides a way too high CVSSv3 score (8.4) for this one currently so a lower one
  # matching similar CPU relevant flaws has been used here for now.
  script_tag(name:"cvss_base", value:"3.8");
  script_tag(name:"cvss_base_vector", value:"AV:L/AC:H/Au:S/C:C/I:N/A:N");
  script_name("Missing Linux Kernel mitigations for 'GhostWrite' hardware vulnerability");
  script_category(ACT_GATHER_INFO);
  script_copyright("Copyright (C) 2025 Greenbone AG");
  script_family("General");
  script_dependencies("gb_hw_vuln_linux_kernel_mitigation_detect.nasl");
  script_mandatory_keys("ssh/hw_vulns/kernel_mitigations/vulnerable");

  script_xref(name:"URL", value:"https://docs.kernel.org/admin-guide/hw-vuln/index.html");
  script_xref(name:"URL", value:"https://ghostwriteattack.com/");

  script_tag(name:"summary", value:"The remote host is missing one or more known mitigation(s) on
  Linux Kernel side for the referenced 'GhostWrite' hardware vulnerability.");

  script_tag(name:"vuldetect", value:"Checks previous gathered information on the mitigation status
  reported by the Linux Kernel.");

  script_tag(name:"insight", value:"This vulnerability allows unprivileged attackers, even those
  with limited access, to read and write any part of the computer's memory and to control peripheral
  devices like network cards. GhostWrite renders the CPU's security features ineffective and cannot
  be fixed without disabling around half of the CPU's functionality.");

  script_tag(name:"affected", value:"Various RISC-V CPUs. Please see the references for the full
  list of affected CPUs.");

  script_tag(name:"solution", value:"The following solutions exist:

  - Update to a more recent Linux Kernel to receive mitigations on Kernel level and info about
  the mitigation status from it

  - Enable the mitigation(s) in the Linux Kernel (might be disabled depending on the configuration)

  Additional possible mitigations (if provided by the vendor) are to:

  - install a Microcode update

  - update the BIOS of the Mainboard

  Note: Please create an override for this result if one of the following applies:

  - the sysfs file is not available but other mitigations like a Microcode update is already in
  place

  - the sysfs file is not available but the CPU of the host is not affected

  - the reporting of the Linux Kernel is not correct (this is out of the control of this VT)");

  script_tag(name:"qod", value:"80"); # nb: None of the existing QoD types are matching here
  script_tag(name:"solution_type", value:"VendorFix");

  exit(0);
}

include("misc_func.inc");
include("list_array_func.inc");
include("host_details.inc");

if( ! get_kb_item( "ssh/hw_vulns/kernel_mitigations/vulnerable" ) )
  exit( 99 );

covered_vuln = "ghostwrite";

if( ! mitigation_status = get_kb_item( "ssh/hw_vulns/kernel_mitigations/vulnerable/" + covered_vuln ) )
  exit( 99 );

# nb: We currently don't now how RISC-V CPUs are getting reported by dmidecode so we're purely
# relying on the status of the Linux Kernel for this one.
if( "sysfs file missing (" >< mitigation_status )
  exit( 0 );

if( "Not affected" >< mitigation_status || "Vulnerable" >!< mitigation_status )
 exit( 99 );

report = 'The Linux Kernel on the remote host is missing the mitigation for the "' + covered_vuln + '" hardware vulnerability as reported by the sysfs interface:\n\n';

path = "/sys/devices/system/cpu/vulnerabilities/" + covered_vuln;
info[path] = mitigation_status;

# nb:
# - Store link between gb_hw_vuln_linux_kernel_mitigation_detect.nasl and this VT
# - We don't want to use get_app_* functions as we're only interested in the cross-reference here
register_host_detail( name:"detected_by", value:"1.3.6.1.4.1.25623.1.0.108765" ); # gb_hw_vuln_linux_kernel_mitigation_detect.nasl
register_host_detail( name:"detected_at", value:"general/tcp" ); # nb: gb_hw_vuln_linux_kernel_mitigation_detect.nasl is using port:0

report += text_format_table( array:info, sep:" | ", columnheader:make_list( "sysfs file checked", "Linux Kernel status (SSH response)" ) );
report += '\n\nNotes on the "Linux Kernel status (SSH response)" column:';
report += '\n- sysfs file missing: The sysfs interface is available but the sysfs file for this specific vulnerability is missing. This means the current Linux Kernel doesn\'t know this vulnerability yet. Based on this it is assumed that it doesn\'t provide any mitigation and that the target system is vulnerable.';
report += '\n- Strings including "Mitigation:", "Not affected" or "Vulnerable" are reported directly by the Linux Kernel.';
report += '\n- All other strings are responses to various SSH commands.';

security_message( port:0, data:report );
exit( 0 );

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

14 Jan 2026 00:00Current
6.7Medium risk
Vulners AI Score6.7
CVSS 3.18.4
EPSS0.00248
SSVC
3