Skip to content
Search Oracle Linux

    Browse this documentation

    Ksplice userspace: glibc/OpenSSL memory-level patching and offline mode (documentation guide, not measured)

    Ksplice’s real killer feature: glibc/OpenSSL-level patching without rebooting. This page is a documentation guide (not measured), focusing on the mechanism, the command surface, and how to self-verify in a subscription environment.

    A kernel patch modifies one kernel’s code; a userspace patch faces hundreds of processes with loaded libraries — each with different memory layouts, load addresses and dependency versions. Ksplice’s approach:

    1. Identify which running processes have loaded the affected library (glibc/OpenSSL);
    2. For each process, rewrite the corresponding code pages in memory (address relocation handled by the Ksplice engine);
    3. Newly started processes naturally use the new library (the on-disk library has been updated by RPM).

    The effect: on the day an openssl CVE breaks, after applying the patch no service restarts, and every process is protected immediately.

    The command surface (per official documentation)

    Section titled “The command surface (per official documentation)”
    Terminal window
    ksplice user show # the current userspace patch coverage state
    ksplice user upgrade # apply pending patches (memory level)
    ksplice user rollback # roll back a specified patch
    ksplice offline ... # offline/intranet mode

    This is a separate system from the kernel side’s uptrack-* command family, with the same Premier/OCI licensing.

    Per official documentation: the critical userspace libraries = glibc, OpenSSL (plus components Ksplice designates as related). Coverage evolves with versions — trust the actual output of ksplice user show and the release notes. Not every userspace CVE can be patched in memory; outside the coverage, the traditional ‘update the library + restart the service’ path still applies.

    The subscription-environment self-verification checklist

    Section titled “The subscription-environment self-verification checklist”
    1. ksplice user show — confirm the covered libraries and process count;
    2. In a low-traffic window, ksplice user upgrade — watch how many processes were patched in place in the output;
    3. lsof | grep libssl compared against before the patch — the affected processes’ library mapping changes;
    4. Run one ksplice user rollback drill — confirm exit is possible;
    5. Put ①③④ into the inspection/drill calendar.