Improper mmap_sem rw_semaphore usage by cbsensor module leads to system hang

Solution Verified - Updated -

Issue

The loadavg values go high and the server goes partially or fully unresponsive. Lots of tasks in the uninterruptible sleep state (D) are observed. The oldest tasks are blocked trying to acquire mmap_sem, and the owner of the semaphore is unknown.

Environment

  • Red Hat Enterprise Linux
  • cbsensor kernel module

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content