총 16,344건
CVE-2026-98467
2026년 10월 19일In the Linux kernel, the following vulnerability has been resolved: KVM: arm64: nv: Fix null ptr deref on nested wp/unmap, teardown race Commit 7270cc9157f4 ("KVM: arm64: nv: Handle VNCR_EL2 invalidation from MMU notifiers") introduced VNCR_EL2 invalidation in both kvm_nested_s2_unmap() and kvm_nested_s2_wp(). However at the point of this being performed concurrent stage 2 teardown of a nested guest can cause kvm->arch.mmu.pgt to be set to NULL. This happens in kvm_flush_shadow_all() -> kvm_arch_flush_shadow_all() -> kvm_free_stage2_pgd() and is performed under the kvm->mmu_lock. Commit ec14c272408a ("KVM: arm64: nv: Unmap/flush shadow stage 2 page tables") introduced the teardown of the entire nested MMU range, which then invokes stage2_apply_range() with resched=true: mmu_notifier_invalidate_range_start() -> ... -> kvm_mmu_notifier_invalidate_range_start() -> kvm_mmu_unmap_gfn_range() -> kvm_unmap_gfn_range() -> kvm_nested_s2_unmap() -> kvm_stage2_unmap_range() -> __unmap_stage2_range() -> stage2_apply_range() This means that stage2_apply_range() can drop the kvm->mmu_lock and thus concurrent progress can be made in lockstep with kvm_arch_flush_shadow_all(). If kvm_arch_flush_shadow_all() advances ahead of stage2_apply_range() and completes its operation it guarantees a NULL pointer deref. Since kvm_free_stage2_pgd() is performed under the kvm->mmu_lock this will either be observed NULL or not and serialised against kvm_free_stage2_pgd(). Resolve the issue by abstracting the invalidation to a new function, kvm_invalidate_vncr_ipa_all(), and check that the pgt is non-NULL before dereferencing it.
CVE-2026-98466
2026년 10월 19일Linux 커널에서 다음 취약점이 해결되었다: KVM: arm64: hyp 스택 페이지를 호스트 스테이지-2에서 전송 fix_host_ownership()는 각 memblock 영역의 선형 맵 별칭만 탐색하며, 각 CPU별 hyp 스택은 가드 페이지를 위한 개인 VA 범위에 매핑되어 있어 별칭이 없다. 각 스택의 VA 범위를 동일한 탐색기로 탐색한다.
CVE-2026-98465
2026년 10월 19일Linux 커널에서 다음 취약점이 해결되었다: RISC-V: KVM: vCPU 마이그레이션 시 IMSIC 속성 직렬화 KVM 디바이스 ioctl은 KVM_RUN과 직렬화되지 않는다. 결과적으로, kvm_riscv_aia_imsic_rw_attr()는 동시 vCPU 마이그레이션이 이를 해제하기 전에 IMSIC VS-파일의 물리적 CPU와 HGEI를 스냅샷할 수 있다. 그 후 HGEI는 imsic_vsfile_rw()가 오래된 튜플을 사용하기 전에 다른 vCPU에 할당될 수 있다. GET 또는 SET 속성은 결과적으로 새 소유자의 인터럽트 파일에 접근할 수 있다. 대상 vCPU 뮤텍스와 함께 전체 IMSIC 속성 작업을 직렬화한다. 이는 속성 접근이 완료될 때까지 VS-파일이 마이그레이션되고 재활용되는 것을 방지한다. 뮤텍스는 KVM_RUN이 완료될 때까지 디바이스 ioctl이 인터럽트 가능하도록 죽일 수 있게 획득한다.
CVE-2026-98464
2026년 10월 19일Linux 커널에서 다음 취약점이 해결되었다: RISC-V: KVM: 해체 과정에서 hrtimer 콜백 동기화 비 Sstc hrtimer 콜백은 포함된 vCPU의 최종 사용 전에 next_set을 지운다. 만약 해체 과정에서 콜백이 여전히 실행 중일 때 next_set이 false로 관찰되면, kvm_riscv_vcpu_timer_cancel()은 hrtimer_cancel()을 건너뛰고 kvm_destroy_vcpus()가 콜백이 kvm_riscv_vcpu_set_interrupt()에 진입하기 전에 vCPU를 해제할 수 있다. 게스트는 SBI TIME으로 타이머를 설정하고 SBI legacy shutdown 또는 SRST로 종료를 요청할 수 있다. KVM_EXIT_SYSTEM_EVENT를 존중하고 VM을 파괴하는 VMM은 경쟁 조건의 해체 측을 제공한다; 타이머 설정이나 해체 요청을 위해 런치 후 호스트 ioctl이 필요하지 않다. upstream master 62cc90241548에서 generic KASAN은 다음을 보고했다: BUG: KASAN: do_raw_spin_lock에서 slab-use-after-free 주소 ff60000005e58898에서 크기 4 쓰기 kvm_riscv_vcpu_set_interrupt kvm_riscv_vcpu_hrtimer_expired __hrtimer_run_queues hrtimer_interrupt 객체는 KVM_CREATE_VCPU에 의해 할당되고 다음에 의해 동시 해제되었다: kvm_destroy_vcpus kvm_arch_destroy_vm kvm_destroy_vm __fput 결정적 검증을 위해 기존 next_set = false 할당 직후에 mdelay(1000)를 추가했다. 이는 기존의 클리어 후 콜백 창만 확장한다. 지연 없는 트레이스 빌드는 200회 중 12회에서 콜백-해체 시작 후/비활성화 전 순서를 자연스럽게 도달했으나, 1,500회의 기본 커널 스트레스 반복에서는 KASAN 보고가 없었으므로 자연 재현은 타이밍에 민감하다. 초기화된 타이머에 대해 항상 hrtimer_cancel()을 호출한다. 타이머가 더 이상 설정되지 않은 경우 기존 -EINVAL 결과를 유지하되, 실행 중인 콜백과 동기화한 후에만 적용한다. 이 패치로 hrtimer_cancel()은 vCPU 파괴 전에 확장된 콜백 창 전체 동안 차단되었다. KASAN은 100회의 수정 및 확장 실행과 200회의 수정만 적용한 타이밍 스윕 실행에서 오류를 보고하지 않았다.
CVE-2026-98463
2026년 10월 19일In the Linux kernel, the following vulnerability has been resolved: sched_ext: Derive SCX_RQ_IN_WAKEUP from the core enqueue flags schedule_deferred_locked() skips scheduling a deferred action while SCX_RQ_IN_WAKEUP is set and relies on the task_woken_scx() call that follows a wakeup enqueue to run it. enqueue_task_scx() sets the flag from the merged enqueue flags, which include the flags stashed for a remote activation. move_remote_task_to_local_dsq() thus sets SCX_RQ_IN_WAKEUP on the destination rq when the moved task was woken up, although no task_woken_scx() follows that activation. An IMMED insert into a busy destination requests a local reenqueue during that enqueue. The request gets linked but not scheduled and stays pending until an unrelated wakeup or preemption on that CPU runs the deferred actions. The IMMED task sits behind the running task in the meantime. If nothing runs them before the scheduler is disabled, the request outlives the scheduler and points into its freed per-cpu area, which the next scheduler dereferences from run_deferred(). Test the core enqueue flags for the wakeup bit. Only the core's wakeup path is followed by task_woken_scx().
CVE-2026-98462
2026년 10월 19일In the Linux kernel, the following vulnerability has been resolved: Bluetooth: hci_conn: fix CIS hold ownership on reuse Commit 69997d50ec57 ("Bluetooth: ISO: handle bound CIS cleanup via hci_conn") made hci_bind_cis() and hci_connect_cis() return a connection with one hold for the ISO layer. hci_bind_cis() currently takes that hold only after configuring a CIS, so its BT_CONNECTED and matching BT_BOUND paths return a bare lookup result. Its configuration failure path can likewise call hci_conn_drop() before taking a hold. Take the hold before any state-dependent return or configuration error so every successful return follows the documented ownership contract and every error drop is balanced. hci_connect_cis() also assumes hci_conn_link() always takes a new CIS hold before dropping the one returned by hci_bind_cis(). However, the helper returns an existing link without taking another hold. In that case, preserve the CIS hold for the caller and drop the redundant LE hold because the existing link already owns its parent hold. Returning early also avoids changing an existing CIS back to BT_CONNECT.
CVE-2026-98461
2026년 10월 19일In the Linux kernel, the following vulnerability has been resolved: Bluetooth: hci_sock: validate event length before filtering is_filtered_packet() reads the event code from skb->data[0] without first checking that the skb is nonempty. When an opcode filter is configured, it also reads the command opcode at offsets 3 or 4 without checking that a Command Complete or Command Status event is long enough. hci_send_to_sock() invokes the filter before hci_event_packet() validates the event header. A malformed event supplied by a controller or a vhci device can therefore cause an out-of-bounds read. Keep the unmasked event code for the opcode checks. The masked value is needed for the 64-bit event bitmap, but using it to identify command events aliases event codes above 0x3f. In particular, Synchronous Train Complete (0x4f) was treated as Command Status (0x0f) even though its payload has no opcode. Reject actual command events that are too short for the field being inspected. A truncated command event cannot match a configured opcode.
CVE-2026-98460
2026년 10월 19일In the Linux kernel, the following vulnerability has been resolved: Bluetooth: hci_sock: reject out-of-range OCF values The raw HCI socket security filter has 128 OCF bits per supported OGF, but masks the 10-bit OCF with 127 before looking up the command. An unprivileged socket can therefore submit a reserved OCF that aliases an allowlisted command modulo 128. A conforming controller should reject reserved opcodes. Nevertheless, the security decision must apply to the opcode that will actually be sent, especially since controller-specific behavior is outside the host stack's control. Reject OCF values that cannot be represented by the security filter instead of aliasing them onto an unrelated command.
CVE-2026-98459
2026년 10월 19일In the Linux kernel, the following vulnerability has been resolved: Bluetooth: ISO: balance the parent hold in hci_bind_bis() hci_conn_link() takes a lifetime reference to its parent with hci_conn_get(), but only takes an operational hold on the child. hci_conn_unlink() later balances both a hold and a reference on the parent. The SCO and CIS paths pass a parent acquired from a connect helper, so it already has a hold. For an additional BIS, hci_bind_bis() obtains the parent from hci_conn_hash_lookup_big(), which returns a bare pointer. Unlinking the child then drops the parent's existing hold and can schedule it for disconnection while its socket is still using it. Take a hold on the parent before linking it and drop that hold if linking fails. A successful link transfers the hold to hci_conn_unlink().
CVE-2026-98458
2026년 10월 19일In the Linux kernel, the following vulnerability has been resolved: Bluetooth: ISO: release unused CIS holds after channel attach hci_bind_cis() and hci_connect_cis() return one hci_conn hold for the ISO layer. A new channel association consumes that hold, which is eventually released by iso_conn_free(). There are two cases where iso_chan_add() does not create an association: it returns success when the socket is already attached to the same iso_conn, and it returns -EBUSY when another socket is attached. The hold returned for the current call is unused in both cases. This occurs when deferred setup calls iso_connect_cis() again for its existing socket, or when another socket attempts to reuse the CIS. Detect the idempotent case while the connection is locked and release the unused hold after iso_chan_add(). Also release it on -EBUSY. Do not drop it for other errors: a newly allocated iso_conn releases the transferred hold when its last temporary reference is put.
CVE-2026-98457
2026년 10월 19일In the Linux kernel, the following vulnerability has been resolved: Bluetooth: L2CAP: validate frame length before control and FCS access l2cap_data_rcv() unpacks either a two-byte or four-byte control field without first ensuring that it is present. A short ERTM or streaming-mode frame can therefore cause an out-of-bounds read. There is a second short-frame case when CRC16 is enabled. After the control field is pulled, l2cap_check_fcs() subtracts two from skb->len without checking it. If fewer than two bytes remain, the subtraction wraps; skb_trim() leaves the buffer unchanged and the subsequent FCS load reads past the logical end of the frame. Validate that the frame contains both its control field and, when enabled, its FCS before either field is accessed.
CVE-2026-98456
2026년 10월 19일Linux 커널에서 다음 취약점이 해결되었다: Bluetooth: mgmt: read_unconf_index_list()의 경쟁 조건 수정 read_unconf_index_list()는 응답을 할당하기 전에 미구성 컨트롤러를 계산한 후, 응답을 채우는 동안 장치 플래그를 다시 확인한다. hci_dev_list_lock은 리스트 멤버십을 안정화하지만, 장치별 플래그를 직렬화하지는 않는다. 비동기 컨트롤러 설정 중에 작업자가 두 번의 검사 사이에 HCI_UNCONFIGURED를 설정하고 HCI_SETUP을 해제할 수 있다. 할당 계산에서 누락된 컨트롤러가 채우기 단계에서 적격해져 rp->index[]에 범위 밖 쓰기가 발생할 수 있다. hci_dev_list의 모든 장치에 공간을 할당한다. hci_dev_list_lock이 유지되는 동안 리스트 멤버십은 변경될 수 없으므로, 플래그 전환과 관계없이 응답 크기는 충분히 크다. 보고된 개수와 응답 길이는 여전히 적격한 미구성 컨트롤러만 포함한다.
CVE-2026-98455
2026년 10월 19일In the Linux kernel, the following vulnerability has been resolved: Bluetooth: RFCOMM: fix NULL dereference of dlc->session in RFCOMM_CONNINFO The RFCOMM_CONNINFO getsockopt handler accepts a socket that is not connected as long as deferred setup is enabled: if (sk->sk_state != BT_CONNECTED && !rfcomm_pi(sk)->dlc->defer_setup) { err = -ENOTCONN; break; } l2cap_sk = rfcomm_pi(sk)->dlc->session->sock->sk; dlc->defer_setup is set in rfcomm_sock_init() when rfcomm_connect_ind() creates a child socket for an incoming connection on a listening socket that has BT_DEFER_SETUP enabled. It is never cleared afterwards. The session, however, can go away underneath it. rfcomm_recv_disc() forces the dlc state before tearing it down: d->state = BT_CLOSED; __rfcomm_dlc_close(d, err); The RFCOMM_DEFER_SETUP early return in __rfcomm_dlc_close() only covers BT_CONNECT, BT_CONFIG, BT_OPEN and BT_CONNECT2, so with the state already BT_CLOSED that switch does not match and the function falls through to rfcomm_dlc_unlink(), which sets d->session = NULL, while d->defer_setup stays 1. A getsockopt(SOL_RFCOMM, RFCOMM_CONNINFO) on the accepted socket after that point therefore skips the -ENOTCONN path -- sk->sk_state is BT_CLOSED, but dlc->defer_setup is still set -- and dereferences the NULL session. No race is needed: once the DISC has been processed, the dereference is unconditional. Reproduced on a KASAN kernel under QEMU with a BR/EDR peer emulated over /dev/vhci: the peer brings up an ACL link, opens L2CAP on the RFCOMM PSM, starts a session and sends SABM for a channel bound with BT_DEFER_SETUP, and sends DISC for that dlci after the socket has been accepted. getsockopt(SOL_RFCOMM, RFCOMM_CONNINFO) on the accepted socket then hits: Oops: general protection fault, probably for non-canonical address 0xdffffc0000000002: 0000 [#1] SMP KASAN PTI KASAN: null-ptr-deref in range [0x0000000000000010-0x0000000000000017] CPU: 1 UID: 0 PID: 150 Comm: init Tainted: G B 7.3.0-rc3-g5dd1818b15d9 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996) RIP: 0010:rfcomm_sock_getsockopt+0x529/0x780 Call Trace: <TASK> do_sock_getsockopt+0x3ad/0x7d0 __sys_getsockopt+0x10e/0x1b0 __x64_sys_getsockopt+0xc2/0x160 do_syscall_64+0xda/0x4b0 entry_SYSCALL_64_after_hwframe+0x77/0x7f </TASK> 0x10 is the offset of sock in struct rfcomm_session; rfcomm_sock_getsockopt_old() is inlined into rfcomm_sock_getsockopt(). Commit 43a556b2fd43 ("Bluetooth: RFCOMM: take rfcomm_mutex for the deferred setup accept") fixed the same "a remote DISC clears the session while deferred setup is still flagged" problem in rfcomm_dlc_accept(); this is the remaining instance of it, in the getsockopt path. Deferred setup only leaves a socket usable here once it has reached BT_CONNECT2, so restrict the exception to that state and check that a session is actually present before following it.
CVE-2026-98454
2026년 10월 19일Linux 커널에서 다음 취약점이 해결되었다: smb: 클라이언트: create context 범위 밖 읽기 수정 smb2_parse_contexts()는 전체 create-context 영역을 검증하지만 각 레코드를 디스패치하기 전에 Next 필드로 제한하지 않는다. 따라서 잘못된 체인은 현재 컨텍스트를 넘어선 바이트를 핸들러에 노출할 수 있다. QFid 핸들러는 DiskFileId만 읽음에도 불구하고 전체 응답 구조체 캐스트를 사용했다. SMB2/SMB3 리스 파서는 동일한 레이아웃 가정을 했다: LeaseState와 LeaseFlags를 DataOffset이 아닌 정규 오프셋에서 읽었다. 유효한 비정규 DataOffset은 관련 없는 범위 내 데이터를 반환할 수 있으며, 짧은 DataLength도 여전히 허용되었다. 각 컨텍스트를 Next 값으로 제한하고, 컨텍스트 헤더 이전의 오프셋과 잘못된 체인을 거부한다. 이름 범위를 현재 컨텍스트로 제한하고 DataLength가 0일 때 알려진 핸들러를 디스패치하지 않는다. QFid DiskFileId는 컨텍스트 데이터가 해당 필드를 포함할 때만 읽는다. DataOffset에서 리스 컨텍스트를 파싱하고 DataLength가 ksmbd에서 사용하는 v1 또는 v2 lease_context 크기와 일치해야 한다. 크기 불일치는 열기 실패 없이 리스 파싱을 건너뛴다.
CVE-2026-98453
2026년 10월 19일In the Linux kernel, the following vulnerability has been resolved: smb: client: close handle after create-context parsing failure SMB2_open() accounts a successful CREATE response as a remote open before parsing its create contexts. If smb2_parse_contexts() rejects malformed context data, SMB2_open() returns without closing the handle, leaving the server-side handle open and num_remote_opens elevated. Close the handle after a post-CREATE context parsing failure so the error path releases the remote resource and balances the open count.
CVE-2026-98452
2026년 10월 19일In the Linux kernel, the following vulnerability has been resolved: smb: client: clean up failed cached directory opens open_cached_dir() sends CREATE and QUERY_INFO as a compound request. If the CREATE succeeds but a later command returns an error, the function must retain the CREATE FID so common cleanup can issue SMB2_close(). It also must not treat a response error as a valid CREATE. Validate the CREATE response before using its fields, record the FIDs, and mark the handle open before handling errors from later compound commands. Move the -EREMCHG reconnect handling before response validation so a missing response does not hide the reconnect request. Count the handle when it is marked open; confirmed close responses decrement the counter, while existing close retry behavior remains best effort on transport failures.
CVE-2026-98451
2026년 10월 19일Linux 커널에서 다음 취약점이 해결되었다: smb: 클라이언트: 비정규 아이노드에 대해 finish_no_open() 사용 O_CREAT 오픈은 기존의 심볼릭 링크 또는 다른 비정규 아이노드를 찾을 수 있다. cifs_atomic_open()은 그것에 대해 finish_open()을 호출하고 cifsFileInfo를 연결한다. 심볼릭 링크 아이노드는 CIFS 해제 작업이 없으므로 cifsFileInfo가 보유한 dentry 참조가 누수된다. FMODE_OPENED는 또한 VFS가 심볼릭 링크를 따라가는 것을 방지한다. cifs_do_create()가 열린 서버 핸들을 반환했는지 추적한다. 비정규 아이노드의 경우, 핸들이 존재하면 닫고, 보류 중인 오픈을 제거하며, VFS가 조회를 계속할 수 있도록 finish_no_open()을 호출한다. 정규 파일이 열리지 않은 경우 FMODE_CREATED를 설정하지 않는다. O_NOFOLLOW와 __O_REGULAR가 함께 있을 때는 VFS의 -EFTYPE 검사 전에 -ELOOP를 반환한다. 비정규 아이노드에 대한 레거시 POSIX 핸들 닫기는 아이노드 조회 후로 연기한다. 이는 조회 실패 시 다시 닫는 것을 방지한다.
CVE-2026-98450
2026년 10월 19일In the Linux kernel, the following vulnerability has been resolved: smb: client: close completed creates on compound wait errors compound_send_recv() waits for responses in order. If a later wait is interrupted, or if a later MID fails during response synchronization, an earlier CREATE may already have opened a remote handle. The earlier mid is then released without invoking handle_cancelled_mid(), leaving the remote handle open because no FID was copied to the caller. Mark completed earlier mids as cancelled when a compound wait or MID synchronization aborts. Keep their response buffers attached while the MIDs are synchronized, and transfer them only after synchronization of the processed responses, so the release path can inspect successful CREATE responses and queue SMB2_close() after a later failure. Account for a remote open only after the close work is allocated and before it is queued, since the caller has not yet updated num_remote_opens. Mark the create+close compound used by smb2_unlink() so it is not closed again. Non-CREATE responses and compounds that already include a close keep their existing behavior.
CVE-2026-98449
2026년 10월 19일In the Linux kernel, the following vulnerability has been resolved: smb: client: delete compound mids on send failure before unlock When sending a compound request fails, smb_send_rqst() kicks off a reconnect. compound_send_recv() still has those mids on pending_mid_q, but it unlocks the server without removing them first. During reconnect, cifs_abort_connection() walks pending_mid_q and runs each mid callback. With no response yet, those callbacks return credits and drop in_flight. Then compound_send_recv()'s send-error path returns the same credits again. in_flight ends up decremented twice and smb2_add_credits() WARNs. syzbot hits this during SMB2_negotiate when the socket send fails. cifs_call_async() already calls delete_mid() before unlock on send failure. Do the same for compound chains and set cancelled_mid[] so the out: path does not delete them again.
CVE-2026-98448
2026년 10월 19일In the Linux kernel, the following vulnerability has been resolved: xfs: release orphanage dir inode if chown fails LOLLM points out that we leak the igrab'd reference to the orphanage directory inode if chowning it fails. Fix that.