CVE-2025-68319
BaseFortify
Publication date: 2025-12-16
Last updated on: 2025-12-18
Assigner: kernel.org
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| linux | kernel | * |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-UNKNOWN |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability in the Linux kernel's netconsole feature involves a race condition when iterating over the userdata cg_children list. Specifically, functions like update_userdata() and count_extradata_entries() iterate over this list without proper locking, while concurrent add or remove operations on userdata items through configfs can modify the list. Without acquiring the configfs subsystem mutex (su_mutex), the list can be accessed in an inconsistent state, potentially causing infinite loops or warnings due to nodes being removed during iteration. The fix involves acquiring the su_mutex before iterating over the list to ensure safe concurrent access.
How can this vulnerability impact me? :
This vulnerability can cause the Linux kernel's netconsole subsystem to behave unpredictably due to race conditions when accessing the userdata list. This may lead to infinite loops or kernel warnings, potentially causing system instability or crashes. Such instability could affect system reliability and availability.
What immediate steps should I take to mitigate this vulnerability?
To mitigate this vulnerability, ensure that the Linux kernel is updated to a version where the fix is applied. The fix involves acquiring the configfs subsystem mutex (su_mutex) before iterating over the cg_children list to prevent race conditions. Specifically, the su_mutex must be held during all operations that iterate over cg_children, including userdatum_value_store() and sysdata_*_enabled_store() functions. Additionally, ensure that su_mutex is acquired before dynamic_netconsole_mutex to avoid lock ordering issues.