What does NTSTATUS 0xC0000258 (STATUS_NO_CALLBACK_ACTIVE) mean?

 
Previous Next
STATUS_PATH_NOT_COVERED STATUS_LICENSE_QUOTA_EXCEEDED

STATUS_NO_CALLBACK_ACTIVE

The thread has no active callback to return from

Windows can transition from kernel mode into a user-mode callback and later use a callback-return system service to resume the kernel-side caller. STATUS_NO_CALLBACK_ACTIVE means that return service was executed without the matching active callback state on the current thread.

This is a control-flow and thread-context error. Preserve the thread ID, callback entry stack and the code that invoked the return service. Calling the native routine from an arbitrary worker or after unwinding the callback frame cannot manufacture the missing kernel callback context. Compatibility layers should keep callback entry and return on the expected thread and nesting level.

What to inspect

  • Trace callback entry and return on the same thread.
  • Record nesting depth and any exception or long-jump that bypassed normal callback flow.
  • Do not retry NtCallbackReturn outside the original callback context.

References


Looking for a different code? Search another status or error code.