Skip to main navigation Skip to search Skip to main content

Identifying Linux Kernel Instability Due to Poor RCU Synchronization

  • University of Limerick

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

Read-Copy-Update (RCU) is widely used in the Linux kernel to manage concurrent access to shared data structures. However, improper synchronization when removing RCU-protected hash table entries can lead to stale pointers, inconsistent lookups, and critical use-after-free (UAF) vulnerabilities. This paper investigates a driver-level synchronization issue arising from the omission of explicit synchronize_rcu() calls during hash table updates, using a discovered weakness in the Intel® ICE network driver's Virtual Function (VF) management. Previous kernel vulnerabilities, such as a bug in the Reliable Datagram Sockets (RDS) subsystem, show how improper RCU synchronization can directly cause kernel crashes. Experimental results demonstrate that removing VF entries without proper synchronization leaves transient stale entries, delays memory reclamation, and results in significant memory fragmentation under rapid insert/delete workloads. RCU hash tables are widely deployed in Linux kernel subsystems such as networking, virtualization, and file systems; improper synchronization can cause memory fragmentation, kernel instability, and out-of-memory (OOM) conditions. Mitigations are proposed, recommending explicit insertion of synchronize_rcu() calls to ensure timely and safe memory reclamation. These findings reinforce established best practices for RCU synchronization, highlighting their importance for maintaining kernel stability and memory safety.

Original languageEnglish
Title of host publicationIrish Signals and Systems Conference
Subtitle of host publicationSignalling our Strength, ISSC 2025
PublisherInstitute of Electrical and Electronics Engineers Inc.
ISBN (Electronic)9798331575939
DOIs
Publication statusPublished - 2025
Event35th Irish Signals and Systems Conference, ISSC 2025 - Letterkenny, Ireland
Duration: 9 Jun 202510 Jun 2025

Publication series

NameIrish Signals and Systems Conference: Signalling our Strength, ISSC 2025

Conference

Conference35th Irish Signals and Systems Conference, ISSC 2025
Country/TerritoryIreland
CityLetterkenny
Period9/06/2510/06/25

Keywords

  • hash tables
  • ICE driver
  • kernel synchronization
  • memory fragmentation
  • RCU
  • use-after-free

Fingerprint

Dive into the research topics of 'Identifying Linux Kernel Instability Due to Poor RCU Synchronization'. Together they form a unique fingerprint.

Cite this