In the Linux kernel, the following vulnerability has been resolved: media: dvbdev: adopts refcnt to avoid UAF dvb_unregister_device() is known that prone to use-after-free. That is, the cleanup from dvb_unregister_device() releases the dvb_device even if there are pointers stored in file->private_data still refer to it. This patch adds a reference counter into struct dvb_device and delays its deallocation until no pointer refers to the object.
In the Linux kernel, the following vulnerability has been resolved: media: dvbdev: adopts refcnt to avoid UAF dvb_unregister_device() is known that prone to use-after-free. That is, the cleanup from dvb_unregister_device() releases the dvb_device even if there are pointers stored in file->private_data still refer to it. This patch adds a reference counter into struct dvb_device and delays its deallocation until no pointer refers to the object.
Linux Linux, linux kernel의 현재 전체 버전이 공식 영향 범위(Linux Linux, linux kernel >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < ac521bbe3d00fa574e66a9361763f2b37725bc97, >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 219b44bf94203bd433aa91b7796475bf656348e5, >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 6d18b44bb44e1f4d97dfe0efe92ac0f0984739c2, >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 2abd73433872194bccdf1432a0980e4ec5273c2a, >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 88a6f8a72d167294c0931c7874941bf37a41b6dd, >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < a2f0a08aa613176c9688c81d7b598a7779974991, >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 9945d05d6693710574f354c5dbddc47f5101eb77, >= 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 < 0fc044b2b5e2d05a1fa1fb0d7f270367a7855d79, >= 2.6.12, < 4.14.303, >= 4.15 < 4.19.270, >= 4.20 < 5.4.229, >= 5.5 < 5.10.163, >= 5.11 < 5.15.86, >= 5.16 < 6.0.16, >= 6.1 < 6.1.2)에 포함되는지 확인합니다. OS를 선택하면 해당 OS의 제품·패키지·KB·APAR 확인 명령만 표시됩니다.
조치방안
구조화된 수정 버전 값(4.14.303, 4.19.270, 5.4.229, 5.10.163, 5.15.86, 6.0.16, 6.1.2)은 참고용입니다. 공급사 공식 보안 권고에서 제품·에디션·설치 방식별 수정 기준을 확인한 뒤 적용합니다.
조치 후 확인사항
패치 후 같은 명령으로 전체 버전을 다시 확인해 Linux Linux, linux kernel 4.14.303, 4.19.270, 5.4.229, 5.10.163, 5.15.86, 6.0.16, 6.1.2 기준을 충족하는지 확인합니다. 이어서 메모리 손상 관련 오류·공격 흔적이 새로 발생하지 않는지 확인합니다.