🔍 CVE-2025-68239

0.0
CVSS Score
UNKNOWN
2025-12-16
2026-10-15 02:18
✅ 완료

🇰🇷 한글 설명

Linux 커널의 binfmt_misc 구성 요소에서 open_exec()로 파일을 열 때 쓰기 권한을 제한하지만, 오류 발생 시 이를 복구하지 않고 파일을 닫는 문제가 발견되었습니다. 이로 인해 동일한 파일에 대한 후속 쓰기 작업이 실패할 수 있습니다. 수정 패치는 파일을 닫기 전 쓰기 권한을 다시 허용하도록 변경되었습니다.

💡 쉬운 설명

파일을 실행하는 과정에서 오류가 발생하면, 해당 파일에 다시 글을 쓸 수 없게 잠겨버리는 버그가 있었습니다. 이 버그 때문에 시스템이 정상적으로 파일을 수정하지 못하는 문제가 생길 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: binfmt_misc: restore write access before closing files opened by open_exec() bm_register_write() opens an executable file using open_exec(), which internally calls do_open_execat() and denies write access on the file to avoid modification while it is being executed. However, when an error occurs, bm_register_write() closes the file using filp_close() directly. This does not restore the write permission, which may cause subsequent write operations on the same file to fail. Fix this by calling exe_file_allow_write_access() before filp_close() to restore the write permission properly.

📍 영향받는 시스템

Linux Kernel (binfmt_misc 모듈을 사용하는 시스템)

⚔️ 공격 벡터

로컬 사용자가 binfmt_misc 설정을 통해 오류를 유발하여 특정 파일의 쓰기 권한을 비정상적으로 차단할 수 있음

🛡️ 대응 방법

Linux 커널을 최신 보안 패치가 적용된 버전으로 업데이트하십시오.

🔧 검증 코드

출력된 커널 버전이 해당 취약점이 해결된 패치 버전 이후인지 확인하십시오.

Shell / Script
uname -r

💻 영향받는 소프트웨어

Linux Kernel