In the Linux kernel, the following vulnerability has been resolved: USB: chaoskey: Fix slab-use-after-free in chaoskey_release() The chaos
위협 신호 · CVSS · EPSS · KEV
이론적 심각도 점수
30일 내 악용 확률 예측
실측 악용 기록 없음
계획된 패치 주기 내 조치(60일 이내)
CVSS 벡터 · 메트릭
CVSS 벡터 정보 없음
상세 설명
In the Linux kernel, the following vulnerability has been resolved:
USB: chaoskey: Fix slab-use-after-free in chaoskey_release()
The chaoskey driver has a use-after-free bug in its release routine.
If the user closes the device file after the USB device has been
unplugged, a debugging log statement will try to access the
usb_interface structure after it has been deallocated:
1BUG: KASAN: slab-use-after-free in dev_driver_string (drivers/base/core.c:2406) 2Read of size 8 at addr ffff888168e8a0b8 by task chaoskey_raw_re/10106 3 4Hardware name: QEMU Ubuntu 24.04 PC v2 (i440FX + PIIX, arch_caps fix, 1996), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 5Call Trace: 6 <TASK> 7 dump_stack_lvl (lib/dump_stack.c:94 lib/dump_stack.c:120) 8 print_report (mm/kasan/report.c:378 mm/kasan/report.c:482) 9 kasan_report (mm/kasan/report.c:595)10 dev_driver_string (drivers/base/core.c:2406)11 __dynamic_dev_dbg (lib/dynamic_debug.c:906)12 chaoskey_release (drivers/usb/misc/chaoskey.c:323)13 __fput (fs/file_table.c:510)14 fput_close_sync (fs/file_table.c:615)15 __x64_sys_close (fs/open.c:1507 fs/open.c:1492 fs/open.c:1492)16 do_syscall_64 (arch/x86/entry/syscall_64.c:63 arch/x86/entry/syscall_64.c:94)17 entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:121)The driver's last reference to the interface structure is dropped in
the chaoskey_free() routine, so the code must not use the interface --
even in a debugging statement -- after that routine returns.
(Exception: If we know that another reference is held by someone else,
such as the device core while the disconnect routine runs, there's no
problem. Thanks to Johan Hovold for pointing this out.)
Since the bad access is part of an unimportant debugging statement,
we can fix the problem simply by removing the whole statement.
AI 심층 분석
공격 시나리오 · 재현 가능한 PoC 페이로드 · 즉시 적용 가능한 차단 패치를 한 번에 받아 보세요. 보안 운영팀이 그대로 점검·티켓팅에 쓸 수 있는 형태로 정리해 드립니다.
참고 자료 8
링크 내용 불러오는 중…