CVE-2008-4210: Linux Kernel

Medium severity, CVSS 4.6. EPSS: 2.1% chance of exploitation in the next 30 days.

fs/open.c in the Linux kernel before 2.6.22 does not properly strip setuid and setgid bits when there is a write to a file, which allows local users to gain the privileges of a different group, and obtain sensitive information or possibly have unspecified other impact, by creating an executable file in a setgid directory through the (1) truncate or (2) ftruncate function in conjunction with memory-mapped I/O.

Affected products

  • Linux Linux Kernel: up to and including 2.6.21.7; version 2.2.27 only; version 2.4.36 only; version 2.4.36.1 only; version 2.4.36.2 only; version 2.4.36.3 only; …

Published 2008-09-29. Last modified 2026-06-16.