총 16,343건
CVE-2026-74386
2026년 8월 15일In the Linux kernel, the following vulnerability has been resolved: nvmet-tcp: fix page fragment cache leak in error path In nvmet_tcp_alloc_queue(), when a connection is closed during the allocation process (e.g., nvmet_tcp_set_queue_sock() returns -ENOTCONN), the error handling jumps to out_destroy_sq and then to out_ida_remove without draining the page fragment cache. Although nvmet_tcp_free_cmd() is called in some error paths to release individual page fragments, the underlying page cache reference held by queue->pf_cache is never released. The first allocation using pf_cache is the call to nvmet_tcp_alloc_cmd() for queue->connect, which happens after ida_alloc() returns successfully. This results in a page leak each time a connection fails during allocation, which could lead to memory exhaustion over time if connections are repeatedly opened and closed. Fix this by calling page_frag_cache_drain() before freeing the queue structure in the out_ida_remove label.
CVE-2026-74385
2026년 8월 15일리눅스 커널에서 다음 취약점이 해결되었다: nvmet-tcp: nvmet_tcp_set_queue_sock의 반환 값을 확인한다 현재 nvmet_tcp_tls_handshake_done()에서 nvmet_tcp_set_queue_sock()의 반환 값은 무시되고 있다. 실패할 경우(예: 소켓이 TCP_ESTABLISHED 상태에 있지 않은 경우) 소켓 콜백이 제대로 설정되지 않아 큐와 소켓 누수가 발생한다. 적절한 정리를 보장하기 위해 반환 값을 캡처하고 실패 시 nvmet_tcp_schedule_release_queue()를 호출하여 정리를 보장한다.
CVE-2026-74384
2026년 8월 15일Linux 커널에서 다음 취약점이 해결되었다: nvme-multipath: struct nvme_ns_head의 플렉스 배열 크기 수정 struct nvme_ns_head는 flexible array 멤버인 current_path[]를 포함하며, 이는 NUMA 노드 ID를 사용하여 인덱싱된다: head->current_path[numa_node_id()] 이 구조체는 현재 다음과 같이 할당된다: size = sizeof(struct nvme_ns_head) + (num_possible_nodes() * sizeof(struct nvme_ns *)); head = kzalloc(size, GFP_KERNEL); 이 할당은 NUMA 노드 ID가 0부터 num_possible_nodes() - 1까지 연속적이고 밀집되어 있다고 가정한다. 이 가정은 많은 시스템에서 유효하지만, powerpc와 같은 일부 아키텍처에서는 항상 그렇지 않다. 일부 powerpc 시스템에서는 NUMA 노드 ID가 희소할 수 있다. 예를 들어: NUMA: NUMA node(s): 6 NUMA node0 CPU(s): 80-159 NUMA node8 CPU(s): 0-79 NUMA node252 CPU(s): NUMA node253 CPU(s): NUMA node254 CPU(s): NUMA node255 CPU(s): 즉, 가능한/온라인 NUMA 노드 ID는 0, 8, 252, 253, 254, 255이다. 이 경우 num_possible_nodes() = 6이다. 따라서 current_path[]에 6개의 항목만 메모리가 할당된다. 그러나 배열은 실제 NUMA 노드 ID를 사용하여 인덱싱된다. 결과적으로 다음과 같은 접근은 범위를 벗어나며, 다음과 같은 KASAN 오류가 발생한다: head->current_path[8] 또는 head->current_path[252] ================================================================== BUG: KASAN: slab-out-of-bounds in nvme_mpath_revalidate_paths+0x22c/0x290 [nvme_core] Write of size 8 at addr c00020003bda35b8 by task kworker/u641:2/1997 CPU: 1 UID: 0 PID: 1997 Comm: kworker/u641:2 Not tainted 7.1.0-rc5-dirty #14 PREEMPT(lazy) Hardware name: 8335-GTH POWER9 0x4e1202 opal:skiboot-v6.5.3-35-g1851b2a06 PowerNV Workqueue: async async_run_entry_fn Call Trace: [c000200037fa7510] [c0000000021c23d4] dump_stack_lvl+0x88/0xdc (unreliable) [c000200037fa7540] [c0000000009fda90] print_report+0x22c/0x67c [c000200037fa7630] [c0000000009fd508] kasan_report+0x108/0x220 [c000200037fa7740] [c0000000009fff48] __asan_store8+0xe8/0x120 [c000200037fa7760] [c008000018e76474] nvme_mpath_revalidate_paths+0x22c/0x290 [nvme_core] [c000200037fa7800] [c008000018e6556c] nvme_update_ns_info+0x4a4/0x5e0 [nvme_core] [c000200037fa7a50] [c008000018e66270] nvme_alloc_ns+0x6d8/0x1a70 [nvme_core] [c000200037fa7c20] [c008000018e679fc] nvme_scan_ns+0x3f4/0x630 [nvme_core] [c000200037fa7d10] [c00000000031f22c] async_run_entry_fn+0x9c/0x3a0 [c000200037fa7db0] [c0000000002fa544] process_one_work+0x414/0xa10 [c000200037fa7ec0] [c0000000002fbf00] worker_thread+0x320/0x640 [c000200037fa7f80] [c00000000030d0f8] kthread+0x278/0x290 [c000200037fa7fe0] [c00000000000ded8] start_kernel_thread+0x14/0x18 Allocated by task 1997 on cpu 1 at 35.928317s: The buggy address belongs to the object at c00020003bda3000 which belongs to the cache kmalloc-rnd-15-2k of size 2048 The buggy address is located 16 bytes to the right of allocated 1448-byte region [c00020003bda3000, c00020003bda35a8) The buggy address belongs to the physical page: Memory state around the buggy address: c00020003bda3480: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 c00020003bda3500: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 >c00020003bda3580: 00 00 00 00 00 fc fc fc fc fc fc fc fc fc fc fc ^ c00020003bda3600: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc c00020003bda3680: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc ================================================================== 이 문제는 플렉스 배열을 num_possible_nodes() 대신 nr_node_ids를 사용하여 할당함으로써 수정되었다. nr_node_ids는 가능한 최대 NUMA 노드 ID를 나타내므로, numa_node_id()를 사용한 current_path[] 인덱싱이 희소 노드 ID가 있는 시스템에서도 안전해진다.
CVE-2026-74383
2026년 8월 15일리눅스 커널에서 다음 취약점이 해결되었습니다: nvme-pci: nvme_setup_descriptor_pools의 경계 밖 접근 수정 nvme_setup_descriptor_pools()는 hctx->numa_node에서 전달된 numa_node를 싱글 호출자인 nvme_init_hctx_common()에 의해 dev->descriptor_pools[]를 인덱싱합니다. 비 NUMA 커널에서는 hctx->numa_node가 NUMA_NO_NODE(-1)입니다. 매개변수가 unsigned로 선언되어 있어 값이 UINT_MAX가 되어 배열(nr_node_ids 크기)을 벗어나 인덱스가 순회하며 nvme_alloc_ns()에서 오류가 발생하고 /dev 노드가 없는 네임스페이스를 남깁니다. CONFIG_NUMA=n 커널에서 프로브되는 어떤 NVMe 컨트롤러에서도 재현됩니다: BUG: 주소 접속 페이지 폴트 처리 불가: ffff889101603d38 RIP: 0010:nvme_init_hctx_common+0x5a/0x190 [nvme] Call Trace: nvme_init_hctx+0x10/0x20 [nvme] nvme_alloc_ns+0x9e/0xa10 [nvme_core] nvme_scan_ns+0x301/0x3b0 [nvme_core] nvme_scan_ns_async+0x23/0x30 [nvme_core] NUMA_NO_NODE일 때 매개변수를 int로 바꿔 0 노드로 대체합니다. 0 노드는 항상 존재합니다.
CVE-2026-74382
2026년 8월 15일In the Linux kernel, the following vulnerability has been resolved: net/sched: cls_bpf: prevent unbounded recursion in offload rollback Quan Sun reported [1] a stack overflow in cls_bpf_offload_cmd(). Reproducer on netdevsim: add a skip_sw cls_bpf filter, set the bpf_tc_accept debugfs knob to 0, then `tc filter replace`. The replace calls tc_setup_cb_replace() which fails. cls_bpf_offload_cmd() then swaps prog/oldprog and recursively calls itself to roll back. But bpf_tc_accept=0 makes the rollback fail too, which triggers yet another rollback frame with the same arguments, and so on until the stack is exhausted. bpf_tc_accept is just a convenient knob for the reproducer. Any driver whose tc_setup_cb_replace() fails twice in a row can hit the same loop, so this is not a netdevsim-only issue. Two ways to fix it: 1) Have the rollback call tc_setup_cb_add() on oldprog instead of re-entering cls_bpf_offload_cmd(). 2) Mark the rollback frame with a flag and skip a second-level rollback from inside it. Go with (2). It is the smaller change and keeps the original behaviour: the rollback still goes through tc_setup_cb_replace(), so the driver gets one real chance to restore its state. If that attempt also fails, we just return the original error instead of recursing. [1]: https://lore.kernel.org/bpf/[email protected]/T/#u
CVE-2026-74381
2026년 8월 15일In the Linux kernel, the following vulnerability has been resolved: gpu: host1x: Allow entries in BO caches to be freed When a buffer object is pinned via host1x_bo_pin() with a cache, the resulting mapping is kept in the cache so it can be reused on subsequent pins. Each mapping held a reference to the underlying host1x_bo (taken in tegra_bo_pin / gather_bo_pin), so as long as a mapping was cached, the bo itself could not be freed. However, the only way to remove the cached mapping was through the free path of the buffer object. This meant that if a bo got cached, it could never get freed again. Resolve the circularity by holding a weak reference to the bo from the cache side. This is done by having the .pin callbacks not bump the bo's refcount -- instead the common Host1x bo code does so, except for the cache reference. Also move the remove-cache-mapping-on-free code into a common function inside Host1x code. This is only called from the TegraDRM GEM buffers since those are the only ones that can be cached at the moment.
CVE-2026-74380
2026년 8월 15일리눅스 커널에서 다음 취약점이 해결되었습니다: gpu: host1x: Fix iommu_map_sgtable() 반환 값 검사 커밋 "iommu: return full error code from iommu_map_sg[_atomic]()" 변경으로 iommu_map_sgtable()이 ssize_t 를 반환하고 잘못된 경우 음수 값을 반환하도록, 크기 값(size_t)과 0이 아닌 방식으로 변경되었습니다. pin_job() 역시 잘못된 값 형으로 할당되어 음수로의 오버플로를 초래할 수 있었습니다. pin_job()를 iommu_map_sgtable에서 오류를 올바르게 확인하도록 업데이트했습니다.
CVE-2026-74379
2026년 8월 15일In the Linux kernel, the following vulnerability has been resolved: dax/kmem: account for partial discontiguous resource upon removal When dev_dax_kmem_probe() partially succeeds (at least one range is mapped) but a subsequent range fails request_mem_region() or add_memory_driver_managed(), the probe silently continues, ultimately returning success, but with the corresponding range resource NULL'ed out. dev_dax_kmem_remove() iterates over all dax_device ranges regardless of if the underlying resource exists. When remove_memory() is called later, it returns 0 because the memory was never added which causes dev_dax_kmem_remove() to incorrectly assume the (nonexistent) resource can be removed and attempts cleanup on a NULL pointer. Fix this by skipping these ranges altogether, noting that these cases are considered success, such that the cleanup is still reached when all actually-added ranges are successfully removed.
CVE-2026-74378
2026년 8월 15일Linux 커널에서 다음 취약점이 해결되었습니다: RDMA/rxe: get_srq_wqe에서 TOCTOU 힙 기반 버퍼 오버플로 수정 get_srq_wqe()는 공유 수신 큐 버퍼에서 wqe->dma.num_sge를 읽고, 이 버퍼가 사용자 공간에 매핑됩니다. num_sge를 max_sge와 대조하여 검증하지만, 동일한 필드를 다시 읽어 memcpy 크기를 계산합니다. 동시의 사용자 공간 스레드가 검증과 사용 사이에 num_sge를 수정하면 WQE를 qp->resp.srq_wqe로 복사할 때 힙 버퍼 오버플로가 발생할 수 있습니다. 경계 조건 검사와 크기 계산에 사용할 로컬 변수에 num_sge를 읽어 한 번만 사용하도록 수정했습니다.
CVE-2026-74377
2026년 8월 15일리눅스 커널에서 다음 취약점이 해결되었습니다: RDMA/rxe: 비 SRQ 수신 경로에서 로컬 버퍼로 WQE를 복사 비 SRQ QP의 경우 응답자는 사용자 공간에 매핑된 공유 큐 버퍼에서 직접 WQE 필드를 읽습니다. 이로 인해 악의적인 사용자가 커널이 WQE를 처리하는 동안 num_sge나 sge 엔트리와 같은 필드를 수정할 수 있어 rxe_resp_check_length()와 copy_data()에서 범위 밖 읽기가 발생할 수 있습니다. num_sge를 검증하고 WQE를 커널 로컬 버퍼로 복사한 후 처리하기 위해 get_recv_wqe()를 도입하여 SRQ WQE에 이미 사용 중인 접근 방식과 일치시켰습니다. srq_wqe 버퍼는 SRQ 및 비 SRQ 경로가 QP당 서로 배타적이므로 재사용됩니다.
CVE-2026-74376
2026년 8월 15일Linux 커널에서 다음 취약점이 해결되었다: md/raid10: discard에 대해 r10bio를 재사용할 때 read_slot을 재설정함 put_all_bios()는 항상 devs[i].bio를 해제하지만, r10_bio->read_slot < 0일 때만 devs[i].repl_bio를 해제한다. 만약 discard가 이전에 읽기에 사용된 r10bio를 재사용하면, read_slot이 여전히 0 이상일 수 있으며, discard 정리 과정에서 repl_bio에 대해 bio_put() 호출을 건너뛸 수 있다. discard를 위해 r10bio를 준비할 때 read_slot을 -1로 재설정하여 교체 bio가 항상 올바르게 해제되도록 한다.
CVE-2026-74375
2026년 8월 15일In the Linux kernel, the following vulnerability has been resolved: md/raid1,raid10: fix deadlock in read error recovery path raid1d and raid10d may resubmit a split md cloned bio while handling a read error. In this case, resubmitting the bio can lead to a deadlock if the array is suspended before md_handle_request() acquires an active_io reference via percpu_ref_tryget_live(). Since the cloned bio already holds an active_io reference, trying to acquire another reference via percpu_ref_tryget_live() can lead to a deadlock while the array is suspended. Fix this by using percpu_ref_get() for md cloned bios.
CVE-2026-74374
2026년 8월 15일리눅스 커널에서 다음 취약점이 해결되었다: md/raid1,raid10: md_cloned_bio()로 오류 경로 탐지를 수정 실패한 bio를 분할하고 재제출한 후 NULL이거나 -1일 수 있는 r1_bio(raid1) 또는 r10_bio->read_slot(raid10)에 의존하지 말고 md_cloned_bio()를 사용하여 오류 경로를 탐지한다. 그 결과 오류 경로가 인식되지 않을 수 있으며, 메모리 할당이 GFP_NOIO 대신 (GFP_NOIO | __GFP_HIGH)를 잘못 사용할 수 있어 메모리 압력 상황에서 교착 상태가 발생할 수 있다.
CVE-2026-74373
2026년 8월 15일In the Linux kernel, the following vulnerability has been resolved: md/raid1,raid10: fix bio accounting for split md cloned bios Use md_cloned_bio() to control bio accounting instead of relying on r1bio_existed in raid1 or the io_accounting flag in raid10. The previous logic does not reliably reflect whether a bio is an md cloned bio. When a failed bio is split and resubmitted via bio_submit_split_bioset() on the error path, this can lead to either double accounting for md cloned bios, or missing accounting for bios returned from bio_submit_split_bioset() Fix this by using md_cloned_bio() to detect md cloned bios and skip accounting accordingly.
CVE-2026-74372
2026년 8월 15일In the Linux kernel, the following vulnerability has been resolved: raid1: fix nr_pending leak in REQ_ATOMIC bad-block error path In raid1_write_request(), each per-mirror loop iteration begins by incrementing rdev->nr_pending. If a REQ_ATOMIC write encounters a badblock within the requested range, the code jumps to err_handle without dropping the reference taken for the current mirror. err_handle's cleanup loop will only decrements for k < i and r1_bio->bios[k] is non-NULL. The current slot is therefore skipped, leaving its nr_pending reference leaked permanently. The reference prevents the rdev from ever being removed, since raid1_remove_conf() refuses to remove an rdev with nr_pending > 0. Fix this by calling rdev_dec_pending() before jumping to err_handle.
CVE-2026-74371
2026년 8월 15일리눅스 커널에서 다음 취약점이 해결되었다: bpf: BPF_PROG_QUERY의 경계 밖 쓰기(OOB) 및 cgroup 역호환성 수정 BPF_PROG_QUERY는 항상 사용자 공간으로 'query.revision' 필드를 기록한다. 사용자 공간이 더 작은 'bpf_attr' 구조를 전달하는 경우(예: 40바이트, 'query.revision' 추가 이전의 레이아웃) 커널은 경계 밖의 쓰기를 수행한다. 이 문제를 해결하기 위해 사용자가 제공한 속성 크기 'uattr_size'를 cgroup 쿼리 핸들러에 전파하고, 제공된 버퍼 크기가 충분하지 않을 때는 사용자 공간으로의 수정(revision) 필드 작성을 조건부로 건너뛴다. bpf_mprog_query의 query.revision은 cgroup의 경우와 구조적으로 동일하다: 끝부분의 느슨한 필드가 무조건 기록된다. 그러나 역호환 위험은 동일하지 않다. 최소 역사적 크기 테스트는 명령마다 다르며, bpf_mprog_query는 구조체에 이미 revision이 포함된 attach 유형만 처리한다: - tcx_prog_query -> BPF_TCX_INGRESS/EGRESS - netkit_prog_query -> BPF_NETKIT_PRIMARY/PEER tcx, netkit, revision 필드, 그리고 bpf_mprog_query 자체는 모두 같은 v6.6 병합 창에서 도입되었다(053c8e1f235d가 mprog 쿼리 API + revision을 추가했고; tcx는 e420bed02507, netkit은 35dfaad7188c에서 도입되었다). revision를 모르는 tcx/netkit BPF_PROG_QUERY 사용자 공간은 존재하지 않았다. 따라서 이들 명령에 대해서는 최소 합법적 구조가 이미 오프셋 56-64를 다룬다 — 오래된 이진 파일이 여기에서 깨질 수 없다. 반면에 cgroup: 2017년에 커널 attach 타입의 BPF_PROG_QUERY가 도입되었고, revision 기록은 몇 년 후에야 부착되었다(120933984460). 이 경로에는 수정 전 후보 사용자가 실제로 많이 있었다.
CVE-2026-74370
2026년 8월 15일In the Linux kernel, the following vulnerability has been resolved: liveupdate: fix TOCTOU race in luo_session_retrieve() Extend the scope of the rwsem_read lock in luo_session_retrieve() to overlap with the acquisition of the session mutex. This prevents a concurrent thread from releasing and freeing the session between the lookup and the mutex lock.
CVE-2026-74369
2026년 8월 15일In the Linux kernel, the following vulnerability has been resolved: liveupdate: fix u-a-f in luo_file_unpreserve_files() and luo_file_finish() In luo_file_unpreserve_files() and luo_file_finish(), reorder module_put() and xa_erase() to ensure the file handler module remains pinned while its operations are being accessed. Specifically, luo_get_id() dereferences fh->ops->get_id, so the module reference must be held until after xa_erase() (which calls luo_get_id) completes. For luo_file_finish(), this requires moving the module_put() call out of the luo_file_finish_one() helper and into the main loop of luo_file_finish() itself.
CVE-2026-74368
2026년 8월 15일In the Linux kernel, the following vulnerability has been resolved: wifi: ath12k: fix memory leak in ath12k_wifi7_dp_rx_h_verify_tkip_mic() In ath12k_wifi7_dp_rx_h_verify_tkip_mic(), the call to ath12k_dp_rx_check_nwifi_hdr_len_valid() may return false when the NWIFI header length is invalid, causing the function to abort early with -EINVAL. When this happens, the error propagates to ath12k_wifi7_dp_rx_h_defrag(), which clears first_frag by setting it to NULL. As a result, the corresponding MSDU is no longer referenced by the defragmentation path and is never freed. This leads to a memory leak for the affected MSDU on this error path. Proper cleanup is required to ensure the MSDU is released when header validation fails during TKIP MIC verification. Tested-on: WCN7850 hw2.0 PCI WLAN.HMT.1.1.c5-00302-QCAHMTSWPL_V1.0_V2.0_SILICONZ-1.115823.3
CVE-2026-74367
2026년 8월 15일리눅스 커널에서 다음 취약점이 해결되었습니다: wifi: ath12k: vdev_create 오류 경로에서 arvif 상태 불일치 수정 ath12k_mac_vdev_create()에는 arvif를 불일치 상태로 남기는 세 가지 오류 경로가 있습니다: 1. ath12k_wmi_vdev_create() 실패 시, WMI 호출 이전에 이미 설정된 arvif->ar를 지우지 않고 함수가 즉시 반환합니다. 이후 arvif->ar를 확인하여 vdev 준비 상태를 판단하는 코드가 펌웨어에 실제로 존재하지 않는 vdev임에도 non-NULL 값을 보게 됩니다. 2. err_peer_del에서 ath12k_wmi_send_peer_delete_cmd()가 실패하면, err로 점프하여 DP 피어 정리 및 vdev 롤백을 건너뛰고, num_created_vdevs, vdev 맵, arvif 목록 멤버십이 살아 있습니다. 3. ath12k_wait_for_peer_delete_done()가 실패하면, err_vdev_del로 점프하여 DP 피어 정리를 건너뜁니다. ath12k_wmi_vdev_create() 실패를 직접 반환하는 대신 err로 goto하여 두 실패 경로를 err_dp_peer_del로 경로를 통합하고, arvif 상태 정리를 err:에서 수행하도록 수정했습니다. 테스트 환경: WCN7850 hw2.0 PCI WLAN.HMT.1.1.c5-00302-QCAHMTSWPL_V1.0_V2.0_SILICONZ-1.115823.3