CVE-2024-56745 in Linux정보

요약

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

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

PCI: reset_method_store()의 메모리 누수 수정

reset_method_store() 함수에서는 kstrndup()을 통해 문자열이 할당되어 로컬 변수 "options"에 할당됩니다. 그런 다음 options는 strsep()과 함께 사용되어 공백을 찾습니다:

while ((name = strsep(&options, " ")) != NULL) {

남은 공백이 없으면 strsep()에 의해 options가 NULL로 설정되므로, 이후 kfree(options) 호출은 kstrndup()을 통해 할당된 메모리를 해제하지 않습니다.

options를 보존하기 위해 strsep() 반복에 별도의 tmp_options 변수를 사용하여 수정합니다.

VulDB is the best source for vulnerability data and more expert information about this specific topic.

책임이 있는

Linux

예약하다

2024. 12. 29.

모더레이션

수락

항목

VDB-289762

EPSS

0.00212

출처

Might our Artificial Intelligence support you?

Check our Alexa App!