🔍 CVE-2024-49900

7.1
CVSS Score
HIGH
2024-10-21
2026-10-15 01:19
✅ 완료

🇰🇷 한글 설명

Linux 커널의 JFS 파일시스템에서 확장 속성(xattr) 처리 중 초기화되지 않은 메모리 값(new_ea)이 사용되는 취약점입니다. ea_buffer 구조체가 제대로 초기화되지 않아 메모리 접근 오류를 유발할 수 있습니다. memset을 사용하여 ea_get() 함수에서 버퍼를 초기화함으로써 수정됩니다.

💡 쉬운 설명

Linux 파일 속성 관리 기능에서 초기화되지 않은 쓰레기 데이터가 사용되는 메모리 버그입니다. 로컬 공격자가 파일 속성 조작을 통해 정보 유출이나 시스템 충돌을 유발할 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: jfs: Fix uninit-value access of new_ea in ea_buffer syzbot reports that lzo1x_1_do_compress is using uninit-value: ===================================================== BUG: KMSAN: uninit-value in lzo1x_1_do_compress+0x19f9/0x2510 lib/lzo/lzo1x_compress.c:178 ... Uninit was stored to memory at: ea_put fs/jfs/xattr.c:639 [inline] ... Local variable ea_buf created at: __jfs_setxattr+0x5d/0x1ae0 fs/jfs/xattr.c:662 __jfs_xattr_set+0xe6/0x1f0 fs/jfs/xattr.c:934 ===================================================== The reason is ea_buf->new_ea is not initialized properly. Fix this by using memset to empty its content at the beginning in ea_get().

📍 영향받는 시스템

Linux kernel with JFS filesystem support prior to patch; vulnerability affects xattr operations on JFS-mounted filesystems

⚔️ 공격 벡터

Local attacker manipulates extended attributes (xattr) on JFS filesystem to trigger uninitialized memory access in kernel

🛡️ 대응 방법

Update Linux kernel to version containing memset initialization fix in ea_get() function within fs/jfs/xattr.c file

🔧 검증 코드

Output 'Patched' indicates kernel fix is present; 'Unpatched or source unavailable' means you should verify kernel version against CVE-2024-49900 timeline.

Shell / Script
grep -q 'memset' /lib/modules/$(uname -r)/build/fs/jfs/xattr.c 2>/dev/null && echo 'Patched' || echo 'Unpatched or source unavailable'

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H

💻 영향받는 소프트웨어

Linux Kernel