In the Linux kernel, the following vulnerability has been resolved: phylib: fix potential use-after-free Commit bafbdd527d56 ("phylib: Add device reset GPIO support") added call to phy_device_reset(phydev) after the put_device() call in phy_detach(). The comment before the put_device() call says that the phydev might go away with put_device(). Fix potential use-after-free by calling phy_device_reset() before put_device().
In the Linux kernel, the following vulnerability has been resolved: phylib: fix potential use-after-free Commit bafbdd527d56 ("phylib: Add device reset GPIO support") added call to phy_device_reset(phydev) after the put_device() call in phy_detach(). The comment before the put_device() call says that the phydev might go away with put_device(). Fix potential use-after-free by calling phy_device_reset() before put_device().
Linux Linux, linux kernel, linux kernel의 현재 전체 버전이 공식 영향 범위(Linux Linux, linux kernel, linux kernel >= bafbdd527d569c8200521f2f7579f65a044271be < 67d271760b037ce0806d687ee6057edc8afd4205, >= bafbdd527d569c8200521f2f7579f65a044271be < f39027cbada43b33566c312e6be3db654ca3ad17, >= bafbdd527d569c8200521f2f7579f65a044271be < bd024e36f68174b1793906c39ca16cee0c9295c2, >= bafbdd527d569c8200521f2f7579f65a044271be < aefaccd19379d6c4620269a162bfb88ff687f289, >= bafbdd527d569c8200521f2f7579f65a044271be < cb2fab10fc5e7a3aa1bb0a68a3abdcf3e37852af, >= bafbdd527d569c8200521f2f7579f65a044271be < cbda1b16687580d5beee38273f6241ae3725960c, >= 4.16, >= bafbdd527d56 < 67d271760b03, >= bafbdd527d56 < f39027cbada4, >= bafbdd527d56 < bd024e36f681, >= bafbdd527d56 < aefaccd19379, >= bafbdd527d56 < cb2fab10fc5e, >= bafbdd527d56 < cbda1b166875, >= 4.16 < 4.19.228, >= 4.20 < 5.4.176, >= 5.5 < 5.10.96, >= 5.11 < 5.15.19, >= 5.16 < 5.16.5, 5.17)에 포함되는지 확인합니다. OS를 선택하면 해당 OS의 제품·패키지·KB·APAR 확인 명령만 표시됩니다.
조치방안
구조화된 수정 버전 값(4.19.228, 5.4.176, 5.10.96, 5.15.19, 5.16.5)은 참고용입니다. 공급사 공식 보안 권고에서 제품·에디션·설치 방식별 수정 기준을 확인한 뒤 적용합니다.
조치 후 확인사항
패치 후 같은 명령으로 전체 버전을 다시 확인해 Linux Linux, linux kernel, linux kernel 4.19.228, 5.4.176, 5.10.96, 5.15.19, 5.16.5 기준을 충족하는지 확인합니다. 이어서 메모리 손상 관련 오류·공격 흔적이 새로 발생하지 않는지 확인합니다.