CVE 목록
Medium5.5유형: 운영체제

CVE-2022-49195

공개
2025년 2월 26일
수정
2026년 6월 17일
조회
0
상태
Analyzed
관련 내용 구글 검색하기한국어English
번역 대상이 아니에요. 원문(영어)만 제공돼요.
5.5Medium

개요

이 취약점이 무엇인지

In the Linux kernel, the following vulnerability has been resolved:

net: dsa: fix panic on shutdown if multi-chip tree failed to probe

DSA probing is atypical because a tree of devices must probe all at once, so out of N switches which call dsa_tree_setup_routing_table() during probe, for (N - 1) of them, "complete" will return false and they will exit probing early. The Nth switch will set up the whole tree on their behalf.

The implication is that for (N - 1) switches, the driver binds to the device successfully, without doing anything. When the driver is bound, the ->shutdown() method may run. But if the Nth switch has failed to initialize the tree, there is nothing to do for the (N - 1) driver instances, since the slave devices have not been created, etc. Moreover, dsa_switch_shutdown() expects that the calling @ds has been in fact initialized, so it jumps at dereferencing the various data structures, which is incorrect.

Avoid the ensuing NULL pointer dereferences by simply checking whether the Nth switch has previously set "ds->setup = true" for the switch which is currently shutting down. The entire setup is serialized under dsa2_mutex which we already hold.

실제 악용 사례 · 아직 확인된 사례가 없어요

CISA의 KEV 카탈로그(실제 공격에 악용된 취약점 목록)에 아직 올라와 있지 않아요. 다만 ‘앞으로도 안전하다’는 뜻은 아니니 심각도와 EPSS를 함께 확인하세요.

패치 현황

어떤 버전이 위험하고, 몇 버전으로 올리면 되는지

제품시작끝이 버전 이상으로
linux_kernellinux5.15.1≤취약<5.15.335.15.33이상
5.16≤취약<5.16.195.16.19이상
5.17≤취약<5.17.25.17.2이상
이 버전만취약=5.15벤더 공지 확인
이 버전만취약=5.15 rc3벤더 공지 확인
이 버전만취약=5.15 rc4벤더 공지 확인
이 버전만취약=5.15 rc5벤더 공지 확인
이 버전만취약=5.15 rc6벤더 공지 확인
이 버전만취약=5.15 rc7벤더 공지 확인

NVD 분석 기준. 시작과 끝 사이 버전이 취약해요. ‘이 버전 이상으로’는 끝이 ‘<’로 적힌 경우에만 알 수 있어요.

할당 기관(CNA)이 적은 버전 6줄도 보기
제품시작끝이 버전 이상으로
LinuxLinux이 버전만취약=5.15벤더 공지 확인
최초 버전≤영향 없음<5.15—
5.15.33≤영향 없음≤5.15.*—
5.16.19≤영향 없음≤5.16.*—
5.17.2≤영향 없음≤5.17.*—
5.18≤영향 없음≤최신 버전—

참고 링크

NVD에 등록된 외부 자료예요. 익스플로잇·벤더 공지·패치 순으로 먼저 보여줘요.