Hardening scores: 5.19.6 against the field

kernel-hardening-checker comparison of Root Lock 5.19.6 against industry hardened kernels and stock references, with reproduction commands.

Subject: Root Lock by HeartSuite, kernel 5.19.6
Config SHA-256: d67caa637263c33ce939b7eef867f0695d60d11d285d6694a7f5567e73ba6fbc
Tool: kernel-hardening-checker commit b9b83a0, run 2026-05-19
Source file: evidence-pack-5.19.6.txt


Part 1 — Measured comparison (same kernel era)

All three configs below are built from the 5.19.x kernel tree. Checker scores are directly comparable — same Kconfig namespace, same option universe.

ConfigSourceKernelOverallAttack-surfaceExploit-resistance
HS 5.19.6HS canonical config (SHA256: d67caa6…)5.19.6129/258 (50.0%)91/132 (68.9%)31/109 (28.4%)
Arch linux-hardenedgitlab.archlinux.org/archlinux/packaging/packages/linux-hardened @ tag 5.19.11.hardened1-15.19.11158/258 (61.2%)77/132 (58.3%)69/109 (63.3%)
Vanilla x86_64 defconfigBundled in kernel-hardening-checker5.17.1126/258 (48.8%)90/132 (68.2%)29/109 (26.6%)

Reading the table

  • Attack-surface measures how many dangerous kernel features are disabled. Higher = more things turned off.
  • Exploit-resistance measures how many defensive mitigations against memory bugs are enabled. Higher = harder to exploit.
  • These two axes are largely independent and optimized for different threat models.

What this shows

HS leads on attack-surface (91 vs 77 vs 90): it disables BPF_SYSCALL, FUSE_FS, OVERLAY_FS, SECURITY_APPARMOR, SECURITY_TOMOYO, and USER_NS — all of which Arch linux-hardened keeps enabled for its general-purpose user base.

Arch linux-hardened leads on exploit-resistance (69 vs 31): it enables HARDENED_USERCOPY, FORTIFY_SOURCE, INIT_ON_ALLOC_DEFAULT_ON, INIT_ON_FREE_DEFAULT_ON, SLAB_FREELIST_RANDOM, and MODULE_SIG — all absent in HS 5.19.6.

Vanilla defconfig is the baseline: it does about as well as HS on attack-surface (most things aren’t enabled by default) but even worse on exploit-resistance.

Bypass-primitive disables — side by side

OptionHS 5.19.6Arch lh 5.19.11Notes
CONFIG_BPF_SYSCALL=n=yBPF LSM can override all MAC decisions
CONFIG_IO_URING=y=yio_uring bypasses VFS hooks via fget()
CONFIG_FUSE_FS=n=mFUSE allows path-confusion attacks
CONFIG_OVERLAY_FS=n=mOverlay d_path() breaks sandbox lookup
CONFIG_SECURITY_APPARMOR=n=yRedundant LSM adds attack surface
CONFIG_SECURITY_TOMOYO=n=ySame rationale as AppArmor
CONFIG_KEXEC=y=nkexec destroys Lockdown state
CONFIG_MODULE_SIG=n=yUnsigned modules can unload HeartSuite

HS: 5/8 disabled. Arch lh: 3/8 disabled (different 3). Neither disables all eight.

Exploit-resistance mitigations — side by side

MitigationHS 5.19.6Arch lh 5.19.11
INIT_ON_ALLOC_DEFAULT_ON=n=y
INIT_ON_FREE_DEFAULT_ON=n=y
HARDENED_USERCOPY=n=y
FORTIFY_SOURCE=n=y
SLAB_FREELIST_RANDOM=n=y
KFENCE=n=n
RANDSTRUCT_FULL=n=n
KSTACK_ERASE=n=n
MODULE_SIG / MODULE_SIG_FORCE=n / =n=y / =n

Part 2 — Qualitative orientation (cross-project)

These projects were not scored with the checker in this analysis — either because their configs were unavailable for the 5.19 era, because they are paywalled, or because a meaningful config was not locatable. Characterizations are drawn from each project’s public documentation and design goals.

