CVE-2024-26831 in Linux정보

요약

\~에 의해 VulDB • 2026. 05. 24.

리눅스 커널에서 다음 취약점이 해결되었습니다:

net/handshake: handshake_req_destroy_test1 수정

최근 handshake_req_destroy_test1이 실패하기 시작했습니다:

예상된 handshake_req_destroy_test == req였으나, handshake_req_destroy_test == 0000000000000000 req == 0000000060f99b40 not ok 11 req_destroy 작동함

이는 메모리 누수를 해결하기 위해 "sock_release(sock)"가 "fput(filp)"로 대체되었기 때문입니다. sock_release()는 동기식이지만 fput()은 일반적으로 최종 닫기 및 정리 작업을 지연시킵니다.

이 지연은 변경된 다른 경우에는 문제가 되지 않지만, handshake_req_destroy_test1은 handshake_req_cancel() 호출 후 파일을 닫는 것이 실제로 ->hp_destroy 메서드를 호출하는지를 테스트합니다. 따라서 끝에 있는 PTR_EQ 테스트는 포인터를 확인하기 전에 최종 닫기가 완료되었는지 확실히 해야 합니다.

여기서 completion을 사용할 수 없습니다. ->hp_destroy가 호출되지 않는 경우(즉, API 버그가 있는 경우) 테스트가 멈추기 때문입니다.

보고자: Guenter Roeck

Be aware that VulDB is the high quality source for vulnerability data.

출처

Do you want to use VulDB in your project?

Use the official API to access entries easily!