총 16,407건
CVE-2026-68172
2026년 8월 10일리눅스 커널의 취약점이 해결되었습니다: arm64: huge_ptep_get가 정렬되지 않은 주소를 처리하도록 수정 huge_ptep_get()은 contpmd/contpte 매핑된 hugetlb folio의 중간을 가리키는 가상 주소를 인자로 받을 수 있습니다(호출 예: pagemap_hugetlb_range, page_mapped_in_vma). arm64 헬퍼는 find_num_contig에서 pgtables를 다시 순회하여 우리가 가진 큰 pte가 contpmd인지 contpte hugetlb folio를 매핑하는지 확인하고 CONT_PMDS 또는 CONT_PTES를 반환하여 연속된 ptes에 걸친 A/D 비트를 수집할 수 있도록 합니다. 주소가 정렬되지 않은 경우, CONT_PTES를 잘못 반환하여 CONT_PMDS 대신 잘못된 상태를 얻게 될 수 있습니다. 페이지 크기가 16K인 시스템에서 CONT_PTES != CONT_PMDS인 경우 불필요한 A/D 비트 상태가 수집될 수 있어 커널의 추가 작업이 필요해집니다. 더 나아가 PTE 표의 경계를 넘어가거나 정크 ptep 포인터를 역참조하여 우리가 소유하지 않는 물리 메모리에 접근할 위험도 있습니다. ptep 포인터가 선형 맵 주소이므로 선형 매핑의 끝을 넘어가거나 구멍으로 들어가 커널 pgtables에 매핑되지 않은 VA를 역참조하고 커널 패닉을 일으킬 수 있습니다. 이 문제를 해결하기 위해 전달된 큰 pte 포인터와의 동등성 여부를 확인하기 전에 pmdp 포인터를 contpmd 기반으로 아래로 정렬하여, 큰 pte가 contpmd 블록의 기초인지를 올바르게 판단하도록 수정했습니다.
CVE-2026-68170
2026년 8월 10일Linux 커널에서 다음 취약점이 해결되었다: mptcp: 서브플로우 종료 시 오래된 skb->sk 참조 수정 백로그 목록은 mptcp_data_lock() 하에서 mptcp_data_ready()에 의해 업데이트된다. 그러나 종료 중인 서브플로우에 대한 백로그 참조 정리는 ssk 락을 획득하기 전인 mptcp_close_ssk()에서 수행되었으며, ssk 락이나 mptcp_data_lock()을 보유하지 않은 상태였다. 이 순회가 mptcp_data_lock() 없이 실행되었기 때문에, 다른 CPU에서 동시 소프트IRQ RX 처리(subflow_data_ready() -> mptcp_data_ready() -> __mptcp_add_backlog(), mptcp_data_lock() 하에서)가 진행 중일 때, 백로그 항목이 ssk를 참조하며 추가될 수 있었다. 이로 인해 정리 루프가 해당 항목을 놓치거나, 동시 목록 업데이트가 순회를 손상시켜 skb->sk가 해제된 ssk를 가리키게 된다. 이후 mptcp_backlog_purge()가 오래된 포인터를 역참조하여 inet_sock_destruct()에서 경고(ssk->sk_rmem_alloc != 0)를 발생시키고, 이어서 mptcp_backlog_purge()에서 해제 후 사용(use-after-free)이 발생한다. 이 문제를 해결하기 위해 백로그 정리를 subflow->closing이 1로 설정되고 ssk 락이 유지되는 __mptcp_close_ssk()로 이동시켰으며, mptcp_data_lock() 하에서 직렬화한다. 정리는 백로그 참조가 누적되는 푸시 경로(MPTCP_CF_PUSH)에서만 실행되며, 다른 종료 경로에서는 호출자가 이미 정리를 처리한다. subflow->closing이 설정되고 mptcp_data_lock()이 유지되는 동안 정리가 진행되므로, 동시 mptcp_data_ready()는 정리 실행 전에 대기열 추가를 완료하거나 closing=1을 확인하고 중단한다. mptcp_data_unlock()에 도달하면 ssk를 참조하는 새로운 skb가 대기열에 추가될 수 없으므로 정리가 완전하다. mptcp_close_ssk()에서 보호되지 않은 순회 코드를 완전히 제거하였다.
CVE-2026-68169
2026년 8월 10일In the Linux kernel, the following vulnerability has been resolved: mptcp: pm: userspace: fix use-after-free in get_local_id In mptcp_pm_userspace_get_local_id(), the address entry is looked up under spinlock, but its id is read after dropping the lock. A concurrent deletion can free the entry between the unlock and the read, leading to UAF. The race window is narrow. It was reproduced only with a locally constructed stress test that repeatedly overlaps an MP_JOIN SYN with a MPTCP_PM_CMD_SUBFLOW_DESTROY request. However, the KASAN report below confirms that the race is reachable: [ 666.319376] BUG: KASAN: slab-use-after-free in mptcp_userspace_pm_get_local_id+0x1dc/0x1f0 [ 666.319386] Read of size 1 at addr ffff888124845610 by task swapper/0/0 ... [ 666.319401] Call Trace: [ 666.319405] <IRQ> [ 666.319408] dump_stack_lvl+0x53/0x70 [ 666.319412] print_address_description.constprop.0+0x2c/0x3b0 [ 666.319418] print_report+0xbe/0x2b0 [ 666.319421] ? mptcp_userspace_pm_get_local_id+0x1dc/0x1f0 [ 666.319423] kasan_report+0xce/0x100 [ 666.319426] ? mptcp_userspace_pm_get_local_id+0x1dc/0x1f0 [ 666.319429] mptcp_userspace_pm_get_local_id+0x1dc/0x1f0 [ 666.319433] mptcp_pm_get_local_id+0x371/0x440 ... [ 666.319821] Allocated by task 45539: [ 666.319844] kasan_save_stack+0x33/0x60 [ 666.319855] kasan_save_track+0x14/0x30 [ 666.319858] __kasan_kmalloc+0x8f/0xa0 [ 666.319863] __kmalloc_noprof+0x1e7/0x520 [ 666.319867] sock_kmalloc+0xdf/0x130 [ 666.319885] sock_kmemdup+0x1b/0x40 [ 666.319888] mptcp_userspace_pm_append_new_local_addr+0x261/0x500 [ 666.319910] mptcp_pm_nl_announce_doit+0x16a/0x610 ... [ 666.319967] Freed by task 45560: [ 666.319988] kasan_save_stack+0x33/0x60 [ 666.319991] kasan_save_track+0x14/0x30 [ 666.319994] kasan_save_free_info+0x3b/0x60 [ 666.319998] __kasan_slab_free+0x43/0x70 [ 666.320000] kfree+0x166/0x440 [ 666.320003] sock_kfree_s+0x1d/0x50 [ 666.320007] mptcp_userspace_pm_delete_local_addr.isra.0+0x157/0x200 [ 666.320011] mptcp_pm_nl_subflow_destroy_doit+0x51d/0xea0 Fix by copying the id into a local variable while still holding the lock, and use -1 as a "not found" sentinel.
CVE-2026-68168
2026년 8월 10일In the Linux kernel, the following vulnerability has been resolved: afs: Fix afs_edit_dir_remove() to get, not find, block 0 Fix afs_edit_dir_remove() to use afs_dir_get_block() to get block 0 rather than afs_dir_find_block() as the latter caches the found block in the afs_dir_iter and may[*] switch out the page it's on if another afs_dir_find_block() is done. This parallels what afs_edit_dir_add() does. [*] There's more than one block per page.
CVE-2026-68167
2026년 8월 10일In the Linux kernel, the following vulnerability has been resolved: btrfs: do not try compression for data reloc inodes [BUG] There is a syzbot report that the check inside get_new_location() triggered: BTRFS info (device loop0): found 31 extents, stage: move data extents BTRFS info (device loop0): leaf 8908800 gen 16 total ptrs 28 free space 1676 owner 18446744073709551607 item 0 key (256 INODE_ITEM 0) itemoff 3835 itemsize 160 inode generation 5 transid 0 size 0 nbytes 0 block group 0 mode 40755 links 1 uid 0 gid 0 rdev 0 sequence 0 flags 0x0 atime 1669132761.0 ctime 1669132761.0 mtime 1669132761.0 otime 0.0 item 1 key (256 INODE_REF 256) itemoff 3823 itemsize 12 index 0 name_len 2 item 2 key (258 INODE_ITEM 0) itemoff 3663 itemsize 160 inode generation 1 transid 16 size 733184 nbytes 106496 block group 0 mode 100600 links 0 uid 0 gid 0 rdev 0 sequence 24 flags 0x18 item 3 key (258 EXTENT_DATA 0) itemoff 3595 itemsize 68 generation 16 type 0 inline extent data size 47 ram_bytes 4096 compression 1 [...] item 27 key (18446744073709551611 ORPHAN_ITEM 258) itemoff 2376 itemsize 0 BTRFS error (device loop0): unexpected non-zero offset in file extent item for data reloc inode 258 key offset 0 offset 9277520992061368337 ------------[ cut here ]------------ btrfs_abort_should_print_stack(__error) [CAUSE] The above dump tree shows the first file extent item is inlined, which should make no sense for data reloc inodes, as such inodes just represent where the data extents are in the relocation destination chunk. However the relocation path preallocates space for each block, then dirties them, cluster by cluster. It's possible to have a single block at the beginning of the block group, and no other block in the same cluster. So relocation will preallocate a file extent for that block and dirty the first block. Then memory pressure forces the data reloc inode to be written back, before any other blocks are dirtied/allocated. Finally commit 3eaf5f082c4c ("btrfs: extract inlined creation into a dedicated delalloc helper") changed the sequence of delalloc. Before that commit we always tried NOCOW first, so that dirtied block would be written back into the preallocated space, and appear as a regular extent. But with that commit, we always try inline first, and since compression is forced, we try compressing the first block, and then inline the compressed data, resulting in the above inlined file extent in the data reloc tree. Then the check in get_new_location() will check the file offset, without checking if the file extent is inlined or not, resulting in the above failure. [FIX] Do not allow compression for data reloc inodes. Since data reloc inode sizes are always block aligned, as long as we do not compress, @data_len will always be at least one block, and that will cause can_cow_file_range_inline() to return false, thus no inlined extent will be created.
CVE-2026-68166
2026년 8월 10일In the Linux kernel, the following vulnerability has been resolved: userfaultfd: prevent registration of special VMAs Vova Tokarev says: userfaultfd allows registration on shadow stack VMAs. With userfaultfd access, you can register on the shadow stack, discard a page ... and inject a page with chosen return addresses via UFFDIO_COPY. Update vma_can_userfault() to reject VM_SHADOW_STACK. While on it, also reject VM_SPECIAL so that if a driver would implement vm_uffd_ops, it wouldn't be possible to register special VMAs with userfaultfd. Since VM_SPECIAL includes VM_DONTEXPAND which is set but hugetlb, exclude hugetlb VMAs from the check for VM_SPECIAL.
CVE-2026-68165
2026년 8월 10일In the Linux kernel, the following vulnerability has been resolved: mm/damon/core: validate ranges in damon_set_regions() DAMON core logic assumes zero length regions don't exist. However, a few DAMON API callers including DAMON_SYSFS, DAMON_RECLAIM and DAMON_LRU_SORT allow users to set empty monitoring target regions. This could result in WARN_ONCE() on CONFIG_DAMON_DEBUG_SANITY enabled kernel, and divide-by-zero from damon_merge_two_regions(). For example, the WANR_ONCE() can be triggered like below. # grep DAMON_DEBUG_SANITY /boot/config-$(uname -r) # CONFIG_DAMON_DEBUG_SANITY=y # damo start # cd /sys/kernel/mm/damon/admin/kdamonds/0 # echo 0 > contexts/0/targets/0/regions/0/start # echo 0 > contexts/0/targets/0/regions/0/end # echo commit > state # dmesg [....] [ 73.705780] ------------[ cut here ]------------ [ 73.707552] start 0 >= end 0 [ 73.708452] WARNING: mm/damon/core.c:359 at damon_new_region+0x6e/0x80, CPU#1: kdamond.0/758 [...] All DAMON API callers eventually use damon_set_regions() to setup the regions. Add the validation logic in the function.
CVE-2026-68164
2026년 8월 10일In the Linux kernel, the following vulnerability has been resolved: mm/damon/core: disallow overlapping input ranges for damon_set_regions() damon_set_regions() assumes the input ranges are sorted by the address and don't overlap each other. Hence the assumption was initially to be explicitly validated. But commit 97d482f4592f ("mm/damon/sysfs: reuse damon_set_regions() for regions setting") has mistakenly removed the validation. This can make DAMON behave in unexpected ways. At the best, the monitoring results snapshot will just look weird since there will be overlapping regions. DAMOS will also work weirdly, applying the same action multiple times for overlapping regions, and make DAMOS quota weird. More seriously, depending on the setup and regions updates sequence, negative size regions can be made. It will trigger WARN_ONCE() if the kernel is built with CONFIG_DAMON_DEBUG_SANITY=y. Depending on the monitoring results, the negative size region can further trigger division by zero in damon_merge_two_regions(). Note that some of the consequences including the WARN_ONCE() and the divide by zero depend on commits that were introduced after the root cause commit 97d482f4592f ("mm/damon/sysfs: reuse damon_set_regions() for regions setting"). Fix the problems by checking the assumption and returning an error if the input ranges don't meet the assumption. The issue was discovered [1] by Sashiko.
CVE-2026-68163
2026년 8월 10일리눅스 커널에서 다음 취약점이 해결되었습니다: mm/page_vma_mapped: 디바이스 비공개 PMD 처리 보완 커밋 65edfda6f3f2 ("mm/rmap: extend rmap and migration support\ndevice-private entries")는 디바이스 비공개 PMD 항목의 개념을 도입했지만 이를 반영하도록 rmap 산출 경로를 올바르게 업데이트하지 못했습니다. 그 결과, page_vma_mapped_walk()가 디바이스 비공개 PMD 항목을 만날 때 PMD 잠금을 획득하고 종료하는 것 외에는 아무 작업도 하지 않습니다. 그러나 이는 두 가지로 인해 매우 문제를 야기합니다. 첫째, 디바이스 비공개 항목은 PFN을 보유하므로 overlap하는 PFN 범위를 보장하려면 check_pmd()를 호출해야 합니다. 둘째로, 더 중요하게는 PVMW_MIGRATION이 설정되면 호출자는 반환 항목이Migration 항목이라고 가정하게 되고, 호출자가 디바이스 비공개 항목을 그에 해당하는 것으로 해석하려고 할 때 메모리 손상이 발생합니다. 또한 커밋 146287290023 ("mm/huge_memory: implement\ndevice-private THP splitting")는 디바이스 비공개 PMD가 THP 매핑처럼 분할될 수 있도록 했지만, 이 코드 경로를 업데이트하지 않았습니다. 그 결과 PMD 잠금을 획득하기 전에 PMD 분할과 경쟁 가능성이 존재할 수 있습니다. 이 패치는 check_pmd()를 호출하고 PMVW_MIGRATION이 설정되지 않았는지 확인하며, PMD THP 및 마이그레이션 엔트리에서 분할이 경쟁하는지 여부를 점검함으로써 이러한 모든 문제를 해결합니다. pmd_lock()를 얻은 후 하위 집합의 사례를 검사하는 대신 디바이스-비공개를 pmd_trans_huge() 및 pmd_is_migration_entry()와 함께 두고, thp_migration_supported()를 제거합니다. 이미 pmd_is_migration_entry()에 의해 보호되기 때문입니다. [[email protected]: Raspberry Pi 1 빌드 수정, David에 의해]
CVE-2026-68162
2026년 8월 10일Linux 커널에서 다음 취약점이 해결되었습니다: sctp: netns 종료 중 auth_enable sysctl UAF를 피합니다 proc_sctp_do_auth()는 net.sctp.auth_enable을 변경한 후 SCTP 제어 소켓을 업데이트합니다. 핸들러는 ctl->data에서 각 네트워크 네임스페이스의 SCTP 상태를 가져오기 때문에 이미 열려 있는 sysctl 파일은 해당 네트워크 네임스페이스가 종료되는 동안에도 대상으로 지정될 수 있습니다. SCTP는 이전에 sctp_defaults_init()에서 각-Net sysctl을 등록했고, 제어 소켓은 나중에 sctp_ctrlsock_init()에서 생성됩니다. 이로 인해 초기화 중에 net->sctp.ctl_sock이 존재하기 전 auth_enable이 쓰기가 가능한 창이 생기고, inet_ctl_sock_destroy()가 제어 소켓을 해제한 후에도 auth_enable이 쓰기가 가능한 종료 창이 존재하던 문제가 노출되었습니다. sctp_ctl_sock_init()가 성공한 후 sctp_ctrlsock_init()에서 각-Net SCTP sysctl 등록을 이동시키고, 제어 소켓을 파괴하기 전에 sctp_ctrlsock_exit()에서 sysctl 표를 해제합니다. 제어 소켓이 생성된 후 sysctl 등록이 실패하면 같은 초기화 경로에서 제어 소켓을 파괴합니다. sctp_sysctl_net_unregister()가 헤더 누락을 허용하고 저장된 포인터를 지워 초기화 오류 및 종료 경로가 해제 도우미를 안전하게 공유할 수 있도록 만듭니다.
CVE-2026-68161
2026년 8월 10일Linux 커널에서 다음 취약점이 해결되었다: sctp: netns 종료 시 UDP 터널 소켓 닫기 proc_sctp_do_udp_port()는 net.sctp.udp_port가 설정되면 per-net SCTP UDP 터널링 소켓을 시작하고, sysctl 값이 변경되면 이를 중지/재시작한다. 그러나 netns 종료 경로는 이 소켓들을 중지하지 않으므로, 네임스페이스가 SCTP UDP 터널 소켓이 여전히 설치된 상태에서 해제될 수 있다. per-net sysctl 테이블 등록 해제 후 sctp_ctrlsock_exit()에서 UDP 터널 소켓을 닫는다. 이는 소켓이 해제되는 동안 새로운 sysctl 쓰기 작업이 경쟁 상태에 빠지는 것을 방지하고, 제어 소켓이 파괴되기 전에 소켓을 닫는다.
CVE-2026-68160
2026년 8월 10일Linux 커널에서 다음 취약점이 해결되었다: ceph: ceph_handle_caps()의 snaptrace에 대한 인증 전 범위 밖 읽기 문제 수정 ceph_handle_caps()는 wire-format ceph_mds_caps 헤더에서 snap_trace_len을 읽고 이를 무조건 사용하여 가짜 종료 포인터(snaptrace + snaptrace_len)를 생성한다. 이 포인터는 이후 CEPH_CAP_OP_IMPORT 경우에 ceph_update_snap_trace()에 전달된다: snaptrace = h + 1; snaptrace_len = le32_to_cpu(h->snap_trace_len); p = snaptrace + snaptrace_len; ... case CEPH_CAP_OP_IMPORT: if (snaptrace_len) { ... if (ceph_update_snap_trace(mdsc, snaptrace, snaptrace + snaptrace_len, false, &realm)) { ... } ceph_update_snap_trace()는 ceph_decode_need(&p, e, sizeof(*ri), bad)를 사용하여 snaptrace에서 struct ceph_mds_snap_realm을 디코딩하는데, 여기서 공격자가 조작한 가짜 종료 포인터 e == snaptrace + snaptrace_len이 사용된다. snaptrace_len이 0xFFFFFFFF일 경우 경계 검사가 쉽게 통과되어 ri = p는 msg->front 버퍼의 합법적인 범위를 넘어 sizeof(struct ceph_mds_snap_realm)만큼 읽게 되고, ri->num_snaps 및 ri->num_prior_parent_snaps는 인코딩된 snap 배열에 대한 추가 범위 밖 읽기를 유발한다. op 스위치 위의 msg_version >= 2 .. msg_version >= 12 디코더 블록 11개는 각각 ceph_decode_*_safe() / ceph_decode_need() 헬퍼를 통해 이 범위 밖 읽기를 방지하지만, 이들은 hdr.version에 따른 조건문 뒤에 위치하여, msg->hdr.version = 1로 설정된 악의적이거나 손상된 MDS는 버전 조건 디코더의 검증 없이 IMPORT 경로에 도달할 수 있다. 이 취약점은 ceph_handle_caps()가 도입된 이후 존재해왔다. 메시지 front 버퍼를 소비하기 전에 snap_trace_len을 canonical ceph_decode_need() / ceph_has_room() 헬퍼를 사용하여 검증한다. 이 헬퍼는 뺄셈(n <= end - p, end >= p로 보호됨)으로 길이를 제한하여, 32비트 빌드에서 p + snap_trace_len이 주소 공간을 오버플로할 수 있는 공격자 제어 u32 길이에 대해 래핑 안전성을 보장한다. 이는 ceph 디코드 경로의 나머지 부분(예: 아래 몇 줄의 pool_ns_len 검사)과 일치하며, 기존의 goto bad 정리 경로가 이미 이 종료 경로를 처리한다.
CVE-2026-68159
2026년 8월 10일리눅스 커널에서 다음 취약점이 해결되었다: libceph: pg_{temp,upmap,upmap_items} 길이를 CEPH_PG_MAX_SIZE로 제한 __decode_pg_temp()는 사용자 제어 길이를 디코딩하지만 할당 오버플로를 일으킬 만큼 큰 값만 거부하며, 이를 CEPH_PG_MAX_SIZE로 제한하지 않는다. 이 헬퍼는 pg_temp와 pg_upmap 디코딩을 모두 지원하며, apply_upmap()/get_temp_osds()는 이후 디코딩된 목록을 고정 크기 스택 배열 struct ceph_osds.osds[CEPH_PG_MAX_SIZE]에 복사한다. pg_temp/pg_upmap 항목이 32보다 긴 OSDMap을 보내는 모니터는 스택 범위 밖 쓰기를 유발한다. 단일 PG에 대한 OSD 집합은 절대 CEPH_PG_MAX_SIZE를 초과할 수 없으므로, 디코딩 시 더 긴 항목을 거부한다. 이 제한은 이전 오버플로 임계값보다 훨씬 낮아 이전 검사에서 보호하던 할당 크기 오버플로도 포함한다. BUG: KASAN: ceph_pg_to_up_acting_osds에서 스택 범위 밖 쓰기 크기 4 쓰기 ... 작업 exploit에 의해 kasan_report (mm/kasan/report.c:595) ceph_pg_to_up_acting_osds (net/ceph/osdmap.c:2617 net/ceph/osdmap.c:2833) calc_target (net/ceph/osd_client.c:1638) __submit_request (net/ceph/osd_client.c:2394) ceph_osdc_start_request (net/ceph/osd_client.c:2490) ceph_osdc_call (net/ceph/osd_client.c:5164) rbd_dev_image_probe (drivers/block/rbd.c:6899) do_rbd_add (drivers/block/rbd.c:7138) ... net/ceph/osdmap.c:2670에서 커널 BUG! [idryomov: __decode_pg_upmap_items()에서도 동일하게 적용]
CVE-2026-68158
2026년 8월 10일Linux 커널에서 다음 취약점이 해결되었다: libceph: decode_new_up_state_weight() 함수의 곱셈 오버플로 수정 CEPH_MSG_OSD_MAP 유형의 메시지가 (악의적으로) 손상된 osdmap을 포함하는 경우, decode_new_up_state_weight()에서 범위 밖 메모리 접근이 발생할 수 있다. 이는 new_state 부분의 경계 검사가 들어오는 메시지에서 읽은 len 값에 따라 길이를 계산하는 데 기반하기 때문이다. 이 계산이 오버플로되어 잘못된 경계 검사가 발생할 수 있다. 결과적으로 이 부분을 디코딩할 때 범위 밖 읽기가 발생할 수 있다. 이 패치는 곱셈을 check_mul_overflow()를 사용하도록 변경하여 오버플로가 발생하면 osdmap 처리를 중단한다. 따라서 곱셈 오버플로를 일으키는 큰 len 값을 포함하는 osdmap/메시지는 무효로 처리된다. [ idryomov: new_state_len을 new_state_item_size로 이름 변경, 포맷 수정 ]
CVE-2026-68157
번역 확인 필요2026년 8월 10일리눅스 커널에서 다음 취약점이 수정되었다: libceph: 누락된 CRUSH 타입 이름 조회 보호 로컬화된 읽기 선택은 CRUSH 맵에 이름이 존재하고 그 타입에 매칭되는 엔트리가 type_names에 없을 때 부모 버킷을 순회할 수 있다. get_immediate_parent()가 NULL 타입_cn를 역참조하고 strcmp()에 잘못된 포인터를 전달하여 널 포인터 역참조를 발생시킨다. 버킷 이름과 타입 메타데이터가 모두 존재하지 않는 한 이러한 잘못된 형상의 부모 버킷은 건너뛰어 건전하지 않은 계층 데이터로 인해 로컬리티 조회가 충돌하는 것을 방지하고 안전하게 "로컬이 아님"으로 되돌아간다. [ idryomov: 한 번만 경고를 출력하는 WARN_ON_ONCE 추가 ]
CVE-2026-68156
2026년 8월 10일Linux 커널에서 다음 취약점이 해결되었다: libceph: authorizer 업데이트 후 auth->authorizer_buf{,_len} 새로 고침 ceph_x_create_authorizer()는 struct ceph_auth_handshake에 au->buf->vec.iov_base와 au->buf->vec.iov_len을 캐시한다. 이 캐시된 값들은 메신저 연결 코드가 authorizer를 보낼 때 사용된다. ceph_x_update_authorizer()는 더 최신 서비스 티켓이 있을 경우 authorizer를 재구성할 수 있다. 재구성된 authorizer가 기존 버퍼에 더 이상 맞지 않으면 ceph_x_build_authorizer()는 au->buf에 대한 참조를 해제하고 새 버퍼를 할당한다. 만약 이것이 마지막 참조라면 ceph_buffer_put()은 이전 ceph_buffer와 그 vec.iov_base를 해제하지만 auth->authorizer_buf는 여전히 해제된 메모리를 가리킨다. 이후 msgr1 재연결 시 stale 포인터가 큐에 쌓여 tcp_sendmsg()가 authorizer를 복사하는 동안 _copy_from_iter()에서 KASAN slab-use-after-free가 발생할 수 있다. 성공적인 authorizer 재구성 후 auth->authorizer_buf와 auth->authorizer_buf_len을 새로 고쳐 메신저가 현재 버퍼를 전송하도록 한다.
CVE-2026-68155
2026년 8월 10일리눅스 커널에서 다음 취약점이 해결되었다: libceph: 모니터가 광고하는 모니터 맵에서 모니터 수가 0인 경우를 거부 메시지 타입 CEPH_MSG_MON_MAP은 모니터가 클라이언트로 보낸 monmap을 포함한다. 이 모노맵은 클러스터에 존재하는 모니터들에 대한 정보를 담고 있다. 현재는 클러스터에 모니터가 0대라는 것을 나타내는 모니맵을 유효한 것으로 처리하는 경우가 있지만, 클러스터에 모니터가 0대일 수 없고 여전히 모니터로부터 유효한 모니맵을 받는 것은 불가능하다. 따라서 그러한 모니맵은 손상되어 무효로 다루어져야 한다. 또한 모니터 수가 0인 모니맵은 __open_session()에서 모니터와의 세션을 열려 할 때 이후에 클라이언트를 크래시 시킬 수 있다. 이는 pick_new_mon()의 "BUG_ON(monc->monmap->num_mon < 1)" 어서션이 트리거되기 때문이다. 이 패치는 ceph_monmap_decode()에서 arriving mon_maps의 num_mon이 0인 경우도 거부하도록 검사 범위를 num_mon > CEPH_MAX_MON인 경우만 거부하던 것에서 확장한다. [ idryomov: "num_mon의 비정상 값에 대한 로그 출력" 부분 제거 ]
CVE-2026-68154
2026년 8월 10일Linux 커널에서 다음 취약점이 해결되었다: libceph: crush_decode에서 0 버킷 타입 거부 CRUSH 버킷 타입 0은 장치용으로 예약되어 있다. 매퍼는 이 불변성을 기반으로 하며 타입 0을 리프 장치를 식별하는 데 사용한다. 만약 crush_decode()가 타입 0인 버킷을 허용하면, 잘못된 CRUSH 맵이 매퍼가 음수 버킷 ID를 장치로 처리하게 만들고 이를 is_out()에 전달하여 음수 값을 사용해 OSD 가중치 배열을 인덱싱하게 된다. CRUSH 맵을 디코딩할 때 0 버킷 타입을 거부하여 잘못된 상태가 매퍼에 도달하지 않도록 한다.
CVE-2026-68153
2026년 8월 10일리눅스 커널에서 다음 취약점이 해결되었다: libceph: 클라이언트 종료 전에 debugfs 파일 제거 ceph_destroy_client()가 모니터 클라이언트를 제거하기 전에 각 클라이언트의 debugfs 파일를 제거하지 않는다. monmap debugfs 파일에 대한 동시 읽기가 ceph_monc_stop()이 monc->monmap를 해제한 후 monmap_show()에 진입하게 만들어 use-after-free를 트리거할 수 있다. OSD와 모니터 클라이언트를 중지하기 전에 debugfs 파일을 제거한다. debugfs_remove()는 활성 핸들러를 배수하고 새로운 접근을 차단하므로 debugfs 콜백이 남은 클라이언트 종료와 더 이상 경합하지 않는다.
CVE-2026-68152
2026년 8월 10일Linux 커널에서 다음 취약점이 해결되었다: amt: AMT 지연 작업에서의 해제 후 사용(use-after-free) 수정 AMT 장치가 제거되면 보류 중인 지연 작업이 해제된 amt_dev 구조체에 계속 접근할 수 있어 커널 충돌이나 메모리 손상이 발생할 수 있다. amt_dev_stop()은 cancel_delayed_work_sync()로 req_wq와 discovery_wq를 취소하지만, 이 작업은 취소 후 이벤트 큐(event_wq)에서 다시 스케줄될 수 있다. 이로 인해 네트워크 디바이스가 해제된 후에도 지연 작업이 freed amt_dev 구조체에 접근할 수 있다. 다음은 간단한 경쟁 상황이다: CPU0 CPU1 amt_dev_stop() cancel_delayed_work_sync() amt_event_work() mod_delayed_work(req_wq) free netdev req_wq는 freed amt_dev를 접근한다 req_wq와 discovery_wQ가 다시 큐에 들어가지 않도록 amt_dev_stop()에서 disable_delayed_work_sync()를 사용하고 실행 중인 작업 항목이 완료될 때까지 대기한다. 지연되는 작업은 amt_newlink()에서 초기화된 후 비활성화되어 있으며, 디바이스가 성공적으로 열릴 때만 활성화된다. 이는 지연 작업의 수명 주기를 AMT 디바이스의 수명과 동기화 상태로 유지한다.