ProjectBypass PreventionExploit ResistanceModule FootprintAvailabilityPrimary Use Case
HeartSuite 5.19.6Very High — BPF/FUSE/OVERLAY/AppArmor/TOMOYO/USER_NS all disabledLow — vanilla upstream baseline~9 modules (measured)CommercialContainment of untrusted code on dedicated appliance
Arch linux-hardened 5.19.11Moderate — keeps BPF, FUSE, AppArmor, USER_NSHigh — HARDENED_USERCOPY, FORTIFY, INIT_ON_ALLOC, SLAB_FREELISTHundredsFree, open-sourceGeneral-purpose hardened desktop/server
NixOS linux_hardenedModerateHighHundredsRemoved from nixpkgs 2025 (lack of maintenance)Was: reproducible hardened NixOS systems
grsecurity / PaXHighVery High — RBAC + PaX heap/stack protectionsLargePaid subscriptionMaximum exploit resistance; enterprise
CLIP OS (ANSSI)High — minimal modules + BPF disabledHigh — KSPP-style mitigations~400Public (archived)Government/high-security Linux platform
Hardened GentooModerateHighLargeFree, open-sourceReproducible hardened Gentoo systems
GrapheneOSHigh — Android-targeted bypass removalVery High — extensive Android hardening patchesAndroid-specificFree, open-sourceHardened Android (not x86/server)
Kicksecure / WhonixLow–ModerateLow–Moderate — mostly OS-level hardening, not kernel patchesStandard DebianFree, open-sourcePrivacy-focused Debian derivative

Notes on the qualitative table:

  • “Bypass Prevention” = removal of subsystems that can circumvent MAC/LSM enforcement.
  • “Exploit Resistance” = mitigations against kernel memory bugs (heap, stack, pointer corruption).
  • NixOS linux_hardened was removed from nixpkgs in 2025 due to lack of maintenance — it is no longer an active project. The bundled config in kernel-hardening-checker (6.12.50-hardened1) is a historical snapshot.
  • CLIP OS: the public CLIP OS project is archived. The ANSSI team published their kernel configs; they are accessible at the archived CLIP OS documentation.
  • grsecurity requires a paid subscription; their config is not publicly available for automated analysis.
  • GrapheneOS targets Android hardware (aarch64); its hardening is not directly applicable to x86 server deployments.

Part 3 — LSM stack and module count (measured)

MetricHS 5.19.6Source
Modules loaded at runtime0 (lsmod empty)Runtime measurement
Loadable .ko files shipped9Runtime measurement
modules.builtin entries334Runtime measurement
SELinux at runtimePermissive (enforce=0)Runtime measurement — /sys/fs/selinux/enforce
Active enforcing MAC LSMHeartSuiteRuntime measurement — dmesg enforcement trace
Alt-LSMs (YAMA, LANDLOCK, IMA, EVM, LOCKDOWN_LSM)All disabledConfig grep

Part 4 — CPU mitigations (5.19.6 naming)

5.19.6 uses pre-6.1 option names. Checker reports these as FAIL (uses the 6.1+ CONFIG_MITIGATION_* names). Mitigations confirmed present:

Mitigation5.19.6 optionValue
Spectre v2 (retpoline)CONFIG_RETPOLINE=y
Return thunkCONFIG_RETHUNK=y
IBPB on kernel entryCONFIG_CPU_IBPB_ENTRY=y
IBRS on kernel entryCONFIG_CPU_IBRS_ENTRY=y
IBT compiler supportCONFIG_CC_HAS_IBT=y

Summary

DimensionHS 5.19.6Arch lh 5.19.11 (era-matched)
Overall checker score50.0%61.2%
Attack-surface reduction68.9%58.3%
Exploit-resistance28.4%63.3%
Bypass-primitive disables (of 8 key)5/83/8 (different set)
KEXEC disabledNoYes
MODULE_SIG enforcedNoYes
BPF_SYSCALL disabledYesNo
FUSE/OVERLAY disabledYesNo
Runtime modules loaded0Not measured