CVE-2024-56547
Linux Debian vulnerability analysis and mitigation

Overview

In the Linux kernel, a vulnerability has been identified and resolved in the RCU (Read-Copy-Update) subsystem, specifically in the nocb (No Callbacks) component. The issue was discovered when running rcutorture tests with specific parameters and affects the RCU barrier functionality during deoffloading operations. This vulnerability was disclosed on December 27, 2024, and is tracked as CVE-2024-56547 (NVD, Kernel Git).

Technical details

The vulnerability manifests when running rcutorture tests with specific parameters (torturetype=rcu fwdprogress=8 nbarriercbs=8 nocbsnthreads=8 nocbstoggle=100 onoffinterval=60 testboost=2). The issue occurs in the RCU nocb deoffloading process where a race condition can happen between barrier callback execution and callbacks counter decrement. This leads to a WARNONONCE() trigger in the rcunocbrdp_deoffload function and can potentially cause a system deadlock (Kernel Git).

Impact

The vulnerability can result in two primary issues: First, it triggers a warning in the kernel (WARNONONCE) indicating a potential system state inconsistency. Second, and more severely, it can cause a system deadlock when multiple RCU barriers are racing during the deoffloading process (NVD).

Mitigation and workarounds

The issue has been fixed by adding a check for rdp->nocbcbsleep before parking to ensure no further rcubarrier() is waiting on the rdp. The fix involves modifying the nocbcbwait function to handle racing rcubarrier() calls more gracefully (Kernel Git).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

“Best User Experience I have ever seen, provides full visibility to cloud workloads.”
David EstlickCISO
“Wiz provides a single pane of glass to see what is going on in our cloud environments.”
Adam FletcherChief Security Officer
“We know that if Wiz identifies something as critical, it actually is.”
Greg PoniatowskiHead of Threat and Vulnerability Management