Skip to content

Multi-core shortcut script bug #23

Description

@tommy-u

If you absolutely hammer the shortcut script with multiple vm cores & a nop program, you can trigger a silent barf, perhaps a deadlock w/ the core nop was running on in the page fault handler (including the mitigation) and the other core

Makefile:

run_be: nop
	taskset -c 0 shortcut.sh -be --- ./nop

Shell
for i in $(seq 1 5000); do make run_be; done

Ali thinks this is about an IPI during a tlb shootdown which is prepared on a user stack & inaccessible to the remote core (b/c it doesn't have the user pg table loaded).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions