feat(base): blacklist unused network kernel modules
Disable rxrpc, kafs, af_key, esp4, esp6 across all systems that enable metacfg.base. None of them are used on these hosts, and they have a history of CVEs — blacklisting reduces kernel attack surface.
This commit is contained in:
parent
67b7c3a9fd
commit
b9cfdc99a7
1 changed files with 7 additions and 0 deletions
|
|
@ -166,6 +166,13 @@ in
|
|||
timeout = 2;
|
||||
};
|
||||
initrd.systemd.enable = true;
|
||||
blacklistedKernelModules = [
|
||||
"rxrpc"
|
||||
"kafs"
|
||||
"af_key"
|
||||
"esp4"
|
||||
"esp6"
|
||||
];
|
||||
};
|
||||
|
||||
system.autoUpgrade = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue