System Freezes or Reboots with Linux Agent 8.8.6 on CET Enabled Hardware Running RHEL 9.7
search cancel

System Freezes or Reboots with Linux Agent 8.8.6 on CET Enabled Hardware Running RHEL 9.7

book

Article ID: 435993

calendar_today

Updated On:

Products

Carbon Black App Control

Issue/Introduction

Systems running Red Hat Enterprise Linux (RHEL) 9.7 with kernel version 5.14.0-611 or higher may experience an immediate kernel panic, system freeze or reboot loops during the installation or startup of the Carbon Black App Control Linux Agent version 8.8.6 and 8.9.0. This behavior occurs specifically on hardware supporting Control-Flow Enforcement Technology (CET), such as HPE Gen11 servers or higher. 

Issue is seen immediately after: 

  1. Installation after b9install.sh is run. 
  2. Upgrade of the Agent. 
  3. Kernel is upgraded to 5.14.0-611 or higher. 

Environment

  • Carbon Black App Control Console: All Supported Versions
  • Carbon Black App Control Linux Agent: 8.8.6 - 8.9.0
  • Linux OS: RHEL 9.7 (Kernel 5.14.0-611 or Higher)
  • Hardware: Intel/AMD CET-enabled (HPE Gen11 or Higher)

Cause

The cb_appc_events kernel module attempts to modify the CPU Write Protect (WP) bit in the CR0 register to hook system events. On kernel 5.14.0-611+ kernel and newer hardware, the kernel utilizes CET (Shadow Stacks/Indirect Branch Tracking) to prevent such modifications. This interaction results in a fatal kernel violation.

Resolution

Install/Upgrade to the 8.9.2 Linux Agent release. 

Additional Information