Enable checks on notifier call chains
An XCCDF Rule
Description
Enable this to turn on sanity checking for notifier call chains. This is most useful for kernel
developers to make sure that modules properly unregister themselves from notifier chains.
The configuration that was used to build kernel is available at /boot/config-*
.
To check the configuration value for CONFIG_DEBUG_NOTIFIERS
, run the following command:
grep CONFIG_DEBUG_NOTIFIERS /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 provides validation of notifier chains, it checks whether the notifiers are from the kernel or a module that is still loaded prior to being invoked.
- ID
- xccdf_org.ssgproject.content_rule_kernel_config_debug_notifiers
- Severity
- Low
- References
- Updated