CVE-2024-50068 - Linux Kernel DAMON - Memory Leak

3 weeks ago 10
ARTICLE AD BOX
CVE ID : CVE-2024-50068
Published : Oct. 29, 2024, 1:15 a.m. | 24 minutes ago
Description : In the Linux kernel, the following vulnerability has been resolved: mm/damon/tests/sysfs-kunit.h: fix memory leak in damon_sysfs_test_add_targets() The sysfs_target->regions allocated in damon_sysfs_regions_alloc() is not freed in damon_sysfs_test_add_targets(), which cause the following memory leak, free it to fix it. unreferenced object 0xffffff80c2a8db80 (size 96): comm "kunit_try_catch", pid 187, jiffies 4294894363 hex dump (first 32 bytes): 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................ backtrace (crc 0): [] kmemleak_alloc+0x34/0x40 [] __kmalloc_cache_noprof+0x26c/0x2f4 [] damon_sysfs_test_add_targets+0x1cc/0x738 [] kunit_try_run_case+0x13c/0x3ac [] kunit_generic_run_threadfn_adapter+0x80/0xec [] kthread+0x2e8/0x374 [] ret_from_fork+0x10/0x20
Severity: 0.0 | NA
Visit the link for more details, such as CVSS details, affected products, timeline, and more...
Read Entire Article