총 16,344건
CVE-2026-97536
2026년 9월 25일Linux 커널에서 다음 취약점이 해결되었다: scsi: qla2xxx: 큐 해제 시 qpair 작업의 해제 후 사용(use-after-free) 수정 응답 큐 MSI-X 핸들러 qla2xxx_msix_rsp_q()는 queue_work(ha->wq, &qpair->q_work)를 통해 qla_do_work()를 예약한다. qla_do_work()는 qpair(vha, rsp)를 역참조하고 qpair->qp_lock을 획득한다. 해제 과정에서 qla2xxx_delete_qpair()는 응답 큐를 삭제하며, 이는 qla25xx_free_rsp_que()에서 free_irq()를 호출하고 이후 큐와 qpair를 해제한다. free_irq()는 실행 중인 하드 IRQ 핸들러를 대기하지만 ha->wq에 이미 배치된 작업은 취소하지 않는다. 아직 대기 중인 q_work가 해제된 qpair와 응답 큐에 대해 qla_do_work()를 실행하여 해제 후 사용(use-after-free)이 발생한다. 이는 특히 전체 어댑터 해제 시 destroy_workqueue(ha->wq)가 큐 쌍이 해제된 후에도 대기 중인 작업을 강제로 실행할 때 더욱 가능성이 높다. free_irq()가 인터럽트를 해제한 후(새 작업이 큐에 추가될 수 없도록) 그리고 응답 큐와 qpair 메모리가 해제되기 전에(플러시된 핸들러가 여전히 유효한 메모리를 참조하도록) qla25xx_free_rsp_que()에서 cancel_work_sync()로 작업 항목을 플러시한다. rsp->qpair와 ha->wq에 대해 INIT_WORK() 조건과 일치하도록 검사하여 초기화되지 않은 work_struct에 대해 작업하는 것을 방지한다.
CVE-2026-97535
2026년 9월 25일In the Linux kernel, the following vulnerability has been resolved: scsi: qla2xxx: Bound VP index against VP_CTRL IOCB bitmap size The VP control IOCB selects its target virtual port by setting one bit in vp_idx_map, a fixed 16-byte (128-bit) array in both vp_ctrl_entry_24xx and vp_ctrl_entry_24xx_ext. qla25xx_ctrlvp_iocb() computes map = (vp_index - 1) / 8 and writes vce->vp_idx_map[map] without checking that map stays within the array. max_npiv_vports is taken from firmware and only sanitized to a MIN_MULTI_ID_FABRIC-aligned boundary, so it can legitimately be 191 or 255, and qla24xx_control_vp() only rejects vp_index >= max_npiv_vports. A vp_index above 128 therefore yields map >= 16 and an out-of-bounds write of up to 16 bytes past vp_idx_map, corrupting the trailing IOCB fields (or the adjacent request-ring slot on the 64-byte layout). Reject a vp_index that cannot be represented in the IOCB bitmap in qla24xx_control_vp(), and add a defensive ARRAY_SIZE() guard in qla25xx_ctrlvp_iocb() before the write. Adapters that report the usual 63 or 127 NPIV vports are unaffected.
CVE-2026-97534
2026년 9월 25일In the Linux kernel, the following vulnerability has been resolved: f2fs: accurately adjust free_sections during free_segment_range In free_segment_range(), MAIN_SECS(sbi) is temporarily reduced by `secs` to restrict block allocation to the safe remaining main area while valid blocks in the truncated range are evacuated by GC. However, FREE_I(sbi)->free_sections tracks the total number of free sections across the whole filesystem. If any sections within the truncated range were already free upon entering free_segment_range(), failing to deduct them from free_sections causes the filesystem to overestimate available free sections in the active, reduced main area. This leads to inconsistent free section accounting during GC data migration and can trigger unexpected allocation failures or assertion errors when space is tight. Fix this by calculating the number of already-free sections in the truncated range, deducting them from free_sections upon entering free_segment_range(), and restoring them on exit.
CVE-2026-97533
2026년 9월 25일In the Linux kernel, the following vulnerability has been resolved: x86/mm/pat: Acquire init_mm read lock on attribute changes to avoid UAF A previous commit protected against races between ptdump and CPA collapse, however one still exists between attribute changes and collapse as reported by Denis V. Lunev (linked). When an attribute change arises, a lockless page table walker obtains a PTE entry, which is later written to via set_pte_atomic(): ... -> change_page_attr_set_clr() -> __change_page_attr_set_clr() -> __change_page_attr() -> _lookup_address_cpa() -> lookup_address_in_pgd_attr() -> [ lockless page table walker ] -> set_pte_atomic() There is nothing preventing a concurrent CPA collapse which can free the PTE that was retrieved here, resulting in a use-after-free. With the mmap write lock taken on init_mm over CPA collapse, resolve this race by acquiring an mmap read lock on init_mm over __change_page_attr_set_clr(). This locks across the whole operation over which the walk and the PTE entry write occurs, solving the race. It is safe to do this here, as no spinlocks are held upon entry to __change_page_attr_set_clr(). However, the lock must not be held over an allocation, as allocation can trigger reclaim and shrinkers may call into CPA recursively, making deadlocks possible (init_mm -> ... -> fs_reclaim -> init_mm). A page table is allocated when a huge page needs to be split: -> change_page_attr_set_clr() -> __change_page_attr_set_clr() -> __change_page_attr() -> split_large_page() [ pagetable_alloc() ] -> __split_large_page() Avoid deadlocks by dropping the mmap lock across pagetable_alloc() in split_large_page() and track whether this is needed by adding a new 'init_mm_read_locked' flag to struct cpa_data. This is safe as __split_large_page() (called with locks re-established) revalidates that the page table entry is the same as it was prior to the locks being dropped and __change_page_attr() repeats the entire page table walk whenever a split occurs, so concurrent split and collapse are accounted for. Concurrent ptdump is also safe as the lock is only dropped over page table allocation during which time the page table has not yet been modified. The CPA_COLLAPSE flag is only set by set_memory_rox(), which exclusively operates upon vmalloc ranges, and on x86 only within the module mapping space. This is important, because some callers directly invoke __change_page_attr_set_clr(), bypassing this lock. However, none of these operate within the module mapping space. * cpa_process_alias() - a recursive helper called by __change_page_attr_set_clr(). * __set_memory_enc_pgtable() - operates on the direct mapping and (via __vmbus_establish_gpadl()) the vmalloc mapping space. * __set_pages_[n]p() - called by set_direct_map_[invalid, default, valid]_noflush(), __kernel_map_pages() - operates on the direct map. * kernel_[un]map_pages_in_pgd() - operates on EFI ranges. This work is based upon Denis V. Lunev's excellent analysis of the bug with gratitude. [ dhansen: move to imperative voice in changelog ]
CVE-2026-97532
2026년 9월 25일In the Linux kernel, the following vulnerability has been resolved: scsi: qla2xxx: Null out freed pointers in qla2x00_mem_alloc() error path When qla2x00_mem_alloc() fails, qla2x00_probe_one() jumps to probe_hw_failed and calls qla2x00_mem_free(). Several error labels in qla2x00_mem_alloc() freed adapter members (elsrej.c, purex_dma_pool, flt, sfp_data, loop_id_map, async_pd, sf_init_cb, ex_init_cb, npiv_info) but left the pointers dangling. qla2x00_mem_free() then freed them a second time. Worse, for the dma_pool members it issued dma_pool_free(ha->s_dma_pool, ...) after s_dma_pool had already been destroyed and set to NULL at fail_s_dma_pool, dereferencing a NULL pool. Clear each freed pointer (and its DMA handle) in the error labels so the subsequent qla2x00_mem_free() skips them.
CVE-2026-97531
2026년 9월 25일리눅스 커널에서 다음 취약점이 해결되었다: scsi: qla2xxx: 보고서 ID 획득 시 삭제 중인 vport 건너뛰기 qla24xx_report_id_acquisition()의 format-1 처리는 vport_slock 하에서 ha->vp_list를 순회하며, 일치하는 vport에 대해 vref_count를 취하고 qla_update_host_map()을 호출하여 포트 ID를 등록한다. qla24xx_vport_delete()를 통한 vport 해제는 VPORT_DELETE를 설정하고, qla24xx_disable_vp()는 vport를 host_map btree에서 제거하고 vha->d_id(RESET_AL_PA)를 0으로 설정한다. vport는 나중에 qla24xx_deallocate_vp_id()에서 vp_list에서만 연결이 해제되며, 이 함수는 vp_map[idx](RESET_VP_IDX)를 초기화하지만 host_map은 건드리지 않는다. 이 사이의 시간 동안 보고서 ID 획득은 여전히 vp_list에서 vport를 찾을 수 있고 qla_update_host_map()을 호출한다; d_id가 이미 0이므로 btree_insert32() 경로를 타며 죽어가는 vport를 host_map에 다시 삽입한다. 이후에 해당 항목을 정리하는 과정이 없어 scsi_host_put()이 vha를 해제한 후 나중에 host_map 조회가 해제된 메모리를 역참조하게 된다. 참조를 취하기 전에 VPORT_DELETE가 설정된 vport를 건너뛰어 재등록되거나 DPC 재등록이 예약되지 않도록 한다. 이는 qla2x00_alert_all_vps()에 이미 존재하는 보호와 일치한다.
CVE-2026-97530
2026년 9월 25일In the Linux kernel, the following vulnerability has been resolved: scsi: qla2xxx: Fix soft lockup polling continuation IOCB signature qla27xx_copy_multiple_pkt() and qla27xx_copy_fpin_pkt() poll rsp_q->ring_ptr->signature for RESPONSE_PROCESSED (0xDEADDEAD) to decide whether the next continuation IOCB has arrived, spinning on cpu_relax() without advancing the ring or decrementing the entry count while it has not. response_t::signature lives at byte offset 60, but a continuation IOCB (sts_cont_entry_t / struct sts_cont_entry_ext) carries raw FC frame payload at that offset (data[56..59]). A received frame whose payload bytes happen to equal 0xDEADDEAD is therefore misread as "not yet arrived", and the loop spins forever in interrupt/DPC context, causing a CPU soft lockup. The poll is also unnecessary: callers of qla27xx_copy_multiple_pkt() (PT_LS4_UNSOL and the NVMe purls path) already gate on qla_chk_cont_iocb_avail(), which guarantees all entry_count IOCBs are present before copying begins. The sibling helper __qla_copy_purex_to_buffer() already drops the signature poll and relies on the entry_type == STATUS_CONT_TYPE guard instead. Remove the signature busy-wait from both helpers, keeping the entry_type guard, and gate the FPIN path with qla_chk_cont_iocb_avail() so it defers and re-processes on the next interrupt once all continuation IOCBs have arrived, mirroring the ELS_AUTH_ELS and PT_LS4_UNSOL arms. With this the signature field is never read on a continuation IOCB, eliminating the payload-aliasing lockup.
CVE-2026-97529
2026년 9월 25일In the Linux kernel, the following vulnerability has been resolved: scsi: qla2xxx: Validate BSG request_len before reading vendor_cmd[] The FC BSG transport allocates job->request via memdup_user() using the exact user-supplied request_len. For FC_BSG_HST_VENDOR, fc_bsg_host_dispatch() only guarantees request_len covers msgcode and vendor_id; it does not account for the vendor_cmd[] flexible array. qla2xxx then reads the command selector vendor_cmd[0] and, in several sub-handlers, vendor_cmd[1]/[2] or structures overlaid on the vendor command area without verifying request_len. A caller holding CAP_SYS_RAWIO can submit a short request whose vendor_id matches the host, triggering out-of-bounds heap reads (KASAN-detectable, and able to mis-select a command or panic). Add a central guard in qla2x00_process_vendor_specific() so the selector is always in bounds, restrict the early vendor_cmd[0] read in qla24xx_bsg_request() to sufficiently long vendor messages, and add request_len checks to the sub-handlers that read further: qla24xx_proc_fcp_prio_cfg_cmd(), qla2x00_process_loopback(), qla84xx_reset(), qla84xx_updatefw(), qla2x00_read_optrom(), qla2x00_update_optrom(), qlafx00_mgmt_cmd() and qla28xx_validate_flash_image().
CVE-2026-97528
2026년 9월 25일Linux 커널에서 다음 취약점이 해결되었다: scsi: qla2xxx: LS 거부 오류 시 NVMe 비동기 컨텍스트를 해제 전에 연결 해제하지 않음 qla_nvme_xmt_ls_rsp()는 uctx를 얻는데, 이는 qla2xxx_process_purls_iocb()에 의해 fcport->unsol_ctx_head에 연결되어 있으며 NVMe 전송이 LS 응답을 전송할 때 여전히 연결되어 있다. 오류(out:) 경로에서 이 함수는 uctx를 kfree()로 해제하지만 리스트에서 제거하지 않는다. 이로 인해 해제된 노드가 fcport->unsol_ctx_head에 남아 있게 되고, 해당 fcport에 대한 다음 list_add_tail() 호출이 해제된 노드를 통해 쓰기를 수행하며, 이후 list_del() 호출이 리스트를 손상시키거나 패닉을 유발할 수 있다. 오류 경로에서 kfree() 전에 list_del()로 uctx를 연결 해제하여 qla_nvme_release_lsrsp_cmd_kref()와 qla2xxx_process_purls_pkt()의 다른 해제 지점과 일치시킨다. 실패 경로의 qla2x00_rel_sp()는 SRB를 풀에 반환만 하고 sp->put_fn을 호출하지 않으므로, out: 경로가 유일한 해제 지점이며 uctx는 항상 그곳에서 연결된 상태이다.
CVE-2026-97527
2026년 9월 25일Linux 커널에서 다음 취약점이 해결되었다: scsi: qla2xxx: NVMe 비동기 컨텍스트 리스트를 fcport별 잠금으로 직렬화 fcport->unsol_ctx_head 리스트는 공통 잠금 없이 여러 컨텍스트에서 수정된다. 항목들은 응답 큐 ISR 내 qla2xxx_process_purls_iocb()에서 (qpair qp_lock 하에) 추가되며, qla2xxx_process_purls_pkt() (DPC/purex 작업자), qla_nvme_xmt_ls_rsp() (NVMe-FC 전송 콜백), qla_nvme_release_lsrsp_cmd_kref() (SRB 완료)에서 제거된다. qpair qp_lock은 멀티큐 어댑터가 서로 다른 qpairs를 통해 항목을 추가하기 때문에 이 fcport별 리스트를 직렬화할 수 없어, 동시 추가 및 삭제(또는 두 개의 동시 삭제)가 리스트 포인터를 손상시킬 수 있다. qla2x00_alloc_fcport()에서 초기화되는 전용 fcport별 스핀락 unsol_ctx_lock을 도입하고, unsol_ctx_head에 대한 모든 list_add_tail()/list_del() 호출 시 이 잠금을 획득한다. 추가는 기존 qp_lock 내에서 중첩되며, 삭제 경로는 qp_lock을 획득하지 않아 잠금 순서가 일관되고 교착 상태가 없다.
CVE-2026-97526
2026년 9월 25일In the Linux kernel, the following vulnerability has been resolved: s390/pai: Support CPU hotplug for PMU PAI The command 'perf stat -e pai_crypto/CRYPTO_ALL/ -- <command>' crashes the kernel when CPUs are hotplug added during that run. Root cause is the missing allocation of per-CPU data structures for that new CPU. The allocation is dynamic and the first event that has task context creates such a structure for each online CPU. This is not sufficient. CPUs may be offline during event creation and can be set online during the perf run time. For example commands # echo 0 > /sys/devices/system/cpu/cpu1/online # perf stat -e cycles -i -- stress-ng -t10s --matrix X # sleep 1 # echo 1 > /sys/devices/system/cpu/cpu1/online Currently without a CPU hotplug handler, that new CPU has no per-CPU data infrastructure. The scheduler runs PMU call back function pai_add() to install the PMU support for that CPU before the task is being scheduled on that new CPU. In pai_add() instructions mp = this_cpu_ptr(pai_root[idx].mapptr); cpump = mp->mapptr; return a NULL pointer and the result is a kernel panic as variable cpump is used inside that function. Add CPU hotplug support for CPU add and delete and create the necessary per-CPU data infrastructure during CPU hotplug add processing. Same for CPU hotplug remove. This is done when the CPU is offline to ensure the data structures are available when CPU is made online and tasks are scheduled on it. [[email protected]: fixup error path in pai_init()]
CVE-2026-97525
2026년 9월 25일Linux 커널에서 다음 취약점이 해결되었다: x86/mm/pat: 분할 페이지 테이블을 커널 페이지 테이블로 할당 CPA 코드가 큰 페이지를 분할할 때(__split_large_page()) 표준 페이지 테이블 할당 루틴(예: pte_alloc_one_kernel())을 거치지 않고 직접 PTE가 할당된다. 이로 인해 페이지 테이블 생성자가 호출되지 않으며 페이지 테이블이 커널 페이지 테이블로 표시되지 않는다. 첫 번째 문제는 페이지 테이블과 연관된 폴리오가 페이지 테이블로 표시되지 않는다는 것이다(__pagetable_ctor()가 호출되지 않아 __folio_set_pgtable()도 호출되지 않으며, 통계도 업데이트되지 않는다(lruvec_stat_add_folio()가 호출되지 않음)). 두 번째 문제인 페이지 테이블을 커널 페이지 테이블로 표시하지 않는 것(ptdesc_set_kernel()가 호출되지 않음)은 훨씬 더 심각하다. 다음 커밋 이후: 5ba2f0a15564 ("mm: introduce deferred freeing for kernel page tables") 커널 페이지 테이블 해제는 일괄 처리되었고, 이후 커밋: e37d5a2d60a3 ("iommu/sva: invalidate stale IOTLB entries for kernel address space") 커널 페이지 테이블 해제 시 IOTLB 캐시 항목이 무효화된다. 그러나 분할 페이지 테이블은 이 무효화 없이 해제되어 IOTLB에 오래된 항목이 남을 수 있다. 이 문제는 분할 시 일반 PTE 할당 API를 사용하도록 하여 해결한다. 이로 인해 해당 커널 페이지 테이블은 페이지 테이블 생성자를 호출하며, 페이지 테이블 소멸자가 필요하다. 소멸자는 항상 존재하지 않으므로(예: 초기 할당된 직접 매핑 페이지 테이블의 경우) ptdesc의 PG_table 폴리오 플래그가 설정된 경우에만 pagetable_dtor_free()를 조건부 호출하고, 그렇지 않으면 pagetable_free()로 페이지 테이블을 해제한다. 어느 경로를 택하든 커널 페이지 테이블로 표시된 페이지 테이블(이제 분할 페이지 테이블 포함)은 pagetable_free_kernel()을 통해 올바른 경로를 거친다. 사용자에게 보이는 부작용으로 분할 페이지 테이블이 /proc/vmstat의 nr_page_table_pages에 나타나는데(초기 부팅 이후 할당된 다른 커널 페이지 테이블도 마찬가지), 이는 긍정적인 변화이다. 이 문제는 다음 커밋 이후 현저히 문제가 되었으므로: 5ba2f0a15564 ("mm: introduce deferred freeing for kernel page tables") 이 커밋을 Fixes 대상으로 선택한다. [ dhansen: 명령형으로 다시 표현함 ]
CVE-2026-97524
2026년 9월 25일Linux 커널에서 다음 취약점이 해결되었다: mptcp: 서브플로우 리셋 시 불필요한 동작 방지 매우 드물게, mptcp 수신 경로가 불운한 오류 조건에서 상태 변경을 통해 재귀적으로 mptcp_data_ready()를 호출하고, 다시 데이터 락을 잡으려 할 수 있다. 예외적인 조건을 명시적으로 확인하여 재귀 루프를 끊는다. 기존의 'closing' 같은 플래그를 사용하는 대신 새로운 플래그를 추가하여 subflow_state_change()에서 조기 종료하고, 리셋 시 RX 큐를 명시적으로 플러시한다. 이로 인해 죽어가는 서브플로우에서 get_mapping_status() 호출 등 가용 데이터 확인을 위한 불필요한 처리를 피할 수 있으며, 오류 보고 및 작업자 스케줄링에서도 마찬가지이다. 또한, 최종 리셋이 이를 해제하기 전에 mptcp_dss_corruption을 호출하기 전에 현재 피크된 skb를 반드시 소비해야 한다.
CVE-2026-97523
2026년 9월 25일Linux 커널에서 다음 취약점이 해결되었다: mptcp: 스케줄러와 상태 변경 간의 종료 경쟁 상태 mptcp 스케줄러가 서브플로우 소켓 상태 변경과 경쟁할 수 있다: 선택된 소켓에서 데이터 전송이 실패할 수 있으며 이후 해제 시 0으로 재설정된 mss_now를 나누기 연산에 사용하려 할 수 있다. 중요한 시나리오를 명시적으로 확인하여 문제를 해결하였다.
CVE-2026-97522
2026년 9월 25일In the Linux kernel, the following vulnerability has been resolved: mptcp: fix bad accounting in __mptcp_subflow_push_pending() If __subflow_push_pending() errors out we should avoid updating the copied byte counters, to avoid mismatch push call later on.
CVE-2026-97521
2026년 9월 25일In the Linux kernel, the following vulnerability has been resolved: gfs2: fix quota init duplicate scan gfs2_quota_init() checks for duplicate quota_change IDs while holding qd_lock and the quota hash bucket bitlock. That path used gfs2_qd_search_bucket(), which takes a lockref reference via lockref_get_not_dead(). On PREEMPT_RT this may sleep, which is not allowed under the bucket bitlock, triggering "sleeping function called from invalid context". Use a no-ref bucket lookup in this path, then continue duplicate handling without taking a lockref there. Refactor gfs2_qd_search_bucket() to build on top of the no-ref helper so lookup traversal stays in one place. This patch fixes a bug reported by syzbot.
CVE-2026-97520
2026년 9월 25일Linux 커널에서 다음 취약점이 해결되었다: gfs2: quota_init qc 반복자 증가 이동 gfs2_quota_init()에서 qc++를 루프 본문에서 for-루프 증가 표현식으로 이동함. 이로써 반복자 진행이 명확해지고 루프 본문에서 포인터 증가와 중복 슬롯 처리가 혼합되는 것을 방지함.
CVE-2026-97519
2026년 9월 25일In the Linux kernel, the following vulnerability has been resolved: drm/xe: Fix null pointer dereference in devcoredump cleanup In xe_devcoredump_snapshot_free(), ss->gt may be NULL when the snapshot was never fully populated (e.g., when cleanup is triggered without a prior capture). Guard the xe_guc_capture_put_matched_nodes() call with IS_ERR_OR_NULL() to prevent a null dereference. In xe_devcoredump_free(), the deferred work is only queued when a coredump is captured, so guard cancel_work_sync() with a check on coredump->captured.
CVE-2026-97518
2026년 9월 25일In the Linux kernel, the following vulnerability has been resolved: wifi: cfg80211: reject duplicate wiphy cipher suite entries Duplicate entries in wiphy->cipher_suites do not describe any additional capability, but cfg80211 currently accepts them and leaves individual consumers to deal with them. One such consumer is the WEXT compatibility code, which appends a WEP key length for each WEP cipher entry it sees. Repeated WEP entries can therefore overflow the fixed iw_range::encoding_size array returned by SIOCGIWRANGE. Reject duplicate cipher suite entries in wiphy_register() instead. This keeps the cipher suite invariant in one place and makes malformed wiphy descriptions fail early with -EINVAL, rather than relying on a single cfg80211 user to handle duplicates correctly.
CVE-2026-97517
2026년 9월 25일In the Linux kernel, the following vulnerability has been resolved: wifi: nl80211: reject beacons with bad HE operation The HE operation element not only needs to be longer than the fixed part, but also have an appropriate size for the variable part inside of it. Check this.