Improper Permissions in Linux Kernel ACPI debugfs custom_method File
CVE-2010-4347 is a local privilege escalation vulnerability in the Linux kernel before 2.6.36.2, specifically in the ACPI subsystem. The debugfs custom_method file was created with 0222 (world-writable) permissions by the acpi_debugfs_init function in drivers/acpi/debugfs.c. This allows any local user to write a custom ACPI method to the interpreter tables, potentially leading to privilege escalation or arbitrary code execution within the kernel context.
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
A local attacker can gain elevated privileges by writing malicious ACPI methods to the custom_method file, which are then interpreted by the kernel. This can result in full system compromise, including arbitrary code execution in kernel space.
If you can’t patch tonight, do this now.
If upgrading is not immediately possible, restrict access to debugfs or remount debugfs with more restrictive permissions. Ensure that only trusted users have access to systems where debugfs is mounted, and consider disabling debugfs in production environments.
Patch, then assume compromise.
Upgrade the Linux kernel to version 2.6.36.2 or later, where the permissions on the custom_method file have been corrected to prevent unauthorized modification by unprivileged users.
No validated public exploits yet. Hidden: 1 not yet analyzed, such as Exploit-DB entries.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.