🔍 CVE-2023-52804

7.8
CVSS Score
HIGH
2024-05-21
2026-08-04 10:18
✅ 완료

🇰🇷 한글 설명

Linux 커널의 JFS 파일 시스템에서 db_maxag 및 db_agpref 변수에 대한 유효성 검사가 누락되어 발생한 취약점입니다. 이 변수들이 배열의 인덱스로 사용될 때 범위를 벗어날 수 있어 시스템 오류를 유발할 수 있습니다.

💡 쉬운 설명

파일 시스템이 데이터를 관리할 때 사용하는 번호표가 정해진 범위를 넘어서는 문제가 발생할 수 있습니다. 이로 인해 컴퓨터 시스템이 예상치 못한 오류를 일으키거나 멈출 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: fs/jfs: Add validity check for db_maxag and db_agpref Both db_maxag and db_agpref are used as the index of the db_agfree array, but there is currently no validity check for db_maxag and db_agpref, which can lead to errors. The following is related bug reported by Syzbot: UBSAN: array-index-out-of-bounds in fs/jfs/jfs_dmap.c:639:20 index 7936 is out of range for type 'atomic_t[128]' Add checking that the values of db_maxag and db_agpref are valid indexes for the db_agfree array.

📍 영향받는 시스템

JFS(Journaled File System)를 사용하는 Linux 커널 버전

⚔️ 공격 벡터

조작된 JFS 파일 시스템 이미지를 마운트하여 배열 인덱스 범위를 벗어나는 동작 유도

🛡️ 대응 방법

JFS 관련 유효성 검사 패치가 적용된 최신 Linux 커널로 업데이트

🔧 검증 코드

출력된 커널 버전이 해당 취약점이 해결된 보안 패치 버전인지 확인

Shell / Script
uname -r

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Linux Kernel