In the Linux kernel, the following vulnerability has been resolved: kernfs: fix use-after-free in __kernfs_remove Syzkaller managed to trigger concurrent calls to kernfs_remove_by_name_ns() for the same file resulting in a KASAN detected use-after-free. The race occurs when the root node is freed during kernfs_drain(). To prevent this acquire an additional reference for the root of the tree that is removed before calling __kernfs_remove(). Found by syzkaller with the following reproducer (slab_nomerge is required): syz_mount_image$ext4(0x0, &(0x7f0000000100)='./file0\x00', 0x100000, 0x0, 0x...
In the Linux kernel, the following vulnerability has been resolved: kernfs: fix use-after-free in __kernfs_remove Syzkaller managed to trigger concurrent calls to kernfs_remove_by_name_ns() for the same file resulting in a KASAN detected use-after-free. The race occurs when the root node is freed during kernfs_drain(). To prevent this acquire an additional reference for the root of the tree that is removed before calling __kernfs_remove(). Found by syzkaller with the following reproducer (slab_nomerge is required): syz_mount_image$ext4(0x0, &(0x7f0000000100)='./file0\x00', 0x100000, 0x0, 0x...
Linux Linux, linux kernel의 현재 전체 버전이 공식 영향 범위(Linux Linux, linux kernel >= 45a140e587f3d32d8d424ed940dffb61e1739047 < 4dfd6a477a1525773469feaf3c514b2c0fef76b5, >= 45a140e587f3d32d8d424ed940dffb61e1739047 < 02eb35131050735332658029082f61515b7dfe38, >= 45a140e587f3d32d8d424ed940dffb61e1739047 < 028cf780743eea79abffa7206b9dcfc080ad3546, >= 45a140e587f3d32d8d424ed940dffb61e1739047 < c78b0dc6fb7fb389d674e491fd376388cdfb1d53, >= 45a140e587f3d32d8d424ed940dffb61e1739047 < 6f72a3977ba9d0e5491a5c01315204272e7f9c44, >= 45a140e587f3d32d8d424ed940dffb61e1739047 < 94d2643df1e70a4c310ebb5e2c493eec33df1a06, >= 45a140e587f3d32d8d424ed940dffb61e1739047 < af1b57cc39beca203559576b3046094fc9e5eb32, >= 45a140e587f3d32d8d424ed940dffb61e1739047 < 4abc99652812a2ddf932f137515d5c5a04723538, >= 3.14, >= 3.14 < 4.9.332, >= 4.10 < 4.14.298, >= 4.15 < 4.19.264, >= 4.20 < 5.4.223, >= 5.5 < 5.10.153, >= 5.11 < 5.15.77, >= 5.16 < 6.0.7)에 포함되는지 확인합니다. OS를 선택하면 해당 OS의 제품·패키지·KB·APAR 확인 명령만 표시됩니다.
조치방안
구조화된 수정 버전 값(4.9.332, 4.14.298, 4.19.264, 5.4.223, 5.10.153, 5.15.77, 6.0.7)은 참고용입니다. 공급사 공식 보안 권고에서 제품·에디션·설치 방식별 수정 기준을 확인한 뒤 적용합니다.
조치 후 확인사항
패치 후 같은 명령으로 전체 버전을 다시 확인해 Linux Linux, linux kernel 4.9.332, 4.14.298, 4.19.264, 5.4.223, 5.10.153, 5.15.77, 6.0.7 기준을 충족하는지 확인합니다. 이어서 메모리 손상 관련 오류·공격 흔적이 새로 발생하지 않는지 확인합니다.