🇰🇷 한글 설명
Linux 커널의 espintcp_close() 함수에서 cancel_work_sync() 호출 후에도 작업이 스케줄되는 레이스 컨디션. Delayed ACK 핸들러 등에서 espintcp_tx_work()가 호출되어 이미 해제된 메모리를 참조할 수 있음.
💡 쉬운 설명
Linux 커널의 네트워크 기능에서 타이밍 문제로 인해 이미 해제된 메모리에 접근할 수 있습니다. 이를 악용하면 시스템 충돌이나 권한 상승이 가능합니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
espintcp: Fix race condition in espintcp_close()
This issue was discovered during a code audit.
After cancel_work_sync() is called from espintcp_close(),
espintcp_tx_work() can still be scheduled from paths such as
the Delayed ACK handler or ksoftirqd.
As a result, the espintcp_tx_work() worker may dereference a
freed espintcp ctx or sk.
The following is a simple race scenario:
cpu0 cpu1
espintcp_close()
cancel_work_sync(&ctx->work);
espintcp_write_space()
schedule_work(&ctx->work);
To prevent this race condition, cancel_work_sync() is
replaced with disable_work_sync().
📍 영향받는 시스템
espintcp가 활성화된 Linux 커널 (IPsec over TCP를 사용하는 시스템)
⚔️ 공격 벡터
로컬 공격자가 네트워크 연결 종료 시 레이스 컨디션 악용 가능
🛡️ 대응 방법
Linux 배포판 보안 업데이트를 통한 커널 업그레이드 (disable_work_sync() 패치 적용)
🔧 검증 코드
현재 커널 버전 확인 후 공식 보안 공지(kernel.org, Red Hat, Canonical)에서 해당 버전에 CVE-2026-23239 패치 적용 여부 확인