총 16,343건
CVE-2026-68348
2026년 8월 10일리눅스 커널에서 다음 취약점이 해결되었습니다: ASoC: tas2781: 바운드 패밀링 펌웨어 설명 문자열 파싱 TAS2781 펌웨어 파서가 문자열 종료 문자가 펌웨어 블롭 내부에 있는지 확인하기 전에 strlen()으로 가변 길이 설명 문자열을 여러 개 읽습니다. NUL 종결자가 없는 잘못된 펌웨어 이미지는 이후 크기 검사를 실행하기 전에 파서가 펌웨어 버퍼의 끝을 벗어나 걸어갈 수 있습니다. 모든 문자열 필드에 대해 펌웨어 버퍼에서 구문 분석될 때 사용되는 작고 한정된 문자열 길이 헬퍼를 추가하고 이를 사용합니다. 각 문자열 뒤에 오는 고정 바이트에 대한 기존 크기 검사를 유지합니다.
CVE-2026-68347
2026년 8월 10일In the Linux kernel, the following vulnerability has been resolved: iommu/amd: Fix IRQ unsafe locking in gdom allocation Lockdep complains: [ 259.410489] ===================================================== [ 259.417287] WARNING: HARDIRQ-safe -> HARDIRQ-unsafe lock order detected [ 259.424667] 7.0.0-g51db1d8d2113 #54 Not tainted [ 259.429718] ----------------------------------------------------- [ 259.436516] qemu-system-x86/10143 [HC0[0]:SC0[0]:HE0:SE1] is trying to acquire: [ 259.444670] ff3b2b1c60305170 (&xa->xa_lock#25){+.+.}-{3:3}, at: __domain_flush_pages+0x17c/0x4b0 [ 259.454485] and this task is already holding: [ 259.460991] ff3b2b1c98504cc0 (&domain->lock){-.-.}-{3:3}, at: amd_iommu_iotlb_sync+0x25/0x60 [ 259.470408] which would create a new lock dependency: [ 259.476041] (&domain->lock){-.-.}-{3:3} -> (&xa->xa_lock#25){+.+.}-{3:3} [ 259.483615] but this new dependency connects a HARDIRQ-irq-safe lock: [ 259.492447] (&domain->lock){-.-.}-{3:3} [ 259.492449] ... which became HARDIRQ-irq-safe at: [ 259.503705] lock_acquire+0xb6/0x2e0 [ 259.507790] _raw_spin_lock_irqsave+0x3e/0x60 [ 259.512748] amd_iommu_flush_iotlb_all+0x20/0x50 [ 259.517996] iommu_dma_free_iova.isra.0+0x1b8/0x1e0 [ 259.523534] __iommu_dma_unmap+0xc2/0x140 [ 259.528100] iommu_dma_unmap_phys+0x55/0xc0 [ 259.532863] dma_unmap_phys+0x274/0x2e0 [ 259.537238] dma_unmap_page_attrs+0x17/0x30 [ 259.542000] nvme_unmap_data+0x13e/0x280 [ 259.546473] nvme_pci_complete_batch+0x45/0x70 [ 259.551524] nvme_irq+0x83/0x90 [ 259.555123] __handle_irq_event_percpu+0x92/0x360 [ 259.560466] handle_irq_event+0x39/0x80 [ 259.564841] handle_edge_irq+0xb2/0x1a0 [ 259.569214] __common_interrupt+0x4e/0x130 [ 259.573882] common_interrupt+0x88/0xa0 [ 259.578256] asm_common_interrupt+0x27/0x40 [ 259.583019] cpuidle_enter_state+0x119/0x5d0 [ 259.587877] cpuidle_enter+0x2e/0x50 [ 259.591962] do_idle+0x153/0x2c0 [ 259.595657] cpu_startup_entry+0x29/0x30 [ 259.600128] start_secondary+0x118/0x150 [ 259.604601] common_startup_64+0x13e/0x141 [ 259.609266] to a HARDIRQ-irq-unsafe lock: [ 259.615384] (&xa->xa_lock#25){+.+.}-{3:3} [ 259.615386] ... which became HARDIRQ-irq-unsafe at: [ 259.627039] ... [ 259.627039] lock_acquire+0xb6/0x2e0 [ 259.633071] _raw_spin_lock+0x2f/0x50 [ 259.637250] amd_iommu_alloc_domain_nested+0x140/0x3c0 [ 259.643078] iommufd_hwpt_alloc+0x272/0x800 [iommufd] [ 259.648813] iommufd_fops_ioctl+0x14e/0x200 [iommufd] [ 259.654547] __x64_sys_ioctl+0x9d/0xf0 ... Since amd_iommu_domain_flush_pages() necessarily holds domain->lock to do the flush, switch the allocation side in gdom_info_load_or_alloc_locked() to HARDIRQ-safe allocation. The IOMMU_DESTROY->free path has the same issue, so switch that path to HARDIRQ-safe locking as well.
CVE-2026-68346
2026년 8월 10일In the Linux kernel, the following vulnerability has been resolved: ALSA: hda: cs35l41: validate and free ACPI mute object cs35l41_get_acpi_mute_state() evaluates a _DSM method to get the ACPI mute state and reads the first byte from the returned object. However, the returned ACPI object is owned by the caller and is never freed after use, so each successful query leaks the _DSM result object. The code also assumes that the returned object is a buffer with at least one byte. A malformed firmware response can return a different object type or an empty buffer, and the direct ret->buffer.pointer dereference can then access an invalid pointer. Use the typed _DSM helper, validate that the returned buffer contains at least one byte, and free the ACPI object after reading it.
CVE-2026-68345
2026년 8월 10일In the Linux kernel, the following vulnerability has been resolved: arm_mpam: guard MBWU state before adding it to garbage __destroy_component_cfg() adds each RIS mbwu_state object to the MPAM garbage list when destroying component configuration. However, mbwu_state is allocated per RIS and only for RISes with MBWU monitors. A component can therefore have comp->cfg allocated while some RISes still have ris->mbwu_state set to NULL. Passing a NULL mbwu_state to add_to_garbage() dereferences the NULL pointer inside the macro. Skip RISes that do not have an mbwu_state object before adding them to the garbage list.
CVE-2026-68344
2026년 8월 10일In the Linux kernel, the following vulnerability has been resolved: usb: atm: ueagle-atm: reject descriptors that confuse probe and disconnect uea_probe() distinguishes a pre-firmware device from a post-firmware one using the USB id (UEA_IS_PREFIRM()), and stores a different object as the interface data in each case: a 'struct completion' for a pre-firmware device (to be waited on in .disconnect()), or a 'struct usbatm_data' for a post-firmware one. uea_disconnect() instead tells the two apart by the number of interfaces of the active configuration (a pre-firmware device exposes a single interface, ADI930 has 2 and eagle has 3), and casts the interface data accordingly. Because the two handlers use different criteria, a crafted device that advertises a pre-firmware id together with a multi-interface descriptor (or a post-firmware id with a single interface) makes them disagree: the small 'struct completion' stored by uea_probe() is then passed to usbatm_usb_disconnect(), which casts it to 'struct usbatm_data' and takes instance->serialize, reading past the end of the allocation: BUG: KASAN: slab-out-of-bounds in __mutex_lock+0x152a/0x1b80 Read of size 8 at addr ffff8880470e2c60 by task kworker/1:2/982 ... __mutex_lock+0x152a/0x1b80 usbatm_usb_disconnect+0x70/0x820 uea_disconnect+0x133/0x2c0 usb_unbind_interface+0x1dd/0x9e0 ... which belongs to the cache kmalloc-96 of size 96 The buggy address is located 0 bytes to the right of allocated 96-byte region [ffff8880470e2c00, ffff8880470e2c60) Reject such inconsistent descriptors in uea_probe() so that both handlers always make the same pre/post-firmware decision.
CVE-2026-68343
2026년 8월 10일Linux 커널에서 다음 취약점이 해결되었다: smb: 클라이언트: DFS 참조 PathConsumed 검증 parse_dfs_referrals() 함수는 응답에 고정된 참조 항목 배열과 for-next에서 각 참조 문자열 오프셋이 포함되어 있는지 검증한다. 그러나 응답에는 이후 DFS 경로 파싱에 사용되는 PathConsumed 값도 포함되어 있다. 잘못된 응답이 검색 이름보다 큰 PathConsumed 값을 제공하면 이후 DFS 파싱이 경로의 끝을 넘어 진행될 수 있다. 파싱된 참조에 저장하기 전에 PathConsumed 값을 검색 이름 길이와 비교하여 검증한다.
CVE-2026-68342
2026년 8월 10일In the Linux kernel, the following vulnerability has been resolved: ovpn: avoid putting unrelated P2P peer on socket release ovpn_peer_release_p2p() is called when an OVPN UDP socket is being destroyed. It checks the currently published P2P peer and releases it only if that peer still uses the socket being destroyed. A peer replacement can publish a new peer before the old UDP socket is destroyed. When the old socket destruction path runs afterwards, ovpn_peer_release_p2p() observes the new peer through ovpn->peer. Since the new peer uses a different socket, the function takes the socket mismatch branch. That branch still calls ovpn_peer_put(peer). At this point, however, peer is the currently published replacement peer, not the peer associated with the socket being destroyed. Dropping its reference can free it while ovpn->peer still points to it, leading to later use-after-free accesses from the peer and socket cleanup paths. KASAN reports this as a slab-use-after-free on the kmalloc-1k ovpn_peer object. In the reproducer, the object is allocated from ovpn_peer_new() via ovpn_nl_peer_new_doit(), and freed through ovpn_peer_release_rcu() from RCU callback processing. Observed access sites include ovpn_peer_remove(), ovpn_socket_release(), ovpn_nl_peer_del_notify(), and unlock_ovpn(). Fix this by returning from the socket mismatch branch without putting the peer.
CVE-2026-68341
2026년 8월 10일리눅스 커널에서 다음 취약점이 해결되었습니다: ovpn: unlock_ovpn()에서 해제 후 참조(use after free) 문제 수정 unlock_ovpn()는 llist_for_each_entry()를 사용해 release_list를 순회하고, 루프 본문에서 ovpn_peer_put()를 통해 피어 참조를 해제합니다. 참조가 마지막으로 해제될 경우 피어는 결국 해제됩니다. 그러나 llist_for_each_entry()는 루프 진행 시점의 다음 요소를 얻기 위해 peer->release_entry.next를 읽는데, 이 시점은 본문이 실행된 후에 발생합니다. 그 사이 피어가 이미 해제되었을 수 있어, 다음 리스트 항목으로 진행할 때 use after free가 발생합니다. 이를 해결하기 위해 루프 본문을 실행하기 전에 다음 포인터를 캐시하는 llist_for_each_entry_safe()를 사용하게 했습니다.
CVE-2026-68340
번역 확인 필요2026년 8월 10일리눅스 커널에서 다음 취약점이 해결되었습니다: hwmon: occ: 폴 응답 센서 블록 유효성 검사 OCC 폴 응답 파서는 센서 데이터 블록의 개수화된 목록을 순회합니다. 구문 분석 경계로 정적 백업 배열 용량을 사용했지만, 전송 응답은 data_length 바이트만 현재 유효합니다. 잘린 응답으로 인해 파서가 현재 응답 밖의 블록 헤더나 블록 범위를 소비할 수 있습니다. 상위 경계로 data_length를 사용하고, 읽기 전에 고정 폴 헤더와 각 현재 블록 헤더를 증명하며, 전체 블록이 유효성을 통과한 후에만 게시합니다. 파싱된 센서 메타데이터를 전체 응답이 검증을 통과할 때까지 로컬에 보관한 다음 발표합니다. 게시하기 전에 잘못된 응답 오류를 OCC가 활성으로 게시되기 전에 전파합니다.
CVE-2026-68339
2026년 8월 10일In the Linux kernel, the following vulnerability has been resolved: Bluetooth: btusb: validate Realtek vendor event length btusb_recv_event_realtek() reads the event code at data[0] and the Realtek subevent code at data[2] before deciding whether to consume a vendor event as a coredump. For example, the two-byte event ff 00 contains a complete vendor-event header declaring zero parameters. The old classifier still reads a nonexistent third byte and can misclassify the event as a coredump if the adjacent byte is 0x34. Require the HCI event header and first parameter to be present before inspecting the Realtek subevent code. Short events continue through the normal HCI receive path, which owns their protocol validation.
CVE-2026-68338
2026년 8월 10일리눅스 커널에서 다음 취약점이 해결되었습니다: net/packet: unregister 이후 팬아웃 훅 재등록 방지 packet_set_ring()은 링 구성을 재설정하는 동안 소켓을 일시적으로 패킷 전달에서 분리합니다. 이때 이전 실행 상태를 기록하고 po->num를 지우며 필요 시 프로토콜 훅을 등록 해제하고 po->bind_lock를 해제한 뒤, 저장된 was_running 값으로 po->num를 복원하고 훅을 재등록합니다. 그으로 인해 해가 될 수 있는 창이 NETDEV_UNREGISTER와 경쟁 상태를 일으킬 수 있습니다. 노티파이어가 소켓을 실행 중이 아니라고 관찰하고 __unregister_prot_hook()를 건너뛰며 po->ifindex를 -1로 설정하고 po->prot_hook.dev를 지워 단일 멤버 팬아웃 그룹이 공유 팬아웃 훅 디바이스 포인터를 여전히 보유할 수 있습니다. packet_set_ring()이 재개될 때 오래된 was_running 상태에서만 다시 등록하는 것은 디바이스가 이미 등록 해제된 경우 팬아웃 훅을 다시 추가할 수 있습니다. po->ifindex == -1을 reacquiring 후 잘못된 바인딩으로 간주합니다. 이는 기본 상태인 ifindex 0(언바운드/와일드카드 상태)과 구별됩니다: -1은 디바이스가 unregister될 때 바인딩이 무효화되었음을 나타냅니다. po->num를 이전 상태로 복원하되 디바이스 unregister가 이미 소켓의 분리를 수행한 경우 훅을 다시 등록하지 않습니다.
CVE-2026-68337
2026년 8월 10일In the Linux kernel, the following vulnerability has been resolved: bpf: Reject redirect helpers without a bpf_net_context The bpf_redirect*() helpers and skb_do_redirect() obtain the per-task bpf_redirect_info via bpf_net_ctx_get_ri(), which dereferences the current->bpf_net_context unconditionally. That context is established on the paths that run tc BPF such as sch_handle_{ingress,egress}(), *except* for the case where {cls,act}_bpf was attached to a proper qdisc. A program running from there reaches the NULL deref in two ways: * It calls bpf_redirect() directly, which dereferences the context at the top of the helper: tc qdisc add dev eth0 root handle 1: red limit 1MB min 10KB max 20KB \ avpkt 1000 burst 100 qevent early_drop block 10 tc filter add block 10 pref 1 bpf obj redirect.o * It simply returns TC_ACT_REDIRECT without helper call: tcf_qevent_handle() then dispatches to skb_do_redirect(), which dereferences the context Rather than extending bpf_net_context management into the qdisc path, make the redirect helpers refuse to operate when no context exists, and have tcf_qevent_handle() drop a TC_ACT_REDIRECT verdict instead of calling skb_do_redirect(). Previous behaviour was a crash, so nothing regresses by not supporting it.
CVE-2026-68336
2026년 8월 10일In the Linux kernel, the following vulnerability has been resolved: bonding: fix devconf_all NULL dereference when IPv6 is disabled When booting with the 'ipv6.disable=1' parameter, the devconf_all is never initialized because inet6_init() exits before addrconf_init() is called which initializes it. bond_send_validate(), however, will still call bond_ns_send_all() even ipv6 is indeed disabled. It will lead to NULL derefence of net->ipv6.devconf_all in ip6_pol_route(). BUG: kernel NULL pointer dereference, address: 000000000000000c [...] Workqueue: bond0 bond_arp_monitor [bonding] RIP: 0010:ip6_pol_route+0x69/0x480 [...] Call Trace: <TASK> ? srso_return_thunk+0x5/0x5f ? __pfx_ip6_pol_route_output+0x10/0x10 fib6_rule_lookup+0xfe/0x260 ? wakeup_preempt+0x8a/0x90 ? srso_return_thunk+0x5/0x5f ? srso_return_thunk+0x5/0x5f ? sched_balance_rq+0x369/0x810 ip6_route_output_flags+0xd7/0x170 bond_ns_send_all+0xde/0x280 [bonding] bond_ab_arp_probe+0x296/0x320 [bonding] ? srso_return_thunk+0x5/0x5f bond_activebackup_arp_mon+0xb4/0x2c0 [bonding] process_one_work+0x196/0x370 worker_thread+0x1af/0x320 ? srso_return_thunk+0x5/0x5f ? __pfx_worker_thread+0x10/0x10 kthread+0xe3/0x120 ? __pfx_kthread+0x10/0x10 ret_from_fork+0x199/0x260 ? __pfx_kthread+0x10/0x10 ret_from_fork_asm+0x1a/0x30 </TASK> Fix this by adding ipv6_mod_enabled() condition check in the caller.
CVE-2026-68335
2026년 8월 10일Linux 커널에서 다음 취약점이 해결되었다: rds: 네트워크 네임스페이스 경계를 넘는 수신 메시지를 드롭 rds_find_bound()는 전역 해시(RDS 연결 해제 맵)에서 (addr, 포트, scope_id)만으로 대상 소켓을 조회한다. 네트워크 네임스페이스는 키의 일부가 아니므로 netns A의 발신자가 netns B에 존재하는 소켓으로 수신 메시지(inc)를 전송할 수 있다. 이 경우 inc->i_conn은 netns A의 c_net를 가진 rds_connection을 가리키지만, 수신 rs는 netns B에 있다. netns A를 생성한 자식 프로세스가 종료되면 cleanup_net()이 rds_loop_exit_net() -> rds_loop_kill_conns() -> rds_conn_destroy()를 호출하여 해당 연결을 해제한다. netns B의 생존 소켓이 inc를 여전히 보유하고 있다면 inc->i_conn의 이후 역참조가 use-after-free가 된다. rds_clear_recv_queue()에서 두 개의 위험한 지점이 있다: 1. inc->i_conn->c_lcong (해제된 rds_connection의 오프셋 88, 크기 200) rds_recv_rcvbuf_delta()를 통해 읽힘 — KASAN으로 확인. 2. inc->i_conn->c_trans->inc_free(inc) (오프셋 80의 함수 포인터) inc 참조 카운트가 0에 도달할 때 rds_inc_put()를 통해 호출된다 — 동일한 경쟁 구간이며 해제된 객체를 통과하는 호출 가능성이다. 이 취약점은 권한이 없는 사용자 네임스페이스(CLONE_NEWUSER + CLONE_NEWNET)에서 접근 가능하며 Linux 3.8 이후에 존재한다. rds_find_bound()가 반환한 소켓이 메시지를 운반한 연결과 다른 네트워크 네임스페이스에 속하는 경우 rds_recv_incoming()에서 전달을 거부하도록 수정한다. 비교에는 기존의 rds_conn_net() / sock_net() 도우미와 net_eq()를 사용한다.
CVE-2026-68334
2026년 8월 10일In the Linux kernel, the following vulnerability has been resolved: rxrpc: fix io_thread race in rxrpc_wake_up_io_thread() rxrpc_wake_up_io_thread() checks local->io_thread before waking it, but then reloads the pointer for wake_up_process(). local->io_thread is cleared with WRITE_ONCE() when the I/O thread exits, so the second load can see NULL even if the first load did not. Take a READ_ONCE() snapshot and use it for both the NULL check and the wake_up_process() call, as rxrpc_encap_rcv() already does.
CVE-2026-68333
2026년 8월 10일In the Linux kernel, the following vulnerability has been resolved: dpaa2-switch: put MAC endpoint device on disconnect fsl_mc_get_endpoint() returns the MAC endpoint device with a reference taken through device_find_child(). The switch port connect path stores that device in mac->mc_dev and keeps it for the lifetime of the connected MAC object. However, the disconnect path only closes the MAC and frees the dpaa2_mac object. It does not drop the endpoint device reference stored in mac->mc_dev, so every successful connect leaks that device reference when the MAC is later disconnected. Drop the endpoint device reference before freeing the dpaa2_mac object.
CVE-2026-68332
2026년 8월 10일In the Linux kernel, the following vulnerability has been resolved: net: airoha: Fix potential use-after-free in airoha_ppe_deinit() airoha_ppe_deinit() replaces the NPU pointer with NULL via rcu_replace_pointer() but does not wait for existing RCU readers to exit before calling ppe_deinit() and airoha_npu_put(). This can cause a use-after-free if a reader in an RCU read-side critical section still holds a reference to the NPU when it is freed. The init path (airoha_ppe_init) already calls synchronize_rcu() after rcu_assign_pointer(), but the deinit path introduced in commit 6abcf751bc08 ("net: airoha: Fix schedule while atomic in airoha_ppe_deinit()") omitted the matching barrier when switching from rcu_read_lock()/rcu_dereference() to rcu_replace_pointer(). Add synchronize_rcu() before ppe_deinit() to ensure all existing RCU readers have completed before the NPU resources are released.
CVE-2026-68331
2026년 8월 10일In the Linux kernel, the following vulnerability has been resolved: dpaa2-eth: put MAC endpoint device on disconnect fsl_mc_get_endpoint() returns the MAC endpoint device with a reference taken through device_find_child(). The Ethernet connect path stores that device in mac->mc_dev and keeps it for the lifetime of the connected MAC object. However, the disconnect path only disconnects and closes the MAC before freeing the dpaa2_mac object. It does not drop the endpoint device reference stored in mac->mc_dev, so every successful connect leaks that device reference when the MAC is later disconnected. Drop the endpoint device reference after closing the MAC and before freeing the dpaa2_mac object.
CVE-2026-68330
2026년 8월 10일리눅스 커널에서 다음 취약점이 해결되었습니다: net: airoha: NPU 메일박스 버퍼에 대한 DMA 방향 수정 airoha_npu_send_msg()는 항상 메일박스 버퍼를 DMA_TO_DEVICE로 매핑하지만, 일부 호출자는 NPU가 같은 버퍼에 응답 데이터를 다시 작성하기를 기대합니다: - airoha_npu_wlan_msg_get() (NPU_OP_GET): NPU가 응답을 버퍼에 쓰고, 호출자가 memcpy()로 이를 읽습니다 - airoha_npu_ppe_stats_setup() (NPU_OP_SET): NPU가 응답에서 npu_stats_addr 필드를 다시 씁니다 EN7581(Cortex-A53, NPU DMA에 대한 하드웨어 캐시 일관성 없음)과 같은 비-캐시 일관 아키텍처에서 DMA_TO_DEVICE의 매핑 해제는 무시 동작입니다 — CPU 캐시를 무효화하지 않습니다. NPU가 쓴 캐시 라인이 호출자가 버퍼를 읽을 때까지 남아 있으면 CPU는 NPU 응답 대신 오래된 데이터를 관찰하게 됩니다. 이는 타이밍에 민감한 버그로, 작은 메일박스 버퍼(~24바이트)가 일반적으로 단일 캐시 라인에 들어가지만 캐시에서 남아 있을 수 있어 크래시가 아닌 은밀한 데이터 손상을 유발할 수 있습니다. 호출자가 dma_unmap_single() 직후 즉시 응답을 읽을 때 중재되는 캐시 제거 작업이 없으면 버그가 더 잘 발생합니다. 해결 방법은 매핑과 해제 모두에 DMA_BIDIRECTIONAL을 사용하여 non-coherent 시스템에서 dma_unmap_single()가 CPU 캐시를 무효화하도록 보장하는 것입니다. 메일박스 버퍼는 작아서 성능 문제는 없습니다.
CVE-2026-68329
2026년 8월 10일리눅스 커널에서 다음 취약점이 해결되었습니다: iommu/amd: iommu_completion_wait()에서 이른 시점에 반환하지 말고 완료 대기 확인 대기 need_sync는 해당 IOMMU 뒤의 모든 도메인 및 장치가 공유하는 IOMMU별 플래그입니다. sync == true로 큐된 명령어가 있을 때 설정되고, 완료-대기(CWAIT) 명령이 큐되면 해제됩니다. 그러나 해제된 need_sync의 의미는 덮개 CWAIT가 이미 큐되었다는 것일 뿐, 하드웨어에서 이전에 큐된 모든 명령이 실제로 완료되었다는 것을 의미하지 않습니다. iommu_completion_wait()는 필요 여부를 락 없이 읽고 false일 때 일찍 반환했습니다. 이는 다중 CPU 시나리오에서 "이전에 큐된 모든 명령이 완료될 때까지 차단"이라는 계약을 깨뜨립니다: CPU2: inv-B 큐잉 => need_sync = true CPU1: CWAIT(N) 큐잉 후 need_sync = false; 그런 다음 wait_on_sem(N) CPU2: need_sync == false를 읽고 => 대기 없음(0 반환) CPU2는 inv-B가 아직 완료되지 않았더라도 시퀀스 번호를 기다리지 않고 반환하여, inv-B 이후에 큐된 CWAIT(N)가 신호되지 않았을 수 있습니다. 그다음 CPU2는 예를 들어 페이지 테이블 페이지를 해제하는 등 IOMMU가 여전히 구식 번역을 순회하는 동안 사용할 수 없는 해제 창을 열게 됩니다. 이는 플래그의 의미에 대한 논리적 레이스이며, 메모리 가시성 문제가 아니므로 배리어만으로 해결되지 않습니다. 중복 CWAIT 명령의 최적화를 잃지 않으면서 수정합니다: need_sync를 테스트하기 전에 iommu->lock을 획득하고, false일 때 조기에 반환하지 말고 마지막으로 할당된 시퀀스 번호(cmd_sem_val)를 대기합니다. need_sync == false는 마지막 CWAIT 이후에 큐된 동기화 명령이 없었음을 시사하므로, 그 CWAIT는 아직 완료되지 않은 모든 명령 뒤의 FIFO 순서이며, 해당 시퀀스 번호를 대기하면 모든 이전 명령이 완료되었음을 보장합니다. 지속적으로 작업 중인 경로는 변경되지 않으며 추가 하드웨어 명령도 발행되지 않습니다.