🔍 CVE-2026-98953

0.0
CVSS Score
UNKNOWN
2026-10-23
2026-10-23 13:17
✅ 완료

🇰🇷 한글 설명

Linux 커널 devlink 서브시스템에서 중첩 devlink 인스턴스의 알림 작업이 이미 대기 중일 때 schedule_delayed_work() 반환값을 무시하여 devlink_rel 객체와 참조 카운트가 누수되는 문제입니다. 중첩 인스턴스를 반복적으로 등록/해제하면 메모리와 인덱스가 계속 소모됩니다.

💡 쉬운 설명

리눅스 커널 내부에서 같은 작업이 중복 예약될 때 사용하던 참조가 정리되지 않아 메모리가 조금씩 새어 나갑니다. 시스템을 오래 운영하거나 가상화 장치를 자주 생성·제거하면 메모리 부족 문제로 이어질 수 있습니다.

🇺🇸 원문 (English)

In the Linux kernel, the following vulnerability has been resolved: devlink: fix devlink_rel reference leak when notify work is pending devlink_rel_nested_in_notify_work_schedule() takes a reference on the devlink_rel for the notify work and then queues the work, ignoring the return value of schedule_delayed_work(). If the work is already pending, nothing new is queued, the work runs only once and drops only one reference, so the extra one is leaked together with the devlink_rel and its index in devlink_rels. This is easy to hit. devl_register() of a nested instance queues the work, and if the instance is unregistered before the work has run, devlink_rel_put() queues it again while it is still pending. The work also keeps rescheduling itself for as long as the parent devlink lock cannot be taken, which widens the window. Registering and unregistering a nested devlink instance 100 times while holding the parent lock leaks all 100 devlink_rel objects. The reschedule path in devlink_rel_nested_in_notify_work() has the same problem: if the work was queued again while it was running, the reference it holds is never dropped. Drop the reference in both places when the work was already pending. The pending work holds its own reference, so this can not be the last one.

📍 영향받는 시스템

수정 전 Linux 커널 (devlink 중첩 인스턴스를 사용하는 환경, 정확한 영향 버전은 공지 확인 필요)

⚔️ 공격 벡터

권한이 있는 로컬 사용자가 중첩 devlink 인스턴스를 반복 등록·해제하여 커널 메모리를 고갈시키는 서비스 거부 형태로 악용 가능

🛡️ 대응 방법

커널을 CVE-2026-98953 수정이 포함된 최신 안정 버전으로 업데이트하고 재부팅

🔧 검증 코드

출력된 커널 버전을 배포판 보안 공지 또는 커널 stable 저장소의 수정 커밋 포함 여부와 대조하여, 수정된 버전 이상이면 패치가 적용된 것입니다.

Shell / Script
uname -r

💻 영향받는 소프트웨어

Linux Kernel