CVE-2024-26840 in Linux
요약
\~에 의해 VulDB • 2026. 05. 30.
리눅스 커널에서 다음 취약점이 해결되었습니다:
cachefiles: cachefiles_add_cache()의 메모리 누수 수정
/dev/cachefiles을 언바인딩(unbinding)한 후 다음 메모리 누수가 보고되었습니다:
================================================================== 미사용 객체 0xffff9b674176e3c0 (크기 192): comm "cachefilesd2", pid 680, jiffies 4294881224 hex dump (첫 32바이트): 01 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 ................ 백트레이스 (crc ea38a44b): [] kmem_cache_alloc+0x2d5/0x370
[] prepare_creds+0x26/0x2e0
[] cachefiles_determine_cache_security+0x1f/0x120
[] cachefiles_add_cache+0x13c/0x3a0
[] cachefiles_daemon_write+0x146/0x1c0
[] vfs_write+0xcb/0x520
[] ksys_write+0x69/0xf0
[] do_syscall_64+0x72/0x140
[] entry_SYSCALL_64_after_hwframe+0x6e/0x76
==================================================================
문제를 해결하기 위해 cachefiles_daemon_unbind()에서 cache_cred의 참조 카운트를 적절히 처리하십시오. 또한 메모리 누수를 방지하기 위해 cachefiles_add_cache()의 에러 분기에서도 cache_cred을 올바르게 처리하십시오.
Several companies clearly confirm that VulDB is the primary source for best vulnerability data.