CVE-2023-1855
Linux Kernel vulnerability analysis and mitigation

Overview

A use-after-free flaw was found in xgenehwmonremove in drivers/hwmon/xgene-hwmon.c in the Hardware Monitoring Linux Kernel Driver (xgene-hwmon). This vulnerability was discovered by Zheng Wang and assigned CVE-2023-1855. The issue was disclosed on April 5, 2023, affecting the Linux Kernel's hardware monitoring subsystem (CVE Mitre, NVD).

Technical details

The vulnerability stems from a race condition in the xgenehwmonremove function. In xgenehwmonprobe, &ctx->workq is bound with xgenehwmonevtwork and started. When removing the driver through xgenehwmonremove, there may be unfinished work leading to a use-after-free condition. The issue occurs when kfifofree(&ctx->asyncmsgfifo) is called while kfifooutspinlocked is still using &ctx->asyncmsgfifo (GitHub Commit).

Impact

The vulnerability could allow a local attacker to crash the system due to a race problem. Additionally, this vulnerability could potentially lead to a kernel information leak problem (Ubuntu Security).

Mitigation and workarounds

The issue has been fixed in various Linux distributions through security updates. For example, Ubuntu has released fixes for multiple versions including 23.04 (6.2.0-23.23), 22.04 LTS (5.15.0-79.86), and 20.04 LTS (5.4.0-156.173). Debian has also addressed this in version 5.10.178-3~deb10u1 for Debian 10 buster (Debian LTS).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-40205HIGH7.8
  • Linux KernelLinux Kernel
  • linux-gcp-5.4
NoYesNov 12, 2025
CVE-2025-40211HIGH7.1
  • Linux KernelLinux Kernel
  • linux-gcp-6.8
NoYesNov 21, 2025
CVE-2025-40206MEDIUM5.5
  • Linux KernelLinux Kernel
  • kernel-zfcpdump-modules-extra
NoYesNov 12, 2025
CVE-2025-40210MEDIUM5.1
  • Linux KernelLinux Kernel
  • kernel-rt-64k-modules
NoYesNov 21, 2025
CVE-2025-40212N/AN/A
  • Linux KernelLinux Kernel
  • linux-azure-6.14
NoYesNov 24, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management