Statically Discover Complex Cross-Entry Use-After-Free Vulnerabilities in the Linux Kernel

Use-After-Free (UAF) is one of the most widely spread and severe memory safety issues, attracting lots of research efforts toward its automatic discovery.Existing UAF detection approaches include two major categories: dynamic and static.While dynamic methods like fuzzing can detect UAF issues with high precision, they are inherently limited in code coverage.Static approaches, on the other hand, can usually only discover simple sequential UAF cases, despite that many real-world UAF bugs involve intricate cross-entry control and data flows (e.g., concurrent UAFs).Limited static tools supporting cross-entry UAF detection also suffer from inaccuracy or narrowed scope (e.g., cannot handle complex codebases like the Linux kernel).In this paper, we propose UAFX, a static analyzer capable of discovering cross-entry UAF vulnerabilities in the Linux kernel and potentially extensible to general C programs.UAFX is powered by a novel escape-fetch-based cross-entry alias analysis, enabling it to accurately analyze the alias relationships between the use and free sites even when they scatter in different entry functions.UAFX is also equipped with a systematic UAF validation framework based on partial-order constraints, allowing it to reliably reason about multiple UAF-related code aspects (e.g., locks, path conditions, threads) to filter out false alarms.Our evaluation shows that UAFX can discover new cross-entry UAF vulnerabilities in the kernel and one user-space program (80 true positive warnings), with reasonable reviewer-perceived precision (more than 40%) and performance.

Authors

Publication Details

Published
2025-01-01
DOI
https://doi.org/10.14722/ndss.2025.240559
Citations
2
Primary Topic
Security and Verification in Computing
Type
article
Field-Weighted Citation Impact
4.96

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Statically Discover Complex Cross-Entry Use-After-Free Vulnerabilities in the Linux Kernel

Zhiyun Qian, Jangha Kim, Hang Zhang, Tae Soo Kim et al.
2 citations
Security and Verification in Computing
4.96
article

Statically Discover Complex Cross-Entry Use-After-Free Vulnerabilities in the Linux Kernel

Zhiyun Qian, Jangha Kim, Hang Zhang, Tae Soo Kim, Chuhong Yuan
article en
2 citations

Abstract

Use-After-Free (UAF) is one of the most widely spread and severe memory safety issues, attracting lots of research efforts toward its automatic discovery.Existing UAF detection approaches include two major categories: dynamic and static.While dynamic methods like fuzzing can detect UAF issues with high precision, they are inherently limited in code coverage.Static approaches, on the other hand, can usually only discover simple sequential UAF cases, despite that many real-world UAF bugs involve intricate cross-entry control and data flows (e.g., concurrent UAFs).Limited static tools supporting cross-entry UAF detection also suffer from inaccuracy or narrowed scope (e.g., cannot handle complex codebases like the Linux kernel).In this paper, we propose UAFX, a static analyzer capable of discovering cross-entry UAF vulnerabilities in the Linux kernel and potentially extensible to general C programs.UAFX is powered by a novel escape-fetch-based cross-entry alias analysis, enabling it to accurately analyze the alias relationships between the use and free sites even when they scatter in different entry functions.UAFX is also equipped with a systematic UAF validation framework based on partial-order constraints, allowing it to reliably reason about multiple UAF-related code aspects (e.g., locks, path conditions, threads) to filter out false alarms.Our evaluation shows that UAFX can discover new cross-entry UAF vulnerabilities in the kernel and one user-space program (80 true positive warnings), with reasonable reviewer-perceived precision (more than 40%) and performance.

Microsoft Research, Electronics and Telecommunications Research Institute
Reduced inequalities
Openalex Percentile: Top 6%
Security and Verification in Computing
4.96
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Statically Discover Complex Cross-Entry Use-After-Free Vulnerabilities in the Linux Kernel — Zhiyun Qian, Jangha Kim, et al. · (2025) | TGRS Research Map | TGRS