🔍 CVE-2024-58078

5.5
CVSS Score
MEDIUM
2025-03-06
2026-11-05 21:17
✅ 완료

🇰🇷 한글 설명

Linux 커널의 misc 디바이스 드라이버에서 동적 마이너 번호를 할당할 때 ida를 사용하는 방식이 일관되지 않아, 해제 시 ida_free 호출에서 경고가 발생하는 문제가 해결되었습니다. 이제 모든 동적/misc 동적 마이너 번호가 ida를 통해 일관되게 할당됩니다.

💡 쉬운 설명

리눅스 커널 내부에서 장치 번호를 할당하고 해제하는 방식이 서로 맞지 않아 경고 메시지가 발생하던 문제입니다. 이번 수정으로 할당과 해제 방식이 통일되어 시스템 안정성이 개선됩니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: misc: misc_minor_alloc to use ida for all dynamic/misc dynamic minors misc_minor_alloc was allocating id using ida for minor only in case of MISC_DYNAMIC_MINOR but misc_minor_free was always freeing ids using ida_free causing a mismatch and following warn: > > WARNING: CPU: 0 PID: 159 at lib/idr.c:525 ida_free+0x3e0/0x41f > > ida_free called for id=127 which is not allocated. > > <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< ... > > [<60941eb4>] ida_free+0x3e0/0x41f > > [<605ac993>] misc_minor_free+0x3e/0xbc > > [<605acb82>] misc_deregister+0x171/0x1b3 misc_minor_alloc is changed to allocate id from ida for all minors falling in the range of dynamic/ misc dynamic minors

📍 영향받는 시스템

수정 이전의 Linux 커널 버전을 사용하는 시스템 (misc 드라이버 사용 환경)

⚔️ 공격 벡터

원격 공격 경로는 확인되지 않았으며, 커널 내부 번호 관리 불일치로 인한 경고 및 불안정성 문제입니다.

🛡️ 대응 방법

배포판 제공 최신 커널 패키지로 업데이트 후 재부팅하세요.

🔧 검증 코드

출력된 커널 버전이 해당 패치가 포함된 배포판 수정 버전 이상인지 배포판 보안 공지와 대조하여 확인하세요.

Shell / Script
uname -r

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Linux Kernel