🔍 CVE-2022-49955

5.5
CVSS Score
MEDIUM
2025-06-18
2026-11-05 20:17
✅ 완료

🇰🇷 한글 설명

Linux 커널의 powerpc RTAS(펌웨어 호출) 처리에서 MSR[HV] 비트가 제대로 설정되지 않아 IBM Cell 머신에서 부팅 중 커널 크래시가 발생하던 문제입니다. 수정은 mfmsr로 읽은 현재 MSR 값의 HV 비트를 RTAS 호출 시 사용하는 값으로 복사하는 방식입니다.

💡 쉬운 설명

옛날 IBM Cell 서버에서 리눅스가 부팅할 때 펌웨어 기능을 호출하다가 멈추는 버그입니다. 일반 사용자가 악용하기 어려운 수준의 안정성 문제로 볼 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: powerpc/rtas: Fix RTAS MSR[HV] handling for Cell The semi-recent changes to MSR handling when entering RTAS (firmware) cause crashes on IBM Cell machines. An example trace: kernel tried to execute user page (2fff01a8) - exploit attempt? (uid: 0) BUG: Unable to handle kernel instruction fetch Faulting instruction address: 0x2fff01a8 Oops: Kernel access of bad area, sig: 11 [#1] BE PAGE_SIZE=64K MMU=Hash SMP NR_CPUS=4 NUMA Cell Modules linked in: CPU: 0 PID: 0 Comm: swapper/0 Tainted: G W 6.0.0-rc2-00433-gede0a8d3307a #207 NIP: 000000002fff01a8 LR: 0000000000032608 CTR: 0000000000000000 REGS: c0000000015236b0 TRAP: 0400 Tainted: G W (6.0.0-rc2-00433-gede0a8d3307a) MSR: 0000000008001002 <ME,RI> CR: 00000000 XER: 20000000 ... NIP 0x2fff01a8 LR 0x32608 Call Trace: 0xc00000000143c5f8 (unreliable) .rtas_call+0x224/0x320 .rtas_get_boot_time+0x70/0x150 .read_persistent_clock64+0x114/0x140 .read_persistent_wall_and_boot_offset+0x24/0x80 .timekeeping_init+0x40/0x29c .start_kernel+0x674/0x8f0 start_here_common+0x1c/0x50 Unlike PAPR platforms where RTAS is only used in guests, on the IBM Cell machines Linux runs with MSR[HV] set but also uses RTAS, provided by SLOF. Fix it by copying the MSR[HV] bit from the MSR value we've just read using mfmsr into the value used for RTAS. It seems like we could also fix it using an #ifdef CELL to set MSR[HV], but that doesn't work because it's possible to build a single kernel image that runs on both Cell native and pseries.

📍 영향받는 시스템

Linux 커널 6.0-rc2 및 이후 일부 버전의 powerpc 아키텍처(특히 IBM Cell 기반 시스템)

⚔️ 공격 벡터

로컬에서 부팅 과정 또는 RTAS 호출 경로에 영향을 주어 커널 크래시(서비스 거부)를 유발할 수 있음

🛡️ 대응 방법

수정이 포함된 최신 Linux 커널 버전으로 업데이트하거나 배포판 보안 패치를 적용

🔧 검증 코드

출력된 커널 버전을 배포판 보안 공지와 대조해 해당 수정이 포함된 버전인지 확인하고, PowerPC 시스템이 아니라면 이 CVE의 영향 대상이 아닙니다.

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