CVE-2026-100058: dax: Return errors from dax_core_init()
In the Linux kernel, the following vulnerability has been resolved:
dax: Return errors from daxcoreinit()
daxcoreinit() returns success when either the character device number allocation or DAX bus registration fails, even though the error paths have already released the initialized resources.
For modular DAX, this allows the module to remain loaded despite failed initialization, leaving subsequent users and module removal to access resources that have already been released.
Return the error code from the failed operation so that module loading fails rather than reporting successful initialization after the resources have been released.
Affected Software
Event History
Frequently Asked Questions
Who is exposed to this issue?
Systems using modular DAX are exposed when DAX initialization fails during module loading. The issue concerns failure of either character device number allocation or DAX bus registration.
What condition is required to trigger the unsafe state?
An attacker or other triggering condition must cause dax_core_init() to encounter a failure while allocating the character device number or registering the DAX bus. The vulnerable behavior then reports successful initialization even though resources have been released.
How can administrators tell whether the problematic state occurred?
The affected condition is a DAX module that remains loaded after an initialization failure. The description does not provide specific log messages or commands for detecting it.
What does the fix change?
The fix returns the underlying initialization error, causing modular DAX loading to fail instead of leaving a loaded module with released resources. This prevents later users or module removal from accessing those released resources.