총 16,343건
CVE-2026-74506
번역 확인 필요2026년 8월 15일리눅스 커널에서 다음 취약점이 해결되었다: afs: 메시지 전송 중 UAF 수정 af s_make_call()에는 비동기 호출 수신과 파괴 사이에 경쟁이 있다. call->write_iter가 설정되지 않은 채로 디스패치된 호출이 있으면 (FS.StoreData에 대한 데이터 콘텐츠를 지정하는 데 사용) 첫 번째 rxrpc_kernel_send_data()가 msghdr에서 MSG_MORE를 설정하지 못한다. rxrpc_send_data()가 마지막 요청 패킷을 큐에 넣으면 응답이 언제든지 도착하여 호출이 완료되고 반환될 수 있다. 그러나 afs_make_call()은 call이 ->write_iter를 처리해야 한다고 다시 보는데, 이는 호출에 대한 고유 참조가 있을 때만 가능하다. 동기 호출인 경우에는 그럴 수 있지만, FS.FetchData와 같은 비동기 호출에서는 그렇지 않다. 또한 비동기 호출이 전송 중인데 호출이 어떤 방식으로 실패하는 경우(예: 서버에서 중단되는 경우)에도 afs_make_call()이 호출의 rxrpc 전송 실패를 이유로 중단하려고 시도하는 UAF가 발생할 수 있다. 이때 rxrpc의 비동기 알림으로 인해 afs_call이 해제될 수 있다. generic/650은 무작위로 CPU를 오프라인으로 빼는 등의 작동을 하며,_call->write_iter를 확인하기 전에 afs_make_call()이 해제될 가능성이 큰 상당한 지연을 유발할 수 있고, 그로 인해 UAF가 발생한다( KASAN에 의해 포착 ). BUG: KASAN: slab-use-after-free in afs_make_call+0x1c90/0x2210 [kafs] fsstress/1409의 addr ffff888035e050e8에서 크기 8 읽기 이 문제를 afs_make_op_call()이 op->call에 고유 참조를 주고 call을 넘겨받아 afs_make_call()이 반환될 때 참조를 드롭하는 방식으로 수정하여 해결한다. 또한 이것은 afs_make_call() 함수가 이제 call에 대한 참조를 잃지 않는다는 것을 의미한다.
CVE-2026-74505
2026년 8월 15일In the Linux kernel, the following vulnerability has been resolved: ALSA: 6fire: Fix UAF at error handling during probe Although 6fire driver had a few fixes for dealing with the early error handling during the probe phase, it forgot a pending URB before freeing the resources, which may lead to a UAF. This patch addresses it by doing the almost same cleanup procedure like the normal disconnect phase at the error path.
CVE-2026-74504
2026년 8월 15일In the Linux kernel, the following vulnerability has been resolved: ALSA: seq: Fix division by zero in initialize_timer() A userspace-driven ALSA timer (SND_UTIMER) lets an unprivileged user set the backing snd_timer's hardware resolution to an arbitrary 64-bit value via SNDRV_TIMER_IOCTL_CREATE. snd_utimer_create() only rejects zero. When such a timer is bound to a sequencer queue, initialize_timer() computes the tick period as tmr->ticks = 1000000000 / (r * freq); where r is that user-controlled resolution and freq is the sequencer update rate in Hz, clamped to MIN_FREQUENCY..MAX_FREQUENCY (10..6250). A resolution of 2^63 makes the 64-bit product r * freq wrap to zero for any even freq, including DEFAULT_FREQUENCY (1000), so the division faults with a divide-by-zero. The division runs under tmr->lock with interrupts disabled, so the oops leaves the spinlock held and hangs the CPU. It is reachable by an unprivileged user with access to /dev/snd/timer and /dev/snd/seq. Oops: divide error: 0000 [#1] SMP KASAN PTI CPU: 7 UID: 1000 PID: 456 Comm: alsa_seq_utimer Not tainted 7.2.0-rc4+ RIP: 0010:initialize_timer.constprop.0+0x20a/0x2d0 snd_seq_timer_start+0x15e/0x2b0 snd_seq_control_queue+0x56f/0xba0 snd_seq_write+0x3e0/0x730 Reject an overflowing product with check_mul_overflow() and fall back to a single tick, which also avoids feeding a wrapped-but-nonzero divisor (e.g. 2^63 * 1000 mod 2^64 == 0, or other resolutions wrapping to a small value) into the period computation.
CVE-2026-74503
2026년 8월 15일리눅스 커널에서 다음 취약점이 해결되었습니다: ALSA: timer: close가 완료된 후에 한 번 SNDRV_TIMER_IFLG_DEAD를 지웁니다 snd_timer_close_locked()은 인스턴스에 SNDRV_TIMER_IFLG_DEAD를 표시하고, 이미 표시되어 있으면 조기 종료를 반환하지만, 그 플래그는 다시 지워지지 않습니다. 완료된 close는 remove_slave_links()로 끝나며, timeri->timer가 NULL로 남아 있으므로 두 번째 close는 timer == NULL 경로를 통해 이미 무해합니다. 조기 반환은 사이에 다시 열렸던 인스턴스에서만 도달할 수 있습니다. 이런 인스턴스의 경우 close는 아무 것도 unlink하지 않으므로 snd_timer_instance_free()가 timer->open_list_head에 남아 있는 객체를 해제하고, slave 키로 열었던 경우 snd_timer_master_list에도 남아 있으며, 채택된 모든 슬레이브를 여전히 소유하고 있고, 타이머 및 모듈 참조를 여전히 보유합니다. snd_seq_timer_open()은 정확히 그와 같은 인스턴스를 다시 열며: 이미 snd_timer_close_locked()가 내부적으로 실행된 실패 후 같은 객체에 대한 대체 열기(fallback open)를 재시도합니다. /dev/snd/timer 및 /dev/snd/seq에 대한 비권한 사용자가 그 실패를 강제할 수 있는데, 왜냐하면 snd_timer_check_master()가 대기 중인 슬레이브가 새 마스터의 (slave_class, slave_id) 키와 대상 타이머가 최대 인스턴스에 도달했을 때 -EBUSY를 반환하고, dev_class = SNDRV_TIMER_CLASS_SLAVE인 SNDRV_TIMER_IOCTL_SELECT는 호출자 제공 dev_sclass를 유지하므로 시퀀서 큐의 키를 위조할 수 있기 때문입니다. 해제된 인스턴스는 이후 timer에 대해 추가로 수행되는 snd_timer_open()에서 역참조되고, snd_timer_check_slave()에 의해, 그리고 /proc/asound/timers에서 잘못된 ti->owner 포인터로 오류를 발생시킵니다. 플래그는 close가 진행 중인 동안에만 보이기만 하면 됩니다. 다른 모든 사용자는 그것이 필요합니다. 인스턴스가 모든 리스트에서 벗어나면 remove_slave_links()에서 같은 timer->lock 아래에서 지웁니다.
CVE-2026-74502
2026년 8월 15일In the Linux kernel, the following vulnerability has been resolved: ALSA: ump: fix double free of out_cvts on rawmidi error snd_ump_attach_legacy_rawmidi() allocates the legacy conversion array ump->out_cvts and, on the snd_rawmidi_new() error path, frees it with kfree() but leaves ump->out_cvts pointing at the freed memory. When the endpoint is later torn down, snd_ump_endpoint_free() frees ump->out_cvts a second time, resulting in a double free. The host snd-usb-audio driver attaches the legacy rawmidi for any USB MIDI 2.0 (UMP) device, so a device that makes snd_rawmidi_new() fail reaches this path on enumeration. Clear ump->out_cvts after freeing it on the error path so it is not freed again during teardown. Discovered by XBOW, triaged by Baul Lee <[email protected]>
CVE-2026-74501
2026년 8월 15일In the Linux kernel, the following vulnerability has been resolved: ALSA: usb-audio: fix use-after-free in ump_to_endpoint() create_midi2_ump() registers a card-owned snd_ump_endpoint and stores a back-pointer to its per-interface snd_usb_midi2_ump object in ump->private_data, but it never installs an ump->private_free hook and never clears that pointer. If a later step of snd_usb_midi_v2_create() fails, its error path calls free_all_midi2_umps(), which kfree()s the snd_usb_midi2_ump object while the already-registered endpoint keeps pointing at it. The created /dev/snd/umpC*D* node stays exposed, so the first operation of any UMP open, ump_to_endpoint(), dereferences the dangling ump->private_data and reads rmidi->eps[dir] out of freed memory. A malicious USB MIDI 2.0 device that makes creation fail after the endpoint is registered can thus trigger a slab use-after-free read on a subsequent open of the UMP node. Clear the endpoint's back-pointer before freeing the object, and let ump_to_endpoint() tolerate a NULL private_data so the open/close/trigger callbacks fail cleanly (their callers already handle a NULL endpoint) instead of dereferencing a stale pointer. Discovered by XBOW, triaged by Baul Lee <[email protected]>
CVE-2026-74500
2026년 8월 15일In the Linux kernel, the following vulnerability has been resolved: ALSA: usb-audio: fix stack info leak in RME Digiface status snd_rme_digiface_read_status() reads a four-word status block from the device into an uninitialised on-stack __le32 buf[4] and, whenever the vendor control-IN transfer does not return a negative error, copies all four words into the caller's status[]. snd_usb_ctl_msg() copies the full requested size back into the caller's buffer regardless of how many bytes the data stage actually delivered: buf = kmemdup(data, size, GFP_KERNEL); err = usb_control_msg(dev, pipe, request, requesttype, value, index, buf, size, timeout); memcpy(data, buf, size); usb_control_msg() returns the transferred length on a short control-IN, which is a non-negative value, and writes only that many bytes. The remainder of the copy back is the kmemdup()ed image of the caller's buffer, so a device answering with a short data stage leaves the trailing words of buf[] holding leftover kernel stack. The only guard in the caller is err < 0, so those words are stored into status[]. They then reach user space: snd_rme_digiface_get_status_val() selects a 16-bit halfword of status[] per the control's reg/mask, and the eight Digiface status controls together expose the whole 16-byte frame to an unprivileged reader of /dev/snd/controlC*. Zero-initialise the buffer so a short read yields zeros instead of stack residue. This mirrors snd_rme_get_status1(), which already clears its output word before the same kind of vendor read. Discovered by XBOW, triaged by Baul Lee <[email protected]>
CVE-2026-74499
2026년 8월 15일In the Linux kernel, the following vulnerability has been resolved: ALSA: usb-audio: fix OOB write in snd_usbmidi_akai_output() snd_usbmidi_akai_output() computes its fill-loop bound buf_end = ep->max_transfer - MAX_AKAI_SYSEX_LEN - 1; as a signed int, so a small device-advertised bulk-OUT max_transfer makes buf_end negative. The loop guard then compares the u32 urb->transfer_buffer_length against that negative int: the usual arithmetic conversion turns buf_end into a large unsigned value, so the guard stays true and each iteration keeps appending SysEx framing and payload bytes past the end of the URB transfer buffer, which is only max_transfer bytes long. A USB device that advertises a tiny bulk-OUT endpoint can therefore trigger an attacker-length- and content-controlled heap out-of-bounds write when a process writes to the created /dev/snd/midiC*D* node. Return early when there is no room for even one SysEx, so the loop is never entered with a bound that would wrap. The loop is the last statement of the function, so bailing out is equivalent to it not running. Discovered by XBOW, triaged by Baul Lee <[email protected]>
CVE-2026-74498
2026년 8월 15일In the Linux kernel, the following vulnerability has been resolved: ALSA: usb-audio: Fix DMA buffer out-of-bounds write when fill_max is set When a USB audio endpoint requests full packet transfers via the fill_max descriptor flag, data_ep_set_params() promotes ep->curpacksize to ep->maxpacksize. However, maxsize is left at the original sample-rate derived value. Since u->buffer_size is allocated as maxsize * packets, the resulting DMA buffer is far too small for the requested transfer length. When the USB host controller streams up to curpacksize bytes per packet, it writes past the end of the buffer via DMA, corrupting kernel heap memory. Update maxsize to curpacksize when fill_max is set so that the allocated DMA buffer size matches the actual transfer request size. [ changed to reassign maxsize only when ep->fill_max is set -- tiwai ]
CVE-2026-74497
2026년 8월 15일리눅스 커널에서 다음 취약점이 해결되었다: ALSA: usb-audio: 암시적 피드백 모드에서 프레임 크기 범위 제한 snd_usb_handle_sync_urb()는 수신된 동기화 패킷의 크기를 발신자의 스트라이드로 스케일링하고 결과를 out_packet->packet_size[i]에 직접 저장한다. 연결된 USB 디바이스가 과대 크기의 동기화 패킷을 보낼 경우 이 프레임 수가 ep->maxframesize를 넘길 수 있다. 제한되지 않은 프레임 수가 재생 엔드포인트 큐로 전파되어 엔드포인트의 하드웨어 프레임 한도를 넘는 패킷 전송을 유발할 수 있다. snd_usb_handle_sync_urb()에서 계산된 프레임 수를 ep->maxframesize와 비교해 과대 패킷이 재생 대기열에 진입하는 것을 방지한다.
CVE-2026-74496
2026년 8월 15일리눅스 커널에서 다음 취약점이 해결되었다: fou: fou_create()에서의 use-after-free 수정 fou_create()는 새 FOU 포트를 per-netns 목록에 추가하기 전에 sk_user_data를 통해 struct fou를 노출한다. fou_add_to_port_list()가 실패하면 에러 경로에서 fou를 sk_user_data를 통해 여전히 접근 가능한 상태에서 해제한다. 동시 수신이 fou_from_sock()에서 해제된 객체를 역참조할 수 있다. 이 순서 문제는 이전에 연결된 논의에서 이미 지적되었다. 로컬 포트 0이 요청될 때 실패 가능성이 있다. 각 소켓은 다른 임시 포트에 바인드되지만 fou_cfg_cmp()는 요청된 포트 0을 비교하고 이미 항목이 존재하면 -EALREADY를 보고한다. sk_user_data가 먼저 초기화되도록 fou를 해제하기 전에 터널 소켓을 해제하고, 동시 RCU 읽기를 보호하기 위해 kfree_rcu()로 회수를 지연시킨다. 이는 fou_release()의 생애 주기 처리와 일치한다.
CVE-2026-74495
2026년 8월 15일Linux 커널에서 다음 취약점이 해결되었다: igbvf: TX DMA 오류 정리 시 누수 수정 TX 버퍼 매핑 중 오류가 발생하면, 드라이버는 해당 skb에 대해 이미 매핑된 모든 버퍼를 언매핑해야 한다. count는 각 프래그먼트 매핑 전에 증가되므로, dma_error에 도달했을 때 필요한 정확한 언매핑 수와 항상 일치한다. dma_error의 while 루프 전에 count를 감소시키면 오프바이원 오류가 발생한다. 만약 실패한 매핑 이전에 성공한 매핑이 있다면, 정확히 하나의 DMA 매핑(헤드)이 누수된다. 이 버그는 2010년에 dma_error의 무한 루프를 수정하면서 도입되었다. 다른 모든 영향을 받은 드라이버는 이미 수정되었다.
CVE-2026-74494
2026년 8월 15일In the Linux kernel, the following vulnerability has been resolved: ksmbd: reject repeated SMB2 NEGOTIATE requests Unauthenticated client can send multiple successful SMB2 NEGOTIATE requests on one connection before SESSION_SETUP. While the connection is in KSMBD_SESS_NEED_SETUP, smb2_handle_negotiate() accepts another SMB3.1.1 NEGOTIATE and overwrites conn->preauth_info with a new allocation. Only the final allocation is freed when the connection is released, leaking one object for every additional successful request. A repeated SMB2 NEGOTIATE after a dialect has been selected is a protocol violation. MS-SMB2 section 3.3.5.4 requires the server to disconnect without replying in this case. Set the connection exiting when rejecting the request, in addition to suppressing the response. Reject SMB2 NEGOTIATE unless the connection is new or is waiting for the SMB2 NEGOTIATE that follows an SMB1 multi-protocol negotiate. Serialize both SMB1 and SMB2 negotiation paths under conn->srv_mutex, since they update connection-wide dialect and negotiation state. Move the locking contract to ksmbd_smb_negotiate_common(), where the state and dialect are selected, and add ksmbd_conn_new() for consistent state access.
CVE-2026-74493
2026년 8월 15일리눅스 커널에서 다음 취약점이 해결되었다: net/smc: 링크 그룹 종료 중 소켓 해제 후 사용(use-after-free) 문제 수정 __smc_lgr_terminate() 함수는 lgr->conns_all에서 연결을 찾은 후 conns_lock을 해제하지만, 소켓에 대한 참조를 얻기 전에 해제한다. 연결은 소켓에 내장되어 있으며, 등록 참조는 연결이 트리에 남아 있는 동안에만 보호한다. 동시 종료(close)가 연결 등록을 해제하고 해당 참조를 해제하여, 종료 작업자가 sock_hold()에 도달하기 전에 소켓을 해제할 수 있다. 이 경쟁 조건은 종료(close)와 링크 그룹 종료가 겹칠 때 발생할 수 있다. 로컬 스트레스 테스트에서 해제 후 사용 문제가 재현되었고 KASAN이 다음과 같이 보고했다: BUG: KASAN: slab-use-after-free in __smc_lgr_terminate.part.0 [smc] 크기 4의 쓰기 작업이 kworker/3:3 작업에 의해 수행됨 작업 큐: events smc_lgr_terminate_work [smc] __smc_lgr_terminate.part.0 [smc] 소켓은 smc_create()에 의해 할당되었고 slab_free_after_rcu_debug()를 통해 해제되었으며, 다음과 같은 상황이 이어졌다: refcount_t: 0에서 더하기; 해제 후 사용. __smc_lgr_terminate.part.0 [smc] conns_lock이 여전히 트리 항목을 보호하는 동안 소켓 참조를 취득한다. 그러면 등록 해제 경로는 종료가 소켓 사용을 마칠 때까지 마지막 참조를 해제할 수 없다.
CVE-2026-74492
번역 확인 필요2026년 8월 15일리눅스 커널에서 다음 취약점이 해결되었다: netfilter: ipset: 커널 측 해시 추가에서 주석 업데이트를 하지 않음 mtype_resize()가 memcpy()로 주석 포인터를 복사하지 주석 객체 자체를 복사한다. 엔트리가 복사된 직후이면서 표 교체와 백로그 재생 이전의 짧은 창 동안, old 표는 패킷 측 업데이트를 위해 여전히 게시되지만 교체 표 항목은 이미 같은 ip_set_comment_rcu 포인터를 보유하고 있다. xt_SET --add-set ... --exist가 이 창에서 그 오래된 엔트리를 hits 하면 mtype_add()가 ip_set_init_comment()를 호출하는데, 패킷 측 추가에는 주석 페이로드가 없다. 그 호출은 공유 주석을 낡은 엔트리를 통해 해제하므로 교체 표 엔트리가 이제 오래된 포인터를 보유하게 된다. 대기열에 의해 새 표에서 재생될 때, mtype_add()는 다시 한 번 ip_set_init_comment()를 호출하고 strlen()이 낡은 포인터를 역참조한다. 이 문제를 mtype_add()에서 ext->target가 패킷 측 추가를 표시할 때 ip_set_init_comment()를 건너뛰도록 수정했다. Userspace의 추가는 여전히 주석을 업데이트하고, 패킷 측 추가는 더 이상 재사이즈 복사와 공유되는 주석 저장소를 해제하지 않는다.
CVE-2026-74491
2026년 8월 15일In the Linux kernel, the following vulnerability has been resolved: of/address: Fix NULL bus dereference in of_pci_range_parser_one() The bus matching rework made of_match_bus() return NULL for nodes with ranges/dma-ranges but no local #address-cells. parser_init() stored that NULL bus, and the range iterator later dereferenced it. Reject such nodes in parser_init(), leaving an explicit empty iterator for callers that ignore the init return, and make of_dma_get_max_cpu_address() honour the init failure so a rejected node cannot clamp the DMA limit.
CVE-2026-74490
2026년 8월 15일리눅스 커널의 다음 취약점이 해결되었습니다: tipc: poll 트레이스 큐 덤프에서 사용 후 해제 방지 TIPC 소켓 트레이스 포인트는 tipc_sk_dump()를 통해 큐 상태를 덤프합니다. 대부분의 큐 덤프 호출 위치는 이미 소켓 잠금 또는 sk->sk_lock.slock 아래에서 워크를 직렬화하지만 tipc_poll()은 두 잠금 중 어느 것도 보유하지 않은 상태에서 trace_tipc_sk_poll(..., TIPC_DUMP_ALL, ...)을 호출합니다. 그로 인해 폴 트레이스 경로가 tipc_list_dump()에 도달하고 백로그의 앞/뒤를 덤프하는 동안 다른 컨텍스트가 skb를 dequeue하고 해제하면 트레이스 도우미가 오래된 큐 항목을 역참조하게 됩니다. 잠금이 없는 폴 트레이스 위치에서 큐 덤프를 요청하지 않도록 했습니다. 다른 큐 덤프 트레이스 호출 위치는 이미 제공하는 잠금을 유지하고 있는 반면, 폴은 여전히 잠금 없는 컨텍스트에서 라이브 큐 멤버를 순회하지 않고 이벤트 자체를 방출합니다.
CVE-2026-74489
번역 확인 필요2026년 8월 15일리눅스 커널에서 다음 취약점이 해결되었다: wifi: mac80211: BA 세션 중지 시 tid_tx를 사용 후 해제(use-after-free) 수정 ieee80211_stop_tx_ba_cb()가 tid_tx를 kfree_rcu()로 전달하고 ieee80211_remove_tid_tx()를 통해 그런 다음 sta->lock를 해제한 뒤 tid_tx->ndp를 읽는다: ieee80211_remove_tid_tx(sta, tid); /* kfree_rcu(tid_tx, rcu_head) */ ... spin_unlock_bh(&sta->lock); if (start_txq) ieee80211_agg_start_txq(sta, tid, false); if (send_delba) ieee80211_send_delba(..., tid_tx->ndp); 그 읽기는 RCU 읽기-측 임계 구역에 포함되어 있지 않으며, 선점 가능한 프로세스 컨텍스트에서 실행된다: 두 호출자는 모두 wiphy 뮤텍스를 보유하고 있어 ieee80211_ba_session_work()의 wiphy 작업에서든 ieee80211_sta_tear_down_BA_sessions()의 스테이션 종료 중이든 그 경로에 있다. Softirq도 그 창에서 실행될 수 있으며, local_bh_enable()에 의해 ieee80211_agg_start_txq()가 끝나는 지점이나 인터럽트 종료 시점에서 발생하므로 RCU 콜백이 tid_tx를 해제하기 전에 읽을 수 있다. 테스트 모듈에서 grace period를 강제로 그 창으로 Driving하면 KASAN이 읽기를 보고하고 일반 RCU 소프트IRQ 경로에서 해제가 도달한다: BUG: KASAN: slab-use-after-free in ieee80211_stop_tx_ba_cb+0x3cd/0x400 Read of size 1 at addr ffff888002b9f52e by task kworker/0:1/10 [...] Freed by task 57: __kasan_slab_free+0x47/0x70 __rcu_free_sheaf_prepare+0x70/0x250 rcu_free_sheaf_nobarn+0x18/0x40 rcu_core+0x426/0x1310 handle_softirqs+0x144/0x590 __irq_exit_rcu+0xea/0x150 irq_exit_rcu+0x9/0x20 sysvec_apic_timer_interrupt+0x6b/0x80 asm_sysvec_apic_timer_interrupt+0x1a/0x20 send_delba는 tx_stop이 설정될 때만 설정되므로 로컬 종료 때 접근되며, 세션 대기 시간, PTK 재키, 일시 중지, HW 재구성 등에서 발생하며 피어의 DELBA로부터는 발생하지 않는다. 세션이 해제되기 전에 sta->lock이 여전히 잠겨 있을 때 ndp를 로컬 변수로 읽는다. tid_tx->ndp에는 단일 작성자가 있으며, 이 함수의 tid_tx 역참조 이후 ieee80211_remove_tid_tx()에서 남아 있는 유일한 참조이다. ieee80211_tx_ba_session_handle_start()에서 컨커런트로 실행될 수 없으며, 두 경로 모두 wiphy 뮤텍스로 직렬화되며 이 시점에 세션은 이미 HT_AGG_STATE_STOPPING으로 표시된다. tid_tx->ndp는 또한 이 함수에서 ieee80211_remove_tid_tx() 뒤 남은 유일한 역참조이다. [ndp에 대한 주석을 일반적으로 더 넓게 바꾸고 ndp를 직접 초기화하는 방향으로 move/change]
CVE-2026-74488
2026년 8월 15일리눅스 커널에서 다음 취약점이 해결되었습니다: wifi: mwifiex: A-MSDU를 구문 분석할 때 서브 프레임 길이를 사용 TDLS 프레임 mwifiex_11n_dispatch_amsdu_pkt()는 A-MSDU를 ieee80211_amsdu_to_8023s()로 분할하고 결과 서브 프레임을 순회합니다. 각 서브 프레임에 대해 서브 프레임 데이터 포인터를 mwifiex_process_tdls_action_frame()로 전달하지만, A-MSDU 부모의 길이인 skb->len과 함께 전달합니다(rx_skb->len 대신). rx_skb = __skb_dequeue(&list); rx_hdr = (struct rx_packet_hdr *)rx_skb->data; if (ISSUPP_TDLS_ENABLED(priv->adapter->fw_cap_info) && ntohs(rx_hdr->eth803_hdr.h_proto) == ETH_P_TDLS) { mwifiex_process_tdls_action_frame(priv, (u8 *)rx_hdr, skb->len); } 부모 버퍼의 설명으로서는 유효하지 않거나 아예 메모리가 유효하지 않을 수 있습니다. ieee80211_amsdu_to_8023s()는 끝에서 if (!reuse_skb) dev_kfree_skb(skb); 그리고 부모가 선형이고 head_frag가 아니며 마지막 서브 프레임으로 소비되고 있을 때만 reuse_skb를 설정합니다. 따라서 부모가 재사용에 적합하지 않으면 이미 해제되었고, skb->len의 읽기는 사용 후 해제(use-after-free)입니다. 재사용될 때, skb->len은 마지막 서브 프레임의 길이이며 앞선 모든 서브 프레임에 대해 적용되어, 더 짧은 초기 서브 프레임이 있을 때 버퍼를 과대평가합니다. 호출 대상은 잘못된 길이를 흡수할 수 없는데, 이는 주어진 값으로부터 자체 상한을 파생하기 때문입니다. 각 프레임 유형은 ies_len = len - sizeof(struct ethhdr) - TDLS_*_FIX_LEN; 를 계산하고, 엘리먼트 순회는 그 상한에 의해 전적으로 제한되며, for (end = pos + ies_len; pos + 1 < end; pos += 2 + pos[1]) { u8 ie_len = pos[1]; if (pos + 2 + ie_len > end) break; 따라서 지나치게 큰 길이가 서브 프레임의 끝을 넘기고 순회를 종료하여 그보다 큰 부분을 읽고 복사합니다. A-MSDU 레이아웃은 발신자가 선택하는 것이므로 마지막 서브 프레임과 더 짧은 초기 프레임 사이의 차이가 원격으로 선택될 수 있습니다. 이를 확인하려면 펌웨어의 TDLS 지원 및 서브 프레임의 TDLS 이더타입이 필요합니다. 다른 호출자인 mwifiex_process_rx_packet()는 올바릅니다: RX 버퍼의 같은 영역을 설명하는 포인터와 길이를 전달합니다. rx_skb->len(실제로 구문 분석 중인 서브 프레임의 길이)를 전달하십시오.
CVE-2026-74487
2026년 8월 15일In the Linux kernel, the following vulnerability has been resolved: binfmt_misc: restore write access when removing an entry Registering an entry with the MISC_FMT_OPEN_FILE flag opens the interpreter via open_exec() which denies write access to it for as long as the entry exists. Removing the entry closes the interpreter file via filp_close() but never restores write access, leaving the inode's i_writecount permanently negative. Opening the interpreter for writing keeps failing with ETXTBSY long after the entry is gone until the inode is evicted from the inode cache. Commit 90f601b497d7 ("binfmt_misc: restore write access before closing files opened by open_exec()") fixed the same imbalance in the error path of bm_register_write() but the actual removal path has been leaking the write denial since the introduction of the flag. Restore write access in put_binfmt_handler() before closing the interpreter file.