Ksplice userspace: glibc/OpenSSL memory-level patching and offline mode (documentation guide, not measured)
What you will learn
Section titled “What you will learn”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.
Why userspace patching is harder
Section titled “Why userspace patching is harder”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:
- Identify which running processes have loaded the affected library (glibc/OpenSSL);
- For each process, rewrite the corresponding code pages in memory (address relocation handled by the Ksplice engine);
- 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)”ksplice user show # the current userspace patch coverage stateksplice user upgrade # apply pending patches (memory level)ksplice user rollback # roll back a specified patchksplice offline ... # offline/intranet modeThis is a separate system from the kernel side’s uptrack-* command family, with the same Premier/OCI licensing.
Coverage
Section titled “Coverage”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”ksplice user show— confirm the covered libraries and process count;- In a low-traffic window,
ksplice user upgrade— watch how many processes were patched in place in the output; lsof | grep libsslcompared against before the patch — the affected processes’ library mapping changes;- Run one
ksplice user rollbackdrill — confirm exit is possible; - Put ①③④ into the inspection/drill calendar.
Evidence and limits on this page
Section titled “Evidence and limits on this page”- Everything unmeasured (continuing the kernel page’s boundary); the mechanism and command surface follow the official documentation fetched live;
- Read together with the kernel page: the licensing matrix and offline-mode details are on the Ksplice kernel page;
- Sources: the Ksplice User’s Guide, the OCI Ksplice documentation, Ksplice Technology.