Memory Allocation Issue in Linux Kernel's TOMOYO Control Mechanism
CVE-2024-58085

Currently unrated

Key Information:

Vendor
Linux
Status
Vendor
CVE Published:
6 March 2025

Summary

A memory allocation issue has been identified in the TOMOYO control mechanism of the Linux kernel, where excessively long lines can trigger warnings for overly large memory requests. By switching to the __GFP_NOWARN flag, the need to check for KMALLOC_MAX_SIZE was eliminated, as valid lines typically do not exceed 32KB. While attempts to allocate memory for lines over this limit may lead to failures with -ENOMEM, returning a separate -EINVAL for lines longer than KMALLOC_MAX_SIZE has been deemed unnecessary.

Affected Version(s)

Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2

Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2

Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2

References

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.