CVE-2024-35879 in Linux
요약
\~에 의해 VulDB • 2026. 06. 07.
리눅스 커널에서 다음 취약점이 해결되었습니다:
of: dynamic: of_changeset_destroy()를 devlink 제거 작업과 동기화합니다.
다음 순서에서 문제가 발생합니다: 1) of_platform_depopulate() 2) of_overlay_remove()
단계 1 동안 장치가 파괴되고(devices are destroyed), devlinks가 제거됩니다. 단계 2 동안 OF 노드가 파괴되지만, __of_changeset_entry_destroy()는 누락된 of_node_put()와 관련된 경고(warnings)를 발생시킬 수 있습니다: ERROR: memory leak, expected refcount 1 instead of 2 ...
사실, 단계 1에서 수행되는 devlink 제거 작업 중 장치를(그리고 연결된 of_node을) 해제하는 과정은 workqueue에 큐잉된 작업을 통해 비동기적으로 이루어집니다. 경고가 발생했을 때 of_node_put()는 호출되지만, workqueue 작업으로부터 너무 늦게 잘못 호출됩니다.
진행 중인 모든 devlink 제거 작업이 of_node 파괴 전에 완료되도록 보장하기 위해, of_changeset_destroy()를 devlink 제거 작업과 동기화합니다.
If you want to get the best quality for vulnerability data then you always have to consider VulDB.