CVE-2022-49916
- 공개
- 2025년 5월 2일
- 수정
- 2026년 6월 17일
- 조회
- 0
- 상태
- Modified
개요
이 취약점이 무엇인지
In the Linux kernel, the following vulnerability has been resolved:
rose: Fix NULL pointer dereference in rose_send_frame()
The syzkaller reported an issue:
KASAN: null-ptr-deref in range [0x0000000000000380-0x0000000000000387] CPU: 0 PID: 4069 Comm: kworker/0:15 Not tainted 6.0.0-syzkaller-02734-g0326074ff465 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/22/2022 Workqueue: rcu_gp srcu_invoke_callbacks RIP: 0010:rose_send_frame+0x1dd/0x2f0 net/rose/rose_link.c:101 Call Trace: <IRQ> rose_transmit_clear_request+0x1d5/0x290 net/rose/rose_link.c:255 rose_rx_call_request+0x4c0/0x1bc0 net/rose/af_rose.c:1009 rose_loopback_timer+0x19e/0x590 net/rose/rose_loopback.c:111 call_timer_fn+0x1a0/0x6b0 kernel/time/timer.c:1474 expire_timers kernel/time/timer.c:1519 [inline] __run_timers.part.0+0x674/0xa80 kernel/time/timer.c:1790 __run_timers kernel/time/timer.c:1768 [inline] run_timer_softirq+0xb3/0x1d0 kernel/time/timer.c:1803 __do_softirq+0x1d0/0x9c8 kernel/softirq.c:571 [...] </IRQ>
It triggers NULL pointer dereference when 'neigh->dev->dev_addr' is called in the rose_send_frame(). It's the first occurrence of the `neigh` is in rose_loopback_timer() as `rose_loopback_neigh', and the 'dev' in 'rose_loopback_neigh' is initialized sa nullptr.
It had been fixed by commit 3b3fd068c56e3fbea30090859216a368398e39bf ("rose: Fix Null pointer dereference in rose_send_frame()") ever. But it's introduced by commit 3c53cd65dece47dd1f9d3a809f32e59d1d87b2b8 ("rose: check NULL rose_loopback_neigh->loopback") again.
We fix it by add NULL check in rose_transmit_clear_request(). When the 'dev' in 'neigh' is NULL, we don't reply the request and just clear it.
syzkaller don't provide repro, and I provide a syz repro like: r0 = syz_init_net_socket$bt_sco(0x1f, 0x5, 0x2) ioctl$sock_inet_SIOCSIFFLAGS(r0, 0x8914, &(0x7f0000000180)={'rose0\x00', 0x201}) r1 = syz_init_net_socket$rose(0xb, 0x5, 0x0) bind$rose(r1, &(0x7f00000000c0)=@full={0xb, @dev, @null, 0x0, [@null, @null, @netrom, @netrom, @default, @null]}, 0x40) connect$rose(r1, &(0x7f0000000240)=@short={0xb, @dev={0xbb, 0xbb, 0xbb, 0x1, 0x0}, @remote={0xcc, 0xcc, 0xcc, 0xcc, 0xcc, 0xcc, 0x1}, 0x1, @netrom={0xbb, 0xbb, 0xbb, 0xbb, 0xbb, 0x0, 0x0}}, 0x1c)
실제 악용 사례 · 아직 확인된 사례가 없어요
CISA의 KEV 카탈로그(실제 공격에 악용된 취약점 목록)에 아직 올라와 있지 않아요. 다만 ‘앞으로도 안전하다’는 뜻은 아니니 심각도와 EPSS를 함께 확인하세요.
패치 현황
어떤 버전이 위험하고, 몇 버전으로 올리면 되는지
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| linux_kernellinux | 4.9.327 | ≤ | 취약 | < | 4.9.333 | 4.9.333이상 |
| 4.14.292 | ≤ | 취약 | < | 4.14.299 | 4.14.299이상 | |
| 4.19.257 | ≤ | 취약 | < | 4.19.265 | 4.19.265이상 | |
| 5.4.212 | ≤ | 취약 | < | 5.4.224 | 5.4.224이상 | |
| 5.10.140 | ≤ | 취약 | < | 5.10.154 | 5.10.154이상 | |
| 5.15.64 | ≤ | 취약 | < | 5.15.78 | 5.15.78이상 | |
| 5.19.6 | ≤ | 취약 | < | 6.0.8 | 6.0.8이상 | |
| 이 버전만 | 취약 | = | 6.1 rc1 | 벤더 공지 확인 | ||
| 이 버전만 | 취약 | = | 6.1 rc2 | 벤더 공지 확인 | ||
| 이 버전만 | 취약 | = | 6.1 rc3 | 벤더 공지 확인 | ||
NVD 분석 기준. 시작과 끝 사이 버전이 취약해요. ‘이 버전 이상으로’는 끝이 ‘<’로 적힌 경우에만 알 수 있어요.
할당 기관(CNA)이 적은 버전 17줄도 보기
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| LinuxLinux | 4.9.327 | ≤ | 취약 | < | 4.9.333 | 4.9.333이상 |
| 4.14.292 | ≤ | 취약 | < | 4.14.299 | 4.14.299이상 | |
| 4.19.257 | ≤ | 취약 | < | 4.19.265 | 4.19.265이상 | |
| 5.4.212 | ≤ | 취약 | < | 5.4.224 | 5.4.224이상 | |
| 5.10.140 | ≤ | 취약 | < | 5.10.154 | 5.10.154이상 | |
| 5.15.64 | ≤ | 취약 | < | 5.15.78 | 5.15.78이상 | |
| 5.19.6 | ≤ | 취약 | < | 5.20 | 5.20이상 | |
| 이 버전만 | 취약 | = | 6.0 | 벤더 공지 확인 | ||
| 최초 버전 | ≤ | 영향 없음 | < | 6.0 | — | |
| 4.9.333 | ≤ | 영향 없음 | ≤ | 4.9.* | — | |
| 4.14.299 | ≤ | 영향 없음 | ≤ | 4.14.* | — | |
| 4.19.265 | ≤ | 영향 없음 | ≤ | 4.19.* | — | |
| 5.4.224 | ≤ | 영향 없음 | ≤ | 5.4.* | — | |
| 5.10.154 | ≤ | 영향 없음 | ≤ | 5.10.* | — | |
| 5.15.78 | ≤ | 영향 없음 | ≤ | 5.15.* | — | |
| 6.0.8 | ≤ | 영향 없음 | ≤ | 6.0.* | — | |
| 6.1 | ≤ | 영향 없음 | ≤ | 최신 버전 | — | |
참고 링크
NVD에 등록된 외부 자료예요. 익스플로잇·벤더 공지·패치 순으로 먼저 보여줘요.
패치8
- git.kernel.org/stable/c/01b9c68c121847d05a4ccef68244dadf82bfa331
- git.kernel.org/stable/c/3e2129c67daca21043a26575108f6286c85e71f6
- git.kernel.org/stable/c/5b46adfbee1e429f33b10a88d6c00fa88f3d6c77
- git.kernel.org/stable/c/a601e5eded33bb88b8a42743db8fef3ad41dd97e
- git.kernel.org/stable/c/b13be5e852b03f376058027e462fad4230240891