🔍 CVE-2022-50753

7.8
CVSS Score
HIGH
2025-12-24
2026-08-04 10:18
✅ 완료

🇰🇷 한글 설명

Linux 커널의 F2FS 파일 시스템에서 요약 정보(summary info)에 대한 무결성 검사가 누락되어 발생하는 취약점입니다. 조작된 파일 시스템 이미지를 마운트할 경우, 잘못된 오프셋 값으로 인해 Use-After-Free 오류가 발생하여 시스템 충돌이나 권한 상승이 가능할 수 있습니다.

💡 쉬운 설명

파일 시스템의 정보를 읽을 때 데이터가 올바른지 확인하지 않아 발생하는 문제입니다. 나쁜 의도로 조작된 파일을 컴퓨터에 연결하면 시스템이 고장 나거나 해킹될 위험이 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: f2fs: fix to do sanity check on summary info As Wenqing Liu reported in bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=216456 BUG: KASAN: use-after-free in recover_data+0x63ae/0x6ae0 [f2fs] Read of size 4 at addr ffff8881464dcd80 by task mount/1013 CPU: 3 PID: 1013 Comm: mount Tainted: G W 6.0.0-rc4 #1 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.15.0-1 04/01/2014 Call Trace: dump_stack_lvl+0x45/0x5e print_report.cold+0xf3/0x68d kasan_report+0xa8/0x130 recover_data+0x63ae/0x6ae0 [f2fs] f2fs_recover_fsync_data+0x120d/0x1fc0 [f2fs] f2fs_fill_super+0x4665/0x61e0 [f2fs] mount_bdev+0x2cf/0x3b0 legacy_get_tree+0xed/0x1d0 vfs_get_tree+0x81/0x2b0 path_mount+0x47e/0x19d0 do_mount+0xce/0xf0 __x64_sys_mount+0x12c/0x1a0 do_syscall_64+0x38/0x90 entry_SYSCALL_64_after_hwframe+0x63/0xcd The root cause is: in fuzzed image, SSA table is corrupted: ofs_in_node is larger than ADDRS_PER_PAGE(), result in out-of-range access on 4k-size page. - recover_data - do_recover_data - check_index_in_prev_nodes - f2fs_data_blkaddr This patch adds sanity check on summary info in recovery and GC flow in where the flows rely on them. After patch: [ 29.310883] F2FS-fs (loop0): Inconsistent ofs_in_node:65286 in summary, ino:0, nid:6, max:1018

📍 영향받는 시스템

Linux Kernel (F2FS 파일 시스템을 사용하는 시스템)

⚔️ 공격 벡터

조작된 F2FS 파일 시스템 이미지를 시스템에 마운트(Mount) 시도

🛡️ 대응 방법

Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트

🔧 검증 코드

출력된 커널 버전이 F2FS 요약 정보 검증 패치가 적용된 버전인지 확인

Shell / Script
uname -r

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Linux Kernel