🔍 CVE-2022-49274

7.8
CVSS Score
HIGH
2025-02-26
2026-08-04 10:17
✅ 완료

🇰🇷 한글 설명

Linux 커널의 ocfs2 파일 시스템에서 쿼타(quota) 기능이 활성화된 상태로 마운트될 때 시스템 충돌(Crash)이 발생하는 취약점입니다. 이는 dqi_gqlock 초기화 과정에서 dqi_type 및 dqi_sb 변수가 적절히 초기화되지 않아 발생합니다.

💡 쉬운 설명

파일 시스템의 용량 제한 기능을 켜고 사용하려고 할 때, 컴퓨터 시스템이 갑자기 멈추거나 꺼질 수 있는 오류입니다. 특정 설정값이 제대로 준비되지 않은 상태에서 작업을 시도하여 발생하는 문제입니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: ocfs2: fix crash when mount with quota enabled There is a reported crash when mounting ocfs2 with quota enabled. RIP: 0010:ocfs2_qinfo_lock_res_init+0x44/0x50 [ocfs2] Call Trace: ocfs2_local_read_info+0xb9/0x6f0 [ocfs2] dquot_load_quota_sb+0x216/0x470 dquot_load_quota_inode+0x85/0x100 ocfs2_enable_quotas+0xa0/0x1c0 [ocfs2] ocfs2_fill_super.cold+0xc8/0x1bf [ocfs2] mount_bdev+0x185/0x1b0 legacy_get_tree+0x27/0x40 vfs_get_tree+0x25/0xb0 path_mount+0x465/0xac0 __x64_sys_mount+0x103/0x140 It is caused by when initializing dqi_gqlock, the corresponding dqi_type and dqi_sb are not properly initialized. This issue is introduced by commit 6c85c2c72819, which wants to avoid accessing uninitialized variables in error cases. So make global quota info properly initialized.

📍 영향받는 시스템

ocfs2 쿼타 기능이 포함된 Linux 커널 (commit 6c85c2c72819 이후 버전)

⚔️ 공격 벡터

로컬 공격자가 쿼타 기능이 활성화된 ocfs2 파일 시스템을 마운트 시도하여 시스템 가용성을 침해(DoS)할 수 있음

🛡️ 대응 방법

Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하여 ocfs2 쿼타 초기화 로직을 수정해야 함

🔧 검증 코드

현재 실행 중인 커널 버전을 확인하여 취약점이 해결된 패치 버전인지 확인

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