MEDIUM RHCOS (Node) M21: Kernel Module Blacklist P3

Remediation required. This group (18 checks) fails on vanilla RHCOS 10.2 and requires MachineConfig remediation. Verified on cnfdt16 (OCP 5.0, RHCOS 10.2) with compliance-operator v1.8.2.

Overview

Disables unnecessary kernel modules to reduce the attack surface. Blacklists network protocols (SCTP, TIPC, ATM, CAN), wireless drivers (bluetooth, WiFi), obsolete filesystems (cramfs, hfs, jffs2), and removable storage (USB, FireWire).

Profile: NIST 800-53 Moderate (rhcos4-moderate)

Compliance Checks

Check Description
atm-disabled Disable ATM network protocol
bluetooth-disabled Disable Bluetooth
can-disabled Disable CAN bus protocol
cfg80211-disabled Disable wireless configuration
cramfs-disabled Disable cramfs filesystem
firewire-core-disabled Disable FireWire
freevxfs-disabled Disable FreeVxFS filesystem
hfs-disabled Disable HFS filesystem
hfsplus-disabled Disable HFS+ filesystem
iwlmvm-disabled Disable Intel WiFi MVM driver
iwlwifi-disabled Disable Intel WiFi driver
jffs2-disabled Disable JFFS2 filesystem
mac80211-disabled Disable wireless MAC layer
sctp-disabled Disable SCTP protocol
squashfs-disabled Disable SquashFS filesystem
tipc-disabled Disable TIPC protocol
udf-disabled Disable UDF filesystem
usb-storage-disabled Disable USB mass storage

Verification

oc debug node/<node> -- chroot /host lsmod | grep -E 'bluetooth|usb.storage|sctp'

Upstream Proposal

The following changes could eliminate the need for MachineConfig remediation. Items are categorized by recommended scope:

5 unused filesystem module blacklist (conservative subset of 18) All OCP Low
openshift/os /usr/lib/modprobe.d/50-security-blacklist.conf
Disables unnecessary kernel modules (Bluetooth, WiFi, exotic filesystems, ATM, TIPC). Reduces attack surface on container hosts.
Scope: cramfs, freevxfs, hfs, hfsplus, jffs2 have zero use on any container host. squashfs excluded (live images), usb-storage excluded (BMC virtual media), udf excluded (Azure/Hyper-V Ignition provisioning).

PR History

5 unused filesystem module blacklist (conservative subset of 18) Not Filed blocked
18 modules is too broad for a base image blacklist. The only existing CoreOS module blacklist is nouveau (1 module, with specific bugzilla). Several modules have legitimate uses: SCTP for telco signaling (4G/5G), usb-storage for BMC KVM and provisioning, squashfs for snap/container runtimes, Bluetooth/WiFi for sensor nodes. Each module would need individual upstream justification. CoreOS tracker #249 discusses module management but not default blacklists.
5 unused filesystem module blacklist (conservative subset of 18) Open
Narrowed from 18 to 5 modules (cramfs, freevxfs, hfs, hfsplus, jffs2). UDF removed per reviewer feedback (Azure/Hyper-V uses UDF for Ignition provisioning). Excluded squashfs (live PXE rootfs), usb-storage (BMC virtual media), and 10 others too broad for base image. Precedent: nouveau blacklist already exists in overlay.d/08nouveau/. CIS Level 1 Section 1.1.1.
Legend
Remediation Status
✅ PASS (vanilla) Passes on unhardened RHCOS; no remediation needed
🟢 Verified Remediation tested on live cluster, confirmed PASS
🔵 In Progress Remediation actively being developed or tested
🟡 Pending Not yet started; needs remediation work
🟠 Partial Some checks pass or remediation not fully validated
⚪ On Hold Work paused (blocked or deprioritized)
Upstream Verdict
🔼 Candidate Suitable for upstreaming to ComplianceAsCode
🟣 PR Open Upstream PR filed
🎯 RAN Only Only applies to RAN deployments
⚙️ Platform Requires OCP platform-level configuration
✅ Pass Already passing upstream
📍 Site Site/deployment-specific configuration
— N/A Not applicable for upstreaming
Platform
RHCOS Node-level checks (MachineConfig)
OCP Platform-level checks (API/CR)
Mixed Both RHCOS and OCP checks
Severity
HIGH
MEDIUM
LOW
MANUAL

Keyboard Shortcuts

Navigation
j / Next row
k / Previous row
Enter Open selected / Expand details
Esc Clear selection / Close modal
Actions
/ Focus search
d Toggle dark mode
? Show this help
g h Go to home
Filters
1 Show all
2 Pending only
3 In Progress only
4 Complete only