CVE 목록
High7.8유형: 운영체제

CVE-2022-49290

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

개요

이 취약점이 무엇인지

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

mac80211: fix potential double free on mesh join

While commit 6a01afcf8468 ("mac80211: mesh: Free ie data when leaving mesh") fixed a memory leak on mesh leave / teardown it introduced a potential memory corruption caused by a double free when rejoining the mesh:

ieee80211_leave_mesh() -> kfree(sdata->u.mesh.ie); ... ieee80211_join_mesh() -> copy_mesh_setup() -> old_ie = ifmsh->ie; -> kfree(old_ie);

This double free / kernel panics can be reproduced by using wpa_supplicant with an encrypted mesh (if set up without encryption via "iw" then ifmsh->ie is always NULL, which avoids this issue). And then calling:

$ iw dev mesh0 mesh leave $ iw dev mesh0 mesh join my-mesh

Note that typically these commands are not used / working when using wpa_supplicant. And it seems that wpa_supplicant or wpa_cli are going through a NETDEV_DOWN/NETDEV_UP cycle between a mesh leave and mesh join where the NETDEV_UP resets the mesh.ie to NULL via a memcpy of default_mesh_setup in cfg80211_netdev_notifier_call, which then avoids the memory corruption, too.

The issue was first observed in an application which was not using wpa_supplicant but "Senf" instead, which implements its own calls to nl80211.

Fixing the issue by removing the kfree()'ing of the mesh IE in the mesh join function and leaving it solely up to the mesh leave to free the mesh IE.

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

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

패치 현황

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

제품시작끝이 버전 이상으로
linux_kernellinux4.4.233≤취약<4.54.5이상
4.9.233≤취약<4.9.3094.9.309이상
4.14.192≤취약<4.14.2744.14.274이상
4.19.137≤취약<4.19.2374.19.237이상
5.4.56≤취약<5.4.1885.4.188이상
5.7.13≤취약<5.10.1095.10.109이상
5.11≤취약<5.15.325.15.32이상
5.16≤취약<5.16.185.16.18이상
5.17≤취약<5.17.15.17.1이상

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

할당 기관(CNA)이 적은 버전 17줄도 보기
제품시작끝이 버전 이상으로
LinuxLinux4.9.233≤취약<4.9.3094.9.309이상
4.14.192≤취약<4.14.2744.14.274이상
4.19.137≤취약<4.19.2374.19.237이상
5.4.56≤취약<5.4.1885.4.188이상
4.4.233≤취약<4.54.5이상
5.7.13≤취약<5.85.8이상
이 버전만취약=5.8벤더 공지 확인
최초 버전≤영향 없음<5.8—
4.9.309≤영향 없음≤4.9.*—
4.14.274≤영향 없음≤4.14.*—
4.19.237≤영향 없음≤4.19.*—
5.4.188≤영향 없음≤5.4.*—
5.10.109≤영향 없음≤5.10.*—
5.15.32≤영향 없음≤5.15.*—
5.16.18≤영향 없음≤5.16.*—
5.17.1≤영향 없음≤5.17.*—
5.18≤영향 없음≤최신 버전—

참고 링크

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