We use these services and cookies to improve your user experience. You may opt out if you wish, however, this may limit some features on this site.

Please see our statement on Data Privacy.

Crisp.chat (Helpdesk and Chat)

Ok

THREATINT
PUBLISHED

CVE-2024-50068

mm/damon/tests/sysfs-kunit.h: fix memory leak in damon_sysfs_test_add_targets()



AssignerLinux
Reserved2024-10-21
Published2024-10-29
Updated2024-10-29

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): [<0000000001e3714d>] kmemleak_alloc+0x34/0x40 [<000000008e6835c1>] __kmalloc_cache_noprof+0x26c/0x2f4 [<000000001286d9f8>] damon_sysfs_test_add_targets+0x1cc/0x738 [<0000000032ef8f77>] kunit_try_run_case+0x13c/0x3ac [<00000000f3edea23>] kunit_generic_run_threadfn_adapter+0x80/0xec [<00000000adf936cf>] kthread+0x2e8/0x374 [<0000000041bb1628>] ret_from_fork+0x10/0x20

Product status

Default status
unaffected

b8ee5575f763 before 05d43455f6bf
affected

b8ee5575f763 before 2d6a1c835685
affected

Default status
affected

6.7
affected

Any version before 6.7
unaffected

6.11.5
unaffected

6.12-rc4
unaffected

References

https://git.kernel.org/stable/c/05d43455f6bffa6abc7b937ca58be00452e6973f

https://git.kernel.org/stable/c/2d6a1c835685de3b0c8e8dc871f60f4ef92ab01a

cve.org CVE-2024-50068

nvd.nist.gov CVE-2024-50068

Download JSON

Share this page
https://cve.threatint.com
Subscribe to our newsletter to learn more about our work.