🔍 CVE-2025-21726

7.8
CVSS Score
HIGH
2025-02-27
2026-10-15 02:17
✅ 완료

🇰🇷 한글 설명

Linux 커널의 padata subsystem에서 reorder_work 처리 중 race condition으로 인해 pd(padata) 객체가 해제된 후 접근(Use-After-Free)되는 취약점. 멀티스레드 환경에서 참조 카운팅 오류로 발생하며 커널 패닉을 초래할 수 있습니다.

💡 쉬운 설명

Linux 커널에서 암호화 작업을 병렬 처리할 때 메모리가 해제된 후 접근되는 문제입니다. 멀티코어 시스템에서 작업 조정자(reorder_work)가 해제된 메모리를 참조하여 시스템 충돌을 유발합니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: padata: avoid UAF for reorder_work Although the previous patch can avoid ps and ps UAF for _do_serial, it can not avoid potential UAF issue for reorder_work. This issue can happen just as below: crypto_request crypto_request crypto_del_alg padata_do_serial ... padata_reorder // processes all remaining // requests then breaks while (1) { if (!padata) break; ... } padata_do_serial // new request added list_add // sees the new request queue_work(reorder_work) padata_reorder queue_work_on(squeue->work) ... <kworker context> padata_serial_worker // completes new request, // no more outstanding // requests crypto_del_alg // free pd <kworker context> invoke_padata_reorder // UAF of pd To avoid UAF for 'reorder_work', get 'pd' ref before put 'reorder_work' into the 'serial_wq' and put 'pd' ref until the 'serial_wq' finish.

📍 영향받는 시스템

Linux 커널 (일반적으로 5.10 이상의 padata subsystem 사용 버전)

⚔️ 공격 벡터

로컬 공격자가 암호화 작업을 반복적으로 트리거하여 race condition 유발

🛡️ 대응 방법

커널을 패치된 버전으로 업그레이드 (padata의 참조 카운팅 메커니즘 수정 필요)

🔧 검증 코드

커널 버전이 표시되고 padata가 활성화(=y)되어 있으면 영향을 받는 구성입니다. 패치 여부는 kernel changelog를 확인하세요.

Shell / Script
uname -r && grep -i padata /boot/config-$(uname -r) 2>/dev/null | head -1

📊 CVSS Vector String

CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

💻 영향받는 소프트웨어

Linux Kernel