Why fs.suid_dumpable=2 Depends on a Safe core_pattern Check
Linux core dumps can expose encryption keys, session data, and other sensitive memory contents, so their handling deserves careful control. The fs.suid_dumpable setting governs dumps from processes that normally would not produce them, and mode 2 is only safe when kernel.core_pattern points to a pipe handler or an absolute path. An inherited or misconfigured pattern can send dumps somewhere unexpected even when the policy looks controlled. The article recommends verifying the runtime sysctl values, checking any coredump collector's retention, encryption, and access controls, and testing the pipeline on a non-production host with a harmless program. It advises against triggering dumps from production services just to check for secrets.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in