🔍 CVE-2026-46264

8.8
CVSS Score
HIGH
2026-06-03
2026-07-22 20:10
✅ 완료

🇰🇷 한글 설명

Linux 커널의 drm/xe/pf 드라이버에서 sysfs 초기화 중 발생하는 취약점입니다. devm_add_action_or_reset() 호출 실패 시 초기화되지 않은 kobject에 대해 정리 작업이 즉시 실행되어 refcount 언더플로우 및 Use-After-Free(UAF) 오류를 유발할 수 있습니다.

💡 쉬운 설명

시스템의 핵심 부품을 관리하는 소프트웨어가 준비가 채 끝나기도 전에 정리 작업을 시도하여 발생하는 오류입니다. 이로 인해 시스템이 충돌하거나 보안상 취약한 상태가 될 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: drm/xe/pf: Fix sysfs initialization In case of devm_add_action_or_reset() failure the provided cleanup action will be run immediately on the not yet initialized kobject. This may lead to errors like: [ ] kobject: '(null)' (ff110001393608e0): is not initialized, yet kobject_put() is being called. [ ] WARNING: lib/kobject.c:734 at kobject_put+0xd9/0x250, CPU#0: kworker/0:0/9 [ ] RIP: 0010:kobject_put+0xdf/0x250 [ ] Call Trace: [ ] xe_sriov_pf_sysfs_init+0x21/0x100 [xe] [ ] xe_sriov_pf_init_late+0x87/0x2b0 [xe] [ ] xe_sriov_init_late+0x5f/0x2c0 [xe] [ ] xe_device_probe+0x5f2/0xc20 [xe] [ ] xe_pci_probe+0x396/0x610 [xe] [ ] local_pci_probe+0x47/0xb0 [ ] refcount_t: underflow; use-after-free. [ ] WARNING: lib/refcount.c:28 at refcount_warn_saturate+0x68/0xb0, CPU#0: kworker/0:0/9 [ ] RIP: 0010:refcount_warn_saturate+0x68/0xb0 [ ] Call Trace: [ ] kobject_put+0x174/0x250 [ ] xe_sriov_pf_sysfs_init+0x21/0x100 [xe] [ ] xe_sriov_pf_init_late+0x87/0x2b0 [xe] [ ] xe_sriov_init_late+0x5f/0x2c0 [xe] [ ] xe_device_probe+0x5f2/0xc20 [xe] [ ] xe_pci_probe+0x396/0x610 [xe] [ ] local_pci_probe+0x47/0xb0 Fix that by calling kobject_init() and kobject_add() separately and register cleanup action after the kobject is initialized. Also make this cleanup registration a part of the create helper to fix another mistake, as in the loop we were wrongly passing parent kobject while registering cleanup action, and this resulted in some undetected leaks. (cherry picked from commit 98b16727f07e26a5d4de84d88805ce7ffcfdd324)

📍 영향받는 시스템

Linux kernel (drm/xe driver components)

⚔️ 공격 벡터

로컬 권한을 가진 공격자가 특정 PCI 장치(Xe SRIOV 관련)의 초기화 과정을 유도하여 메모리 오류를 발생시킴

🛡️ 대응 방법

커널을 최신 패치가 적용된 버전으로 업데이트하여 kobject 초기화 및 정리 로직을 수정해야 함

🔧 검증 코드

출력된 커널 버전을 확인하여 해당 취약점이 해결된 패치 버전인지 확인

Shell / Script
uname -r

📊 CVSS Vector String

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

💻 영향받는 소프트웨어

Linux Kernel