You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Soundness Issue: ProcessInner::death_delivered Does Not Enforce List Ownership Invariant #1238
Following the same pattern identified in #1237, ProcessInner::death_delivered is a safe function that does not enforce the invariant documented on delivered_links, relying entirely on callers to uphold a precondition that is neither checked nor expressed in the type system. Calling it with a mismatched NodeDeath can cause a null pointer dereference by invoking only safe Rust functions.
Confirmed on: Linux kernel 7.1.0-rc5 mainline (8fde5d1d47f6).
changed the title [-]Soundness Issue: ProcessInner::death_delivered Does Not Enforce List Ownership Invariant[/-][+]Soundness Issue: `ProcessInner::death_delivered` Does Not Enforce List Ownership Invariant[/+]on Jun 2, 2026
If you want to submit a patch adding an assertion, go ahead, but there's no unsoundness issue here. It's just an invariant that the driver must uphold. Please read The Scope of Unsafe for more on this.
Activity
[-]Soundness Issue: ProcessInner::death_delivered Does Not Enforce List Ownership Invariant[/-][+]Soundness Issue: `ProcessInner::death_delivered` Does Not Enforce List Ownership Invariant[/+]ojeda commentedon Jun 3, 2026
Cc: @Darksonn @gregkh
Darksonn commentedon Jun 9, 2026
If you want to submit a patch adding an assertion, go ahead, but there's no unsoundness issue here. It's just an invariant that the driver must uphold. Please read The Scope of Unsafe for more on this.