총 16,344건
CVE-2026-92520
2026년 9월 18일In the Linux kernel, the following vulnerability has been resolved: bpf: Zero queue and stack outputs on lock failure Queue and stack pop/peek helpers accept an uninitialized output buffer because the verifier expects the helper to initialize it. The empty-map error path clears the buffer, but a failed lock acquisition returns -EBUSY without writing it. Clear the output before returning -EBUSY so BPF programs cannot observe uninitialized stack contents after a failed helper call.
CVE-2026-92519
2026년 9월 18일In the Linux kernel, the following vulnerability has been resolved: riscv, bpf: Fix memory leak in bpf_jit_free When bpf_int_jit_compile() is called for subprograms, it returns early during the first pass (!prog->is_func || extra_pass is false), keeping ctx->offset alive for the subsequent extra pass. If JIT compilation fails for a later subprogram, the BPF core aborts and calls bpf_jit_free() to clean up the first subprogram. However, bpf_jit_free() fails to free jit_data->ctx.offset, which causes a memory leak of the JIT context offsets array. Fix this by adding the missing kfree(jit_data->ctx.offset) in bpf_jit_free().
CVE-2026-92518
2026년 9월 18일리눅스 커널에서 다음 취약점이 해결되었다: riscv, bpf: CFI가 적용된 tailcall에서 커널 스택 손상 수정 CONFIG_CFI_CLANG이 활성화된 경우, prog->bpf_func는 설정 중에 이미 kcfi 명령어를 건너뛴다. tailcall 점프 오프셋에 이를 다시 포함하면 4바이트를 추가로 건너뛰어 스택 포인터 조정이 누락되어 커널 스택 손상이 발생한다.
CVE-2026-92517
2026년 9월 18일In the Linux kernel, the following vulnerability has been resolved: bpf, riscv: Fix extable handling for arena load_acquire emit_atomic_ld_st() returns 1 to have build_body() skip the zext after a sub-word load_acquire. The caller does "ret = ret ?: add_exception_handler(...)", which skips add_exception_handler() on any non-zero ret, so the extable entry is missing and a faulting PROBE_ATOMIC load_acquire oopses. REG_DONT_CLEAR_MARKER leaves rd stale on fault, and the verifier still thinks the load overwrote it, so a program can leak it through a map. Check ret >= 0 before calling add_exception_handler(), and pass rd for LOAD_ACQ so the fault zeroes rd like a PROBE_MEM load. Return ret unchanged for the zext skip.
CVE-2026-92516
2026년 9월 18일In the Linux kernel, the following vulnerability has been resolved: bpf: Fix offset warn check for bpf_res_spin_lock Sashiko pointed out correctly that the case statement for BPF_RES_SPIN_LOCK incorrectly checks offset for BPF_SPIN_LOCK. Fix it by checking res_spin_lock_off instead.
CVE-2026-92515
2026년 9월 18일In the Linux kernel, the following vulnerability has been resolved: bpf: Preserve unique-field state across nested structs btf_find_struct_field() initializes a fresh seen mask for every recursive descent. Unique special fields in different levels of the same aggregate therefore do not see one another. The duplicate fields can reach btf_parse_fields(), where they trigger an invariant WARN_ON_ONCE(). A crafted user BTF can consequently trigger the warning before map creation checks capabilities. Initialize the seen mask once in btf_find_field() and pass the same pointer through struct, datasec, and nested-struct walks. This gives the entire field traversal one shared uniqueness state.
CVE-2026-92514
2026년 9월 18일In the Linux kernel, the following vulnerability has been resolved: RDMA/erdma: Fix CEQ tasklet use-after-free on removal Each CEQ interrupt handler only schedules eqc->tasklet. The tasklet calls erdma_ceq_completion_handler(), which reads the DMA-coherent EQ ring through get_next_valid_eqe() and updates eq->dbrec through notify_eq(). erdma_ceqs_uninit() frees each CEQ IRQ and then destroys its EQ. free_irq() prevents another hard IRQ and waits for an in-flight handler, but it does not drain a tasklet that the handler already scheduled. The tasklet can therefore access eq->qbuf or eq->dbrec after erdma_eq_destroy() frees them. Clearing ceq_cb->ready does not synchronize with a tasklet that already passed the check at the start of erdma_ceq_completion_handler(). Kill the tasklet after free_irq(), when no handler can schedule it again, and before erdma_ceq_uninit_one() releases the EQ buffers.
CVE-2026-92513
2026년 9월 18일In the Linux kernel, the following vulnerability has been resolved: RDMA/mana_ib: drain QP references after partial table insertion mana_table_store_ud_qp() publishes a QP at its send-queue id before inserting the receive-queue id, dropping the XArray lock between the two xa_insert_irq() calls. A concurrent completion handler can look up the QP and take a transient reference. When the second insertion fails, the rollback erased only the send-queue entry and returned, leaving both the initial table reference and the transient reference outstanding while RDMA core frees the QP, causing a use-after-free. Drain the reference as normal destruction does: drop the initial reference and wait for qp->free, releasing the QP only after every concurrent lookup returns its reference.
CVE-2026-92512
2026년 9월 18일In the Linux kernel, the following vulnerability has been resolved: RDMA/core: Fix use after free in ib_query_qp() When querying a QP via the netlink flow the only synchronization mechanism for the said QP is rdma_restrack_get(), meanwhile during the QP destroy path rdma_restrack_del() is called at the end of the ib_destroy_qp_user() function which is too late, since by then the vendor specific resources for said QP would already be destroyed, and till the rdma_restrack_del() is called this QP can still be accessed, which could cause the use after free below. Fix this by moving the rdma_restrack_begin_del() to the start of the ib_destroy_qp_user(), which in turn waits for all usages of the QP to be done then removes it from the database to prevent access to it while it is being destroyed. RIP: 0010:ib_query_qp+0x15/0x50 [ib_core] Code: 48 83 05 5d 8e b9 ff 01 eb b5 66 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 c7 46 40 00 00 00 00 48 c7 46 78 00 00 00 00 <48> 8b 07 48 8b 80 88 01 00 00 48 85 c0 74 1a 48 83 05 54 91 b9 ff RSP: 0018:ff11000108a8f2f0 EFLAGS: 00010202 RAX: 0000000000000000 RBX: ff11000108a8f370 RCX: ff11000108a8f370 RDX: 0000000000000000 RSI: ff11000108a8f3d8 RDI: 0000000000000000 RBP: ff1100010de5a000 R08: 0000000000000e80 R09: 0000000000000004 R10: ff110001057a604c R11: 0000000000000000 R12: ff11000108a8f370 R13: ff110001090e8000 R14: 0000000000000000 R15: ff110001057a602c FS: 00007f2ffd8db6c0(0000) GS:ff110008dc90b000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 000000010b9a7004 CR4: 0000000000373eb0 Call Trace: <TASK> mlx5_ib_gsi_query_qp+0x21/0x50 [mlx5_ib] mlx5_ib_query_qp+0x689/0x9d0 [mlx5_ib] ib_query_qp+0x35/0x50 [ib_core] fill_res_qp_entry_query.isra.0+0x47/0x280 [ib_core] ? __wake_up+0x40/0x50 ? netlink_broadcast_filtered+0x15a/0x550 ? kobject_uevent_env+0x562/0x710 ? ep_poll_callback+0x242/0x270 ? __nla_put+0xc/0x20 ? nla_put+0x28/0x40 ? nla_put_string+0x2e/0x40 [ib_core] fill_res_qp_entry+0x138/0x190 [ib_core] res_get_common_dumpit+0x4a5/0x800 [ib_core] ? fill_res_qp_entry_query.isra.0+0x280/0x280 [ib_core] nldev_res_get_qp_dumpit+0x1e/0x30 [ib_core] netlink_dump+0x16f/0x450 __netlink_dump_start+0x1ce/0x2e0 rdma_nl_rcv_msg+0x1d3/0x330 [ib_core] ? nldev_res_get_qp_raw_dumpit+0x30/0x30 [ib_core] rdma_nl_rcv_skb.constprop.0.isra.0+0x108/0x180 [ib_core] rdma_nl_rcv+0x12/0x20 [ib_core] netlink_unicast+0x255/0x380 ? __alloc_skb+0xfa/0x1e0 netlink_sendmsg+0x1f3/0x420 __sock_sendmsg+0x38/0x60 ____sys_sendmsg+0x1e8/0x230 ? copy_msghdr_from_user+0xea/0x170 ___sys_sendmsg+0x7c/0xb0 ? __futex_wait+0x95/0xf0 ? __futex_wake_mark+0x40/0x40 ? futex_wait+0x67/0x100 ? futex_wake+0xac/0x1b0 __sys_sendmsg+0x5f/0xb0 do_syscall_64+0x55/0xb90 entry_SYSCALL_64_after_hwframe+0x4b/0x53
CVE-2026-92511
2026년 9월 18일Linux 커널에서 다음 취약점이 해결되었다: RDMA/core: ib_destroy_cq_user()에서 발생할 수 있는 해제 후 사용(use-after-free) 문제 수정 netlink 경로를 통해 CQ에 접근할 때 해당 CQ에 대한 유일한 동기화 메커니즘은 rdma_restrack_get()이다. 현재 ib_destroy_cq_user() 종료 시점에 rdma_restrack_del()이 호출되는데, 이는 너무 늦은 시점이다. 이 시점에는 CQ와 연관된 벤더별 리소스가 이미 해제되었을 수 있다. 이로 인해 CQ가 restrack을 통해 접근 가능한 짧은 시간 창이 남아 해제 후 사용 문제가 발생할 수 있다. 이 문제를 해결하기 위해 ib_destroy_cq_user() 시작 부분으로 rdma_restrack_begin_del() 호출을 이동하여 CQ가 내부 리소스 해제 전에 restrack에서 제거되도록 하였다. 이를 통해 파괴 중인 CQ에 대해 새로운 사용자가 참조를 보유하지 않도록 보장한다. 추가로, 이 변경은 생성 및 파괴 루틴 간의 의도된 역순을 유지한다: 리소스는 생성 성공 시점에 restrack에 추가되고, 따라서 파괴 흐름에서는 가장 먼저 restrack에서 제거되어 라이프사이클 관리가 일관되고 예측 가능하도록 한다.
CVE-2026-92510
2026년 9월 18일Linux 커널에서 다음 취약점이 해결되었다: RDMA/core: ib_destroy_srq_user()에서 발생할 수 있는 해제 후 사용(use-after-free) 문제 수정 netlink 경로를 통해 SRQ에 접근할 때 해당 SRQ에 대한 유일한 동기화 메커니즘은 rdma_restrack_get()이다. 현재 ib_destroy_srq_user() 종료 시점에 rdma_restrack_del()이 호출되는데, 이는 너무 늦은 시점이다. 이 시점에는 SRQ와 연관된 벤더별 리소스가 이미 해제되었을 수 있다. 이로 인해 restrack을 통해 SRQ에 접근 가능한 짧은 시간 창이 남아 해제 후 사용 문제가 발생할 수 있다. 이를 해결하기 위해 rdma_restrack_begin_del() 호출을 ib_destroy_srq_user() 시작 부분으로 이동시켜, 내부 리소스가 해제되기 전에 SRQ가 restrack에서 제거되도록 하였다. 이는 파괴 중인 SRQ에 대해 새로운 사용자가 참조를 보유하지 않도록 보장한다. 추가로, 이 변경은 생성 및 파괴 루틴 간의 의도된 역순을 유지한다: 리소스는 생성 성공 시점에 restrack에 추가되고, 파괴 흐름에서는 가장 먼저 restrack에서 제거되어 라이프사이클 관리가 일관되고 예측 가능하도록 한다.
CVE-2026-92509
2026년 9월 18일In the Linux kernel, the following vulnerability has been resolved: RDMA/core: Fix potential use after free in counter_release() When accessing a counter via the netlink path the only synchronization mechanism for the said counter is rdma_restrack_get(). Currently, rdma_restrack_del() is invoked at the end of counter_release(), which is too late, since by that point vendor-specific resources associated with the counter might already be freed. This can leave a short window where the counter remains accessible through restrack, leading to a potential use-after-free. Fix this by moving the rdma_restrack_del() call to be before the freeing of the vendor-specific resources, ensuring that the counter is removed from restrack before its internal resources are released. This guarantees that no new users hold references to a counter that is in the process of destruction.
CVE-2026-92508
2026년 9월 18일Linux 커널에서 다음 취약점이 해결되었다: RDMA/core: ib_free_cq()에서 발생할 수 있는 해제 후 사용(use-after-free) 문제 수정 netlink 경로를 통해 CQ에 접근할 때 해당 CQ에 대한 유일한 동기화 메커니즘은 rdma_restrack_get()이다. 현재 ib_free_cq()의 끝에서 rdma_restrack_del()이 호출되는데, 이는 너무 늦은 시점이다. 그 시점에는 CQ와 연관된 벤더별 리소스가 이미 해제되었을 수 있다. 이로 인해 CQ가 restrack을 통해 접근 가능한 짧은 시간 창이 남아 해제 후 사용 문제가 발생할 수 있다. 이 문제를 해결하기 위해 rdma_restrack_del() 호출을 벤더별 리소스 해제 이전으로 이동하여 CQ가 내부 리소스 해제 전에 restrack에서 제거되도록 하였다. 이로써 파괴 과정에 있는 CQ에 대해 새로운 사용자가 참조를 보유하지 않도록 보장한다.
CVE-2026-92507
2026년 9월 18일Linux 커널에서 다음 취약점이 해결되었다: RDMA/core: ib_dealloc_pd_user()에서 발생할 수 있는 해제 후 사용(use-after-free) 문제 수정 netlink 경로를 통해 PD에 접근할 때 해당 PD에 대한 유일한 동기화 메커니즘은 rdma_restrack_get()이다. 현재 ib_dealloc_pd_user() 종료 시점에 rdma_restrack_del()이 호출되는데, 이는 너무 늦은 시점이다. 그 시점에는 이미 PD와 연관된 벤더별 리소스가 해제되었을 수 있다. 이로 인해 PD가 restrack을 통해 접근 가능한 짧은 시간 창이 남아 해제 후 사용 문제가 발생할 수 있다. 이를 해결하기 위해 ib_dealloc_pd_user() 시작 부분으로 rdma_restrack_begin_del() 호출을 이동하여, 내부 리소스가 해제되기 전에 PD가 restrack에서 제거되도록 하였다. 이는 파괴 과정 중인 PD에 대해 새로운 사용자가 참조를 보유하지 않도록 보장한다. 추가로, 이 변경은 생성 및 파괴 루틴 간의 의도된 역순을 유지한다: 리소스는 생성 성공 시점에 restrack에 추가되고, 파괴 흐름에서는 가장 먼저 restrack에서 제거되어 라이프사이클 관리가 일관되고 예측 가능하도록 한다.
CVE-2026-92506
2026년 9월 18일In the Linux kernel, the following vulnerability has been resolved: firmware: arm_scmi: Fix requested device removal race scmi_protocol_device_unrequest() drops scmi_requested_devices_mtx while notifying listeners but continues to retain the per-protocol list head. When two SCMI drivers for the same protocol unregister concurrently, one thread can remove the final request and free the list head while the other is running its notifier. The latter then dereferences the freed list head after reacquiring the mutex and can free it a second time. Complete the list and IDR updates, including freeing an empty list head, before dropping the mutex. Keep the blocking notifier outside the critical section and retain only the detached request across the callback.
CVE-2026-92505
2026년 9월 18일In the Linux kernel, the following vulnerability has been resolved: iommu/amd: Fix undefined behavior in devid_write debugfs function When for_each_pci_segment() loop completes without finding a matching segment, the pci_seg pointer is not NULL but points to an invalid memory location (the list head). Accessing pci_seg->id after the loop causes undefined behavior. Fix this by handling the successful case inside the loop and returning -EINVAL after the loop if no matching segment is found.
CVE-2026-92504
2026년 9월 18일Linux 커널에서 다음 취약점이 해결되었다: thermal: intel: int3400: 프로브 실패 시 ODVP 정리 evaluate_odvp()는 thermal zone 이전에 ODVP별 sysfs 파일을 생성하며 이후 프로브 리소스가 등록된다. 현재의 언와인드 경로는 늦은 sysfs 실패 경로에서만 cleanup_odvp()를 호출하므로 evaluate_odvp() 이후부터 해당 지점 이전, thermal_tripless_zone_device_register() 실패를 포함한 실패는 ODVP 파일과 저장소를 남긴다. ODVP 정리를 공통 ART/TRT 언와인드 경로로 이동하여 evaluate_odvp() 이후 모든 실패가 ODVP 상태를 해제하도록 한다. 또한 evaluate_odvp()가 프로브가 계속되는 동안 부분 설정 실패에 대해 이미 cleanup_odvp()를 호출할 수 있으므로 cleanup_odvp()에서 캐시된 ODVP 포인터도 지운다.
CVE-2026-92503
2026년 9월 18일In the Linux kernel, the following vulnerability has been resolved: ext4: fix ABBA deadlock in ext4_xattr_inode_cache_find() Syzbot/stress-ng reported an ABBA deadlock in ext4 when exercising concurrent xattr workloads (using the ea_inode mount/format option). The deadlock occurs between the running transaction and the eviction thread: - Task 1 (stress-ng): Holds a reference to a shared mbcache_entry (ce) and calls ext4_xattr_inode_cache_find() -> ext4_iget() to retrieve the corresponding EA inode. Since the EA inode is currently being evicted, ext4_iget() blocks in __wait_on_freeing_inode() waiting for eviction to complete. - Task 2 (eviction thread): Currently evicting the same EA inode in ext4_evict_ea_inode(). It calls mb_cache_entry_wait_unused(oe) which blocks waiting for Task 1 to release the reference to the mbcache_entry. To break this deadlock, implement a new ext4_iget() configuration flag named EXT4_IGET_NOWAIT. When set, perform a non-blocking lookup of the inode via VFS's find_inode_nowait() API. If the inode is currently being evicted (marked with I_FREEING or I_WILL_FREE) or created (I_CREATING), or if it is not present in the VFS inode cache (cache miss), simply skip it (returning -ENOENT) rather than waiting for eviction/creation to complete, breaking the ABBA cycle. Since we return -ENOENT immediately on a cache miss, we never attempt to allocate a new inode or call iget_locked(), completely eliminating any TOCTOU race window. If the returned inode is I_NEW, wait for its initialization to clear via wait_on_new_inode(). If initialization fails and the inode is unhashed during wait_on_new_inode() waking up (e.g., due to an I/O read error in another thread), safely drop the reference and return -ENOENT. This unhashed check is executed unconditionally on all cache-hit pathways to properly handle concurrent initialization failures. Finally, standard validation checks (including is_bad_inode, EXT4_EA_INODE_FL, file_acl, and xattr flags) are executed as normal inside check_igot_inode() to fully guarantee VFS-layer safety. In ext4_xattr_inode_cache_find(), invoke ext4_iget() with the new EXT4_IGET_NOWAIT flag to perform the non-blocking cache search.
CVE-2026-92502
2026년 9월 18일In the Linux kernel, the following vulnerability has been resolved: ext4: clear stale xarray tags on folios skipped during writeback In data=journal mode, the writeback thread can hit the WARN_ON_ONCE(sb_rdonly(sb)) in ext4_journal_check_start() while the superblock is being remounted read-only during reboot: Workqueue: writeback wb_workfn (flush-253:0) RIP: 0010:ext4_journal_check_start+0x8b/0xd0 Call Trace: __ext4_journal_start_sb+0x3c/0x1e0 mpage_prepare_extent_to_map+0x4af/0x580 ext4_do_writepages+0x3c0/0x1080 ext4_writepages+0xc8/0x1a0 do_writepages+0xc4/0x180 __writeback_single_inode+0x45/0x2f0 writeback_sb_inodes+0x26b/0x5d0 __writeback_inodes_wb+0x54/0x100 wb_writeback+0x1ac/0x320 wb_workfn+0x394/0x470 And followed by the warning: EXT4-fs warning (device vda1): ext4_evict_inode:195: inode #6263: comm (sd-umount): data will be lost This issue is not reproduced every time, but frequently. The reproduction step is to create a VM with 8 CPUs, 16G memory and setup data=journal: sudo tune2fs -o journal_data /dev/vda1 Run fio: rm -f fiotest fio --name=fiotest --rw=randwrite --bs=4k --runtime=6 --ioengine=libaio --iodepth=256 --numjobs=8 --filename=fiotest --filesize=30G --group_reporting Reboot the VM, and check the console output from: virsh console testvm But there is no dirty inode, folio_clear_dirty_for_io clears PG_dirty but leaves tags PAGECACHE_TAG_DIRTY and PAGECACHE_TAG_TOWRITE set which are only cleared by __folio_start_writeback. In data=journal mode, jbd2 checkpoints the journalled data to its final location and clears its own dirty flag without touching folio PG_dirty or xarray dirty flags. The commit f4a2b42e7891 ("ext4: fix stale xarray tags after writeback") fixes when PG_dirty is still set but there is no dirty page. Another case is PG_dirty is cleared, but PAGECACHE_TAG_DIRTY and PAGECACHE_TAG_TOWRITE is still set. In this case, writeback thread checks clean folio and skips it in mpage_prepare_extent_to_map: if (!folio_test_dirty(folio) || ... folio_unlcok(folio); continue And never reaches ext4_bio_write_folio where the commit f4a2b42e7891 clears the stale xarray tags. Print debug logs after the filesystem is remounted read-only: writepages RDONLY nrpages=2048 dirtytag=1 wbtag=0 towrite=1 sync=0 And all folios are actually clean: folio idx=3 dirty=0 wb=0 checked=0 dirtybuf=0 jbddirty=0 mapped=1 ... We need to clear the xarray stale tags for such clean folios by cycling them through writeback in the skip path, the same way f4a2b42e7891 does in ext4_bio_write_folio.
CVE-2026-92501
2026년 9월 18일In the Linux kernel, the following vulnerability has been resolved: ext4: drain in-flight DIO before buffered write fallback generic/746 started failing intermittently on ext3 (no-extent inodes). The test triggers 'Page cache invalidation failure on direct I/O' warnings and subsequent fsync returns -EIO. Adding a 50ms delay between ext4_buffered_write_iter() and filemap_write_and_wait_range() in ext4_dio_write_iter() makes the race almost always reproducible. On no-extent inodes, DIO writes to holes cannot use unwritten extents, so ext4_iomap_alloc() leaves m_flags=0 and ext4_map_blocks() returns 0. The iomap layer then returns -ENOTBLK, causing fallback to buffered I/O. The fallback path in ext4_dio_write_iter() calls ext4_buffered_write_iter() which dirties pages, then does flush and invalidate. However, there's an unprotected window between ext4_buffered_write_iter() returning (with inode lock released) and the subsequent flush+invalidate. Concurrent async DIO completions from other threads can run kiocb_invalidate_post_direct_write() during this window. If pages have been re-dirtied, post-invalidation finds dirty pages and triggers the warning, setting -EIO in the error sequence. Consider a file with two 4k extents: [hole][written]. Thread A does DIO to the written extent, while thread B does DIO spanning both: kworker A (4k DIO, allocated block) kworker B (8k DIO, fallback) ----------------------------------- ---------------------------- inode_lock_shared() inode_lock_shared() iomap_dio_rw(): iomap_dio_rw(): kiocb_invalidate_pages -> clean iomap_begin -> -ENOTBLK submit_bio (async) dio->size = 0 inode_unlock_shared() inode_unlock_shared() [bio pending in block layer] /* fallback: lock released */ ext4_buffered_write_iter() inode_lock(exclusive) generic_perform_write() -> dirty pages [0, 8k] inode_unlock(exclusive) /* pages dirty, no lock */ [bio completes] filemap_write_and_wait_range() iomap_dio_complete() -> flush dirty pages kiocb_invalidate_post_direct_write() invalidate_mapping_pages() invalidate_inode_pages2_range() -> finds dirty page! -> dio_warn_stale_pagecache() -> errseq_set(-EIO) This issue can be triggered through normal I/O paths, not just intentionally overlapping DIO writes from userspace. For example, generic/746 uses a loop device where multiple kworkers issue concurrent I/O to the backing file. Additionally, when block_size < folio_size, non-overlapping DIO writes that share a large folio can also trigger the race. Add inode_dio_wait() in ext4_buffered_write_iter() before ext4_write_checks() to drain all in-flight DIO. This ensures that all DIO clears existing pages before submitting IO (via kiocb_invalidate_pages()), all BIO waits for all DIO to complete (via inode_dio_wait()), and ext4_write_checks() observes the inode size after all completed DIO so that ext4_block_zero_eof() does not race with in-flight DIO, thus eliminating the race.