🇰🇷 한글 설명
Linux 커널의 ASoC sti 드라이버에서 regmap_field 객체가 초기화 시 할당된 후 드라이버 제거 시 적절히 해제되지 않는 취약점이 발견되었습니다. 이로 인해 드라이버가 제거될 때 리소스 누수가 발생할 수 있으며, 이를 해결하기 위해 devm_regmap_field_alloc()을 사용하여 장치의 수명 주기에 따라 자동으로 관리되도록 수정되었습니다.
💡 쉬운 설명
컴퓨터 부품을 제어하는 프로그램이 사용이 끝난 뒤에도 메모리 자원을 반환하지 않고 계속 붙잡고 있는 문제입니다. 이 문제가 반복되면 시스템의 메모리가 부족해질 수 있습니다.
🇺🇸 원문 (English)
In the Linux kernel, the following vulnerability has been resolved:
ASoC: sti: use managed regmap_field allocations
The regmap_field objects allocated at player init are never freed and
may leak resources if the driver is removed.
Switch to devm_regmap_field_alloc() to automatically limit the lifetime
of the allocations the lifetime of the device.
📍 영향받는 시스템
Linux kernel (ASoC sti driver 포함 버전)
⚔️ 공격 벡터
로컬 시스템에서 드라이버를 반복적으로 로드 및 언로드하여 메모리 누수를 유도하는 방식
🛡️ 대응 방법
해당 취약점이 수정된 최신 Linux 커널 버전으로 업데이트
🔧 검증 코드
출력된 커널 버전이 취약점이 해결된 패치 버전 이후인지 확인