A flaw was found in the Tomoyo module in the Linux kernel. The tomoyo_write_control function in the security/tomoyo/common.c file does not protect a buffer from multiple concurrent write requests. This issue potentially leads to a use-after-free or double-free, resulting in a denial of service.