In the Linux kernel, the following vulnerability has been resolved: tee: optee: prevent use-after-free when the client exits before the sup
위협 신호 · CVSS · EPSS · KEV
이론적 심각도 점수
30일 내 악용 확률 예측
실측 악용 기록 없음
별도 긴급 패치 불필요 — 정기 시스템 업그레이드 주기에 맞춰 조치
CVSS 벡터 · 메트릭
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H약점 (CWE)
- CWE-416
Use-After-Free — 해제된 메모리를 다시 사용해 충돌·코드 실행 유발.
상세 설명
In the Linux kernel, the following vulnerability has been resolved:
tee: optee: prevent use-after-free when the client exits before the supplicant
Commit 70b0d6b0a199 ("tee: optee: Fix supplicant wait loop") made the
client wait as killable so it can be interrupted during shutdown or
after a supplicant crash. This changes the original lifetime expectations:
the client task can now terminate while the supplicant is still processing
its request.
If the client exits first it removes the request from its queue and
kfree()s it, while the request ID remains in supp->idr. A subsequent
lookup on the supplicant path then dereferences freed memory, leading to
a use-after-free.
Serialise access to the request with supp->mutex:
- Hold supp->mutex in optee_supp_recv() and optee_supp_send() while
looking up and touching the request. - Let optee_supp_thrd_req() notice that the client has terminated and
signal optee_supp_send() accordingly.
With these changes the request cannot be freed while the supplicant still
has a reference, eliminating the race.
AI 심층 분석
공격 시나리오 · 재현 가능한 PoC 페이로드 · 즉시 적용 가능한 차단 패치를 한 번에 받아 보세요. 보안 운영팀이 그대로 점검·티켓팅에 쓸 수 있는 형태로 정리해 드립니다.
영향받는 제품·버전
- linux linux_kernel5.4.291 - 5.5linux
- linux linux_kernel5.10.235 - 5.10.259linux
- linux linux_kernel5.15.179 - 5.15.210linux
- linux linux_kernel6.1.130 - 6.1.176linux
- linux linux_kernel6.6.80 - 6.6.143linux
- linux linux_kernel6.12.17 - 6.12.94linux
- linux linux_kernel6.13.5 - 6.14linux
- linux linux_kernel6.14.1 - 6.18.36linux
- linux linux_kernel6.19 - 7.0.13linux
- linux linux_kernellinux
- linux linux_kernellinux
- linux linux_kernellinux
- linux linux_kernellinux
- linux linux_kernellinux
- linux linux_kernellinux
- linux linux_kernellinux
- linux linux_kernellinux
- linux linux_kernellinux
- linux linux_kernellinux
- linux linux_kernellinux
영향받는 구성 (CPE) 12
- linux linux_kernel≥ 5.4.291 < 5.5cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
- linux linux_kernel 6.14cpe:2.3:o:linux:linux_kernel:6.14:-:*:*:*:*:*:*
- linux linux_kernel 6.14cpe:2.3:o:linux:linux_kernel:6.14:rc4:*:*:*:*:*:*
- linux linux_kernel 6.14cpe:2.3:o:linux:linux_kernel:6.14:rc5:*:*:*:*:*:*
- linux linux_kernel 6.14cpe:2.3:o:linux:linux_kernel:6.14:rc6:*:*:*:*:*:*
- linux linux_kernel 6.14cpe:2.3:o:linux:linux_kernel:6.14:rc7:*:*:*:*:*:*
- linux linux_kernel 7.1cpe:2.3:o:linux:linux_kernel:7.1:rc1:*:*:*:*:*:*
- linux linux_kernel 7.1cpe:2.3:o:linux:linux_kernel:7.1:rc2:*:*:*:*:*:*
- linux linux_kernel 7.1cpe:2.3:o:linux:linux_kernel:7.1:rc3:*:*:*:*:*:*
- linux linux_kernel 7.1cpe:2.3:o:linux:linux_kernel:7.1:rc4:*:*:*:*:*:*
- linux linux_kernel 7.1cpe:2.3:o:linux:linux_kernel:7.1:rc5:*:*:*:*:*:*
- linux linux_kernel 7.1cpe:2.3:o:linux:linux_kernel:7.1:rc6:*:*:*:*:*:*
참고 자료 8
링크 내용 불러오는 중…