Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A slabinfo fix, and the v1 (1.1.0) release #103

Merged
merged 2 commits into from
Aug 28, 2024

Commits on Aug 27, 2024

  1. slabinfo: catch errors due to freelist corruption

    Freelist corruption results in the "slabinfo" module crashing. Since
    this is a common symptom of use-after-free bugs, we'd rather give useful
    information about this case. So don't crash the module. Catch the error
    and report corruption issues at the end.
    
    This also helps in certain cases where we are running against a live
    kernel, and the freelist is not corrupt, but it changed by the time we
    decoded the pointer. As a result, we print different messages at
    different times: for live systems, we say this may be transient, but for
    core dumps, we say it indicates a potential use-after-free bug.
    
    To do this, we have to implement a rather sketchy workaround to use the
    _SlabCacheHelperSlub from drgn. This is manually verified to work on
    0.0.25 through 0.0.27, which are the only supported drgn versions. But,
    we need to work on upstream tweaks to improve the slab helpers, so we
    don't need to rely on the hack.
    
    Signed-off-by: Stephen Brennan <[email protected]>
    brenns10 committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    a6379b6 View commit details
    Browse the repository at this point in the history

Commits on Aug 28, 2024

  1. Release v1.1.0

    Signed-off-by: Stephen Brennan <[email protected]>
    brenns10 committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    85e1b66 View commit details
    Browse the repository at this point in the history