CVE-2026-46031
- 공개
- 2026년 5월 27일
- 수정
- 2026년 6월 17일
- 조회
- 0
- 상태
- Analyzed
개요
이 취약점이 무엇인지
In the Linux kernel, the following vulnerability has been resolved:
net: ks8851: Reinstate disabling of BHs around IRQ handler
If the driver executes ks8851_irq() AND a TX packet has been sent, then the driver enables TX queue via netif_wake_queue() which schedules TX softirq to queue packets for this device.
If CONFIG_PREEMPT_RT=y is set AND a packet has also been received by the MAC, then ks8851_rx_pkts() calls netdev_alloc_skb_ip_align() to allocate SKBs for the received packets. If netdev_alloc_skb_ip_align() is called with BH enabled, then local_bh_enable() at the end of netdev_alloc_skb_ip_align() will trigger the pending softirq processing, which may ultimately call the .xmit callback ks8851_start_xmit_par(). The ks8851_start_xmit_par() will try to lock struct ks8851_net_par .lock spinlock, which is already locked by ks8851_irq() from which ks8851_start_xmit_par() was called. This leads to a deadlock, which is reported by the kernel, including a trace listed below.
If CONFIG_PREEMPT_RT is not set, then since commit 0913ec336a6c0 ("net: ks8851: Fix deadlock with the SPI chip variant") the deadlock can also be triggered without received packet in the RX FIFO. The pending softirqs will be processed on return from spin_unlock_bh(&ks->statelock) in ks8851_irq(), which triggers the deadlock as well.
Fix the problem by disabling BH around critical sections, including the IRQ handler, thus preventing the net_tx_action() softirq from triggering during these critical sections. The net_tx_action() softirq is triggered once BH are re-enabled and at the end of the IRQ handler, once all the other IRQ handler actions have been completed.
__schedule from schedule_rtlock+0x1c/0x34 schedule_rtlock from rtlock_slowlock_locked+0x548/0x904 rtlock_slowlock_locked from rt_spin_lock+0x60/0x9c rt_spin_lock from ks8851_start_xmit_par+0x74/0x1a8 ks8851_start_xmit_par from netdev_start_xmit+0x20/0x44 netdev_start_xmit from dev_hard_start_xmit+0xd0/0x188 dev_hard_start_xmit from sch_direct_xmit+0xb8/0x25c sch_direct_xmit from __qdisc_run+0x1f8/0x4ec __qdisc_run from qdisc_run+0x1c/0x28 qdisc_run from net_tx_action+0x1f0/0x268 net_tx_action from handle_softirqs+0x1a4/0x270 handle_softirqs from __local_bh_enable_ip+0xcc/0xe0 __local_bh_enable_ip from __alloc_skb+0xd8/0x128 __alloc_skb from __netdev_alloc_skb+0x3c/0x19c __netdev_alloc_skb from ks8851_irq+0x388/0x4d4 ks8851_irq from irq_thread_fn+0x24/0x64 irq_thread_fn from irq_thread+0x178/0x28c irq_thread from kthread+0x12c/0x138 kthread from ret_from_fork+0x14/0x28
실제 악용 사례 · 아직 확인된 사례가 없어요
CISA의 KEV 카탈로그(실제 공격에 악용된 취약점 목록)에 아직 올라와 있지 않아요. 다만 ‘앞으로도 안전하다’는 뜻은 아니니 심각도와 EPSS를 함께 확인하세요.
패치 현황
어떤 버전이 위험하고, 몇 버전으로 올리면 되는지
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| linux_kernellinux | 6.1.91 | ≤ | 취약 | < | 6.1.175 | 6.1.175이상 |
| 6.6.31 | ≤ | 취약 | < | 6.6.140 | 6.6.140이상 | |
| 6.8.10 | ≤ | 취약 | < | 6.9 | 6.9이상 | |
| 6.9.1 | ≤ | 취약 | < | 6.12.86 | 6.12.86이상 | |
| 6.13 | ≤ | 취약 | < | 6.18.27 | 6.18.27이상 | |
| 6.19 | ≤ | 취약 | < | 7.0.4 | 7.0.4이상 | |
| 이 버전만 | 취약 | = | 6.9 | 벤더 공지 확인 | ||
NVD 분석 기준. 시작과 끝 사이 버전이 취약해요. ‘이 버전 이상으로’는 끝이 ‘<’로 적힌 경우에만 알 수 있어요.
할당 기관(CNA)이 적은 버전 11줄도 보기
| 제품 | 시작 | 끝 | 이 버전 이상으로 | |||
|---|---|---|---|---|---|---|
| LinuxLinux | 6.1.91 | ≤ | 취약 | < | 6.1.175 | 6.1.175이상 |
| 6.6.31 | ≤ | 취약 | < | 6.6.140 | 6.6.140이상 | |
| 6.8.10 | ≤ | 취약 | < | 6.9 | 6.9이상 | |
| 이 버전만 | 취약 | = | 6.9 | 벤더 공지 확인 | ||
| 최초 버전 | ≤ | 영향 없음 | < | 6.9 | — | |
| 6.1.175 | ≤ | 영향 없음 | ≤ | 6.1.* | — | |
| 6.6.140 | ≤ | 영향 없음 | ≤ | 6.6.* | — | |
| 6.12.86 | ≤ | 영향 없음 | ≤ | 6.12.* | — | |
| 6.18.27 | ≤ | 영향 없음 | ≤ | 6.18.* | — | |
| 7.0.4 | ≤ | 영향 없음 | ≤ | 7.0.* | — | |
| 7.1 | ≤ | 영향 없음 | ≤ | 최신 버전 | — | |
참고 링크
NVD에 등록된 외부 자료예요. 익스플로잇·벤더 공지·패치 순으로 먼저 보여줘요.
패치6
- git.kernel.org/stable/c/1962027a6d223f90df8b372929f9d1a8d321ad6a
- git.kernel.org/stable/c/21f1707a8e978558dcb11b053855521e32ac0eec
- git.kernel.org/stable/c/518040324067d8efaa2da1992297b7e7bf5640f4
- git.kernel.org/stable/c/5c9fcac3c872224316714d0d8914d9af16c76a6d
- git.kernel.org/stable/c/640a7631d31db87d5fa1b34cea44a99b6e78854b