In the Linux kernel, the following vulnerability has been resolved: can: dev: can_restart: fix use after free bug After calling netif_rx_ni(skb), dereferencing skb is unsafe. Especially, the can_frame cf which aliases skb memory is accessed after the netif_rx_ni() in: stats->rx_bytes += cf->len; Reordering the lines solves the issue.
In the Linux kernel, the following vulnerability has been resolved: can: dev: can_restart: fix use after free bug After calling netif_rx_ni(skb), dereferencing skb is unsafe. Especially, the can_frame cf which aliases skb memory is accessed after the netif_rx_ni() in: stats->rx_bytes += cf->len; Reordering the lines solves the issue.
Linux Linux, linux kernel의 현재 전체 버전이 공식 영향 범위(Linux Linux, linux kernel >= 39549eef3587f1c1e8c65c88a2400d10fd30ea17 < 260925a0b7d2da5449f8ecfd02c1405e0c8a45b8, >= 39549eef3587f1c1e8c65c88a2400d10fd30ea17 < bbc6847b9b8978b520f62fbc7c68c54ef0f8d282, >= 39549eef3587f1c1e8c65c88a2400d10fd30ea17 < 92668d28c7e6a7a2ba07df287669ffcdf650c421, >= 39549eef3587f1c1e8c65c88a2400d10fd30ea17 < 08ab951787098ae0b6c0364aeea7a8138226f234, >= 39549eef3587f1c1e8c65c88a2400d10fd30ea17 < ac48ef15826e83f4206c47add61072e8fc76d328, >= 39549eef3587f1c1e8c65c88a2400d10fd30ea17 < 593c072b7b3c4d7044416eb039d9ad706bedd67a, >= 39549eef3587f1c1e8c65c88a2400d10fd30ea17 < 03f16c5075b22c8902d2af739969e878b0879c94, >= 2.6.31, >= 2.6.31 < 4.4.254, >= 4.5 < 4.9.254, >= 4.10 < 4.14.218, >= 4.15 < 4.19.171, >= 4.20 < 5.4.93, >= 5.5 < 5.10.11, 5.11)에 포함되는지 확인합니다. OS를 선택하면 해당 OS의 제품·패키지·KB·APAR 확인 명령만 표시됩니다.
조치방안
구조화된 수정 버전 값(4.4.254, 4.9.254, 4.14.218, 4.19.171, 5.4.93, 5.10.11)은 참고용입니다. 공급사 공식 보안 권고에서 제품·에디션·설치 방식별 수정 기준을 확인한 뒤 적용합니다.
조치 후 확인사항
패치 후 같은 명령으로 전체 버전을 다시 확인해 Linux Linux, linux kernel 4.4.254, 4.9.254, 4.14.218, 4.19.171, 5.4.93, 5.10.11 기준을 충족하는지 확인합니다. 이어서 메모리 손상 관련 오류·공격 흔적이 새로 발생하지 않는지 확인합니다.