🇰🇷 한글 설명
Linux 커널의 staging/greybus/uart 드라이버에서 TTY 사용 후 해제(Use-After-Free) 취약점이 발견되었습니다. 사용자가 TTY를 계속 열어둘 수 있는 상황에서 드라이버가 구조체를 조기에 해제하여 발생하며, tty-port 참조 카운터를 사용하여 수명 주기를 관리하도록 수정되었습니다.
💡 쉬운 설명
장치가 연결 해제된 후에도 프로그램이 해당 장치를 계속 사용하려고 할 때 발생하는 오류입니다. 이로 인해 시스템이 충돌하거나 해커가 시스템 권한을 탈취할 위험이 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
staging: greybus: uart: fix tty use after free
User space can hold a tty open indefinitely and tty drivers must not
release the underlying structures until the last user is gone.
Switch to using the tty-port reference counter to manage the life time
of the greybus tty state to avoid use after free after a disconnect.
📍 영향받는 시스템
Linux Kernel (greybus uart driver 포함 버전)
⚔️ 공격 벡터
사용자 공간(User space)에서 TTY를 열어둔 상태로 장치 연결을 해제하여 메모리 오류 유도
🛡️ 대응 방법
Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인