🔍 CVE-2025-21976

7.8
CVSS Score
HIGH
2025-04-01
2026-10-21 13:18
✅ 완료

🇰🇷 한글 설명

Linux 커널의 Hyper-V 프레임버퍼(hyperv_fb) 드라이버에서 장치 해제 시 프레임버퍼를 강제로 해제하려 시도할 때 발생하는 취약점입니다. 이로 인해 프레임버퍼가 사용 중인 경우 경고(WARNING)가 발생하며 자원이 정상적으로 해제되지 않는 문제가 있습니다.

💡 쉬운 설명

가상 환경에서 화면을 보여주는 장치를 제거할 때, 시스템이 이를 깔끔하게 정리하지 못하고 오류를 일으키는 문제입니다. 이로 인해 메모리나 자원이 제대로 비워지지 않고 남아있을 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: fbdev: hyperv_fb: Allow graceful removal of framebuffer When a Hyper-V framebuffer device is unbind, hyperv_fb driver tries to release the framebuffer forcefully. If this framebuffer is in use it produce the following WARN and hence this framebuffer is never released. [ 44.111220] WARNING: CPU: 35 PID: 1882 at drivers/video/fbdev/core/fb_info.c:70 framebuffer_release+0x2c/0x40 < snip > [ 44.111289] Call Trace: [ 44.111290] <TASK> [ 44.111291] ? show_regs+0x6c/0x80 [ 44.111295] ? __warn+0x8d/0x150 [ 44.111298] ? framebuffer_release+0x2c/0x40 [ 44.111300] ? report_bug+0x182/0x1b0 [ 44.111303] ? handle_bug+0x6e/0xb0 [ 44.111306] ? exc_invalid_op+0x18/0x80 [ 44.111308] ? asm_exc_invalid_op+0x1b/0x20 [ 44.111311] ? framebuffer_release+0x2c/0x40 [ 44.111313] ? hvfb_remove+0x86/0xa0 [hyperv_fb] [ 44.111315] vmbus_remove+0x24/0x40 [hv_vmbus] [ 44.111323] device_remove+0x40/0x80 [ 44.111325] device_release_driver_internal+0x20b/0x270 [ 44.111327] ? bus_find_device+0xb3/0xf0 Fix this by moving the release of framebuffer and assosiated memory to fb_ops.fb_destroy function, so that framebuffer framework handles it gracefully. While we fix this, also replace manual registrations/unregistration of framebuffer with devm_register_framebuffer.

📍 영향받는 시스템

Hyper-V 환경에서 실행되는 Linux 커널 (hyperv_fb 드라이버 사용 시스템)

⚔️ 공격 벡터

직접적인 공격보다는 시스템 자원 해제 실패로 인한 서비스 불안정성 유발 가능

🛡️ 대응 방법

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