Kernel panic oops
An XCCDF Rule
Description
Enable the kernel to panic when it oopses.
This has the same effect as setting oops=panic on the kernel command line.
The configuration that was used to build kernel is available at /boot/config-*
.
To check the configuration value for CONFIG_PANIC_ON_OOPS
, run the following command:
grep CONFIG_PANIC_ON_OOPS /boot/config-*
For each kernel installed, a line with value "y" should be returned.
warning alert: Warning
There is no remediation for this besides re-compiling the kernel with the appropriate value for the config.
Rationale
This feature ensures that the kernel does not do anything erroneous after an oops which could result in data corruption or other issues.
- ID
- xccdf_org.ssgproject.content_rule_kernel_config_panic_on_oops
- Severity
- Medium
- References
- Updated