Back to search

Hong Kong University of Science and Technology

Large Language Model Assisted Kernel Data Race Detection

Abstract

dc:description

<p>Data races in the Linux kernel remain a persistent security threat, yet detecting them is notoriously difficult due to complex thread interleavings and deep execution paths. Traditional fuzzing often struggles to reach specific conflict points, while static analysis suffers from high false positive rates. We introduce KENDACE, a novel framework that leverages Large Language Models (LLMs) to guide directed data race detection. KENDACE operates in three phases: first, it employs module-aware static analysis with MemorySSA to efficiently identify potential conflict domains. Second, it utilizes LLMs to analyze path constraints and generate targeted C programs, successfully triggering deep kernel paths that evade traditional methods. Finally, a modified Kernel Concurrency Sanitizer (KCSAN) with precise thread synchronization verifies the races. Evaluation on the Mainline Linux Kernel and Distribution Kernels (e.g., EulerOS[1]) demonstrates that KENDACE effectively triggers difficult execution paths and successfully detect real-world vulnerabilities.</p>

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Zhang, Qiao
Contributors dc:contributor
  • She, Dongdong

Rights

Language dc:language
English

Identifiers

dc:identifier.*

Chain of custody

source
Harvested from
Hong Kong University of Science and Technology
Base URL
repository.ust.hk/ir/OAI/Server
Last updated
2026-11-26
Source record
OAI-PMH GetRecord
related terms
citation

Zhang, Qiao. Large Language Model Assisted Kernel Data Race Detection. 2026. http://repository.hkust.edu.hk/ir/Record/1783.1-169603