Friday 26 June 2026 09:37:16 GMT+02:00

Netcrook

HomeManifesto
News
Techcrook
Geocrook
WikicrookTeamAppContact
EnglishItalianoArabic

WIKICROOK

release_agent

A cgroups v1 mechanism that can run a command when a cgroup becomes empty.

In Linux cgroups v1, release_agent is a host-side setting that can run a command when a cgroup becomes empty. It was designed for cleanup and notification, but it is security-sensitive because it can trigger execution on the host, not inside the container or process that created the cgroup.

This matters in cyber security because a mistake in authorization around release_agent can turn a limited foothold into privilege escalation or container escape. Attackers look for ways to write to the setting, create an empty cgroup, and cause the kernel to launch an attacker-controlled command path. Defenders reduce risk by patching the kernel, limiting access to legacy cgroups v1, avoiding unnecessary CAP_SYS_ADMIN exposure, and monitoring for unexpected changes to release_agent or unusual cgroup cleanup activity.

← WIKICROOK index