총 16,343건
CVE-2026-72192
2026년 8월 15일리눅스 커널에서 다음 취약점이 해결되었다: ntfs3: indx_insert_into_root 함수 내 hdr_insert_head 호출 전에 to_move 경계 검사 indx_insert_into_root() 함수는 가득 찬 상주 $INDEX_ROOT를 $INDEX_ALLOCATION으로 승격시키고, 마지막이 아닌 모든 상주 루트 엔트리를 hdr_insert_head()를 통해 새로 할당된 INDEX_BUFFER로 복사한다. 소스 바이트 수 'to_move'는 디스크 상의 상주 엔트리 크기 합계이며, 목적지 버퍼 크기(root->index_block_size를 통해 결정됨)와는 독립적이다. 유효한 가득 찬 상주 루트를 유지하면서도 root->index_block_size를 512로 축소하는 조작된 NTFS 이미지가 있을 경우, hdr_insert_head()는 indx_new()가 반환한 kmalloc(1u << indx->index_bits) 할당 영역의 끝을 넘어 공격자가 제어하는 상주 엔트리 바이트를 memcpy 한다. 512바이트 목적지와 마지막이 아닌 엔트리 총합이 560바이트인 상주 루트의 경우, memcpy는 120바이트를 초과하여 덮어쓰고, 이어지는 memmove는 할당 영역 끝에서 136바이트를 초과하는 오프셋까지 확장한다. 오버플로우된 바이트는 디스크 상의 엔트리를 직접 복사한 것으로(kmemdup 사용), 완전히 공격자가 제어한다. 이 쓰기 취약점은 권한 없는 사용자가 마운트된 조작된 NTFS 이미지에서 open(O_CREAT)를 호출하여 접근 가능하다: 이미 가득 찬 상주 루트를 가진 디렉터리에서 충분히 긴 파일 생성 시 루트 승격이 강제되고 복사가 트리거된다. 이는 kmalloc(index_block_size) 할당 영역을 120-136바이트 초과하는 제어된 범위 밖 쓰기이며, 공격자가 제어하는 내용을 가진 인접 힙 손상 원시이다; 임의 주소 쓰기는 아니다. 명명된 피해 객체로의 성공적인 익스플로잇은 주변 슬랩 레이아웃에 의존한다. 복사 동작을 차단하기 위해, 목적지 INDEX_HDR는 이미 hdr_total(새 버퍼의 페이로드 용량)과 hdr_used(indx_new()가 설치한 터미널 END 엔트리가 사용한 바이트)를 보고하므로, hdr_insert_head() 호출 전에 to_move가 남은 페이로드에 맞는지 확인한다. 불일치 시 -EINVAL 오류를 반환하고 파일시스템을 디스크 불일치 감지 상태로 표시하는데, 이는 이 함수 내 주변 검증과 동일한 동작이다.
CVE-2026-72191
2026년 8월 15일Linux 커널에서 다음 취약점이 해결되었다: ntfs3: indx_insert_into_buffer에서 분할 지점 오프셋 검증 indx_insert_into_buffer()는 다음을 계산한다 used = used1 - to_copy - sp_size; memmove(de_t, Add2Ptr(sp, sp_size), used - le32_to_cpu(hdr1->de_off)); 여기서 sp와 sp_size는 hdr_find_split()에서 온다. hdr_find_split()는 le16_to_cpu(e->size)로 엔트리를 순회하지만 각 단계가 hdr->used 내에 있는지 또는 size 필드가 최소 sizeof(struct NTFS_DE)인지 검증하지 않는다. index_hdr_check()는 로드 시 게이트키퍼로서 헤더 수준 필드(used, total, de_off)만 검증하며 각 엔트리 크기는 확인하지 않는다. leaf INDEX_HDR가 used == total이라고 보고하지만 내부 NTFS_DE 하나가 size = 0xFFF0인 조작된 NTFS 이미지가 검증을 통과하여 ntfs_create() -> indx_insert_entry() 경로를 통해 indx_insert_into_buffer()로 내려가고, hdr_find_split()가 버퍼 내 남은 바이트를 훨씬 초과하는 sp_size(0xFFF0)를 가진 sp를 반환한다. u32 뺄셈이 언더플로우되어 memmove 카운트가 거의 4GiB 값이 되어 범위 밖 커널 쓰기를 발생시키고 인접 할당을 손상시키며 커널 패닉을 유발한다. 7.0.0-rc7에서 UML + KASAN 환경에서 조작된 이미지와 마운트된 디렉터리 내 단일 'touch'로 재현되었으며, 충돌 지점은 fs/ntfs3/index.c의 memmove에서 발생한다. 트리거는 공격자가 제공한 파일 시스템 이미지(USB, 루프백, 또는 자동 마운트되는 이동식 미디어)를 로컬에서 마운트하는 것만으로 가능하다. 선택된 sp와 그 선언된 크기가 이미 hdr1->used를 초과하는 경우 분할을 거부한다. 이는 최소한의 수정으로 기존 hdr_find_split() 계약을 유지하며 기존 오류 반환과 동일한 정리 경로를 따른다. 동일한 indx_insert_into_buffer() memmove에서 발생한 이전의 범위 밖 읽기(OOB read)는 b8c44949044e 커밋("fs/ntfs3: Fix OOB read in indx_insert_into_buffer")에서 hdr_find_e()를 엄격히 하여 수정되었으나, 이 수정은 여기서 다루는 분할 지점 크기 필드 경로를 포함하지 않는다: sp는 hdr_find_split()에서 반환되며 hdr_find_e()에서 반환되지 않고, 언더플로우는 hdr->used가 hdr->total을 초과하는 것이 아니라 sp->size에 의해 발생한다.
CVE-2026-72190
2026년 8월 15일In the Linux kernel, the following vulnerability has been resolved: ntfs: fix mrec_lock ABBA deadlock in rename ntfs_file_fsync(), ntfs_dir_fsync() and __ntfs_write_inode() lock an inode's mrec_lock before taking the mrec_lock of its parent directory. ntfs_rename() takes old_ni->mrec_lock and old_dir_ni->mrec_lock before taking new_ni->mrec_lock for an existing target, or new_dir_ni->mrec_lock for a cross-directory rename. This can deadlock when ntfs_file_fsync() or __ntfs_write_inode() holds the target inode, or when ntfs_dir_fsync() holds a child target directory, while rename() holds the parent directory and waits for the target. Fix this by locking the existing target inode before taking any parent directory mrec_lock. For cross-directory renames where the target parent is a descendant of the source parent, lock the target parent before the source parent so the directory order matches the child-to-parent order used by ntfs_file_fsync(), ntfs_dir_fsync(), and __ntfs_write_inode().
CVE-2026-72189
2026년 8월 15일In the Linux kernel, the following vulnerability has been resolved: ntfs: fail attrlist updates when the superblock is inactive generic_shutdown_super() clears SB_ACTIVE before evicting cached inodes. If eviction selects the fake inode for a base inode's unnamed $ATTRIBUTE_LIST attribute, ntfs_evict_big_inode() drops the fake inode's reference on the base inode while the fake inode is still hashed and marked I_FREEING. That iput can synchronously write back the base inode. The writeback path may update mapping pairs and call ntfs_attrlist_update(), which unconditionally calls ntfs_attr_iget() for the same $ATTRIBUTE_LIST fake inode. VFS then finds the I_FREEING inode and waits for eviction to finish, but the current task is still inside that eviction path, causing a self-deadlock in find_inode(). Fix this by mirroring the teardown guard used by __ntfs_write_inode(): once SB_ACTIVE has been cleared, do not try to iget the attribute-list fake inode. Return -EIO so teardown aborts the update instead of waiting on the inode it is evicting.
CVE-2026-72188
2026년 8월 15일Linux 커널에서 다음 취약점이 해결되었다: ntfs: ntfs_lookup_inode_by_name()에서 반환된 MFT 참조를 정제함 ntfs_lookup_inode_by_name()는 디스크의 디렉터리 인덱스 항목에서 읽은 MFT 참조를 반환한다. 이 값들은 신뢰할 수 없으나, 해당 함수는 현재 이를 검증하지 않고 오류 표시된 MFT 참조를 호출자에게 반환할 수 있다. 호출자는 이후 MREF_ERR()로 조회 실패를 디코딩한다. 조작된 NTFS 이미지가 MREF 오류 비트를 설정하면서 하위 비트를 임의 값으로 남겨둘 수 있어, 호출자가 조회 결과를 손상된 디스크 메타데이터로 처리하지 않고 잘못된 의사 오류 번호를 사용하게 만든다. ntfs_lookup_inode_by_name()에서 반환되는 모든 오류 표시된 MFT 참조를 ERR_MREF(-EIO)로 정규화하여 근본적으로 이를 수정한다. 네 가지 디렉터리 조회 반환 경로 모두에 적용하여 모든 호출자가 추가 검사나 API 변경 없이 검증된 결과를 받도록 한다. 이 정제는 공통 조회 도우미에 유지되어 각 호출자마다 검증을 중복하는 것보다 더 깔끔하다.
CVE-2026-72187
2026년 8월 15일In the Linux kernel, the following vulnerability has been resolved: ntfs: avoid self-deadlock during inode eviction An attribute-list update performed while allocating clusters can drop the last reference to the temporary attribute inode. Evicting that inode drops its reference to the base inode and can invoke ntfs_drop_big_inode() for the base inode from within the base inode's own writeback path. If the base inode is unlinked, ntfs_drop_big_inode() calls truncate_setsize(), which waits for the inode's folio writeback to complete. The same writeback worker is responsible for completing that writeback, so it waits for itself indefinitely. Prevent this self-deadlock by grabbing a reference to the base inode at the beginning of ntfs_writepages() and releasing it at the end of the function. This defers eviction until all bios have been submitted, allowing the wait for folio writeback to complete safely.
CVE-2026-72186
2026년 8월 15일Linux 커널에서 다음 취약점이 해결되었다: ntfs: 시스템 파일을 변경 불가능하게 만들어 손상을 방지 $Bitmap과 같은 시스템 파일이 show_sys_files를 통해 노출되고 사용자 공간에서 쓰여질 때, 볼륨이 손상된다. 클러스터 할당자가 동일한 inode의 페이지 캐시를 통해 $Bitmap을 스캔하기 때문에, $Bitmap에 대한 쓰기는 이미 잠긴 folio에 대한 쓰기 백을 교착 상태에 빠뜨린다. 이 파일들은 드라이버 자체에서 관리하며 파일 인터페이스를 통해 쓰여질 합당한 이유가 없다. 기본 메타데이터 파일(mft_no < FILE_first_user)을 inode 읽기 시 변경 불가능하게 표시하여 VFS가 쓰기, mmap, truncate 및 unlink를 -EPERM으로 거부하도록 한다. 디렉터리는 건너뛰어 루트와 $Extend가 계속 사용 가능하다. 내부 메타데이터 업데이트는 VFS 쓰기 경로를 거치지 않으므로 영향을 받지 않는다.
CVE-2026-72185
2026년 8월 15일리눅스 커널에서 다음 취약점이 해결되었다: ntfs: ntfs_map_runlist_nolock() 함수 내 resident 속성에 대한 WARN_ON 수정 ntfs_map_runlist_nolock()가 대상 VCN을 포함하는 속성 확장을 조회해야 할 때(ctx_needs_reset == true), ntfs_attr_lookup()를 호출하고 결과가 비거주(non-resident) 속성일 것으로 기대한다. 비거주 속성만이 압축 해제할 매핑 페어 배열을 갖기 때문이다. 조작된 NTFS 이미지가 비거주 속성이 예상되는 위치에 거주(resident) 속성을 배치할 수 있어, ntfs_attr_lookup()가 성공하지만 거주 속성 레코드를 반환한다. 이전에는 WARN_ON()으로만 감지되어 실행이 중단되지 않았다. 이후 코드는 실제로 거주 속성인 a->data.non_resident.highest_vcn을 읽으려 하여 잘못된 공용체 멤버에 접근하고 VCN 범위 검사를 손상시킨다. 마운트 중 이 경고를 유발하는 호출 경로는 다음과 같다: ntfs_map_runlist_nolock ntfs_empty_logfile load_system_files ntfs_fill_super 이 경로에서 ctx는 NULL이며, ntfs_map_runlist_nolock()는 내부적으로 임시 검색 컨텍스트를 할당하고 ctx_needs_reset = true로 설정한다. ctx != NULL 분기에서 기존의 거주 속성 보호는 동일 조건에 대해 조용히 -EIO를 반환한다; ctx_needs_reset 경로도 WARN_ON()을 동일한 -EIO 오류 반환으로 교체하여 일관성을 유지한다. 이로 인해 조작된 이미지는 커널 경고를 발생시키는 대신 마운트 오류로 거부된다.
CVE-2026-72184
2026년 8월 15일In the Linux kernel, the following vulnerability has been resolved: ntfs: fix hole runlist memory leak in insert range error path ntfs_non_resident_attr_insert_range() allocates hole_rl before mapping the whole runlist. If ntfs_attr_map_whole_runlist() fails, the error path drops ni->runlist.lock and returns without freeing hole_rl. This leaks memory of sizeof(*hole_rl) * 2 bytes. Fix this memory leak by freeing hole_rl before returning from that error path, matching the later error paths in the same function.
CVE-2026-72183
번역 확인 필요2026년 8월 15일Linux 커널에서 다음 취약점이 해결되었습니다: landlock: SIGIO 경로에서 LANDLOCK_SCOPE_SIGNAL 우회 수정 LANDLOCK_SCOPE_SIGNAL은 샌드박스된 프로세스가 Landlock 도메인 바깥의 프로세스에 시그널을 보내지 못하도록 해야 합니다. 비동기 SIGIO 전달 경로를 통해 우회될 수 있습니다. 파일 또는 소켓을 소유한 샌드박스된 프로세스는 fcntl(fd, F_SETOWN, -pgid), fcntl(fd, F_SETSIG, SIGKILL) 및 O_ASYNC를 설정하여 I/O 이벤트가 선택한 시그널을 프로세스 그룹 전체에 전달하도록 만들 수 있습니다. 이 그룹은 fork() 직후의 기본 위치인 프로세스 그룹의 선두로서, 이를 시작한 비샌드박스 프로세스(예: 감독자나 보안 모니터링)가 함께 소속될 수 있습니다. 따라서 LANDLOCK_SCOPE_SIGNAL이 보호하려는 프로세스에 대해 이들을 종료시키거나 신호를 보내는 것이 가능해집니다. 스코프는 F_SETOWN 시점에 기록된 Landlock 도메인에 대해 hook_file_send_sigiotask()에서 그룹의 각 멤버에 대해 DELIVERY 시점에 강제되며, 송신자의 라이브 도메인이 아니라 도메인 기록 시점의 도메인을 기준으로 판단합니다. control_current_fowner()는 해당 도메인을 기록할지 결정하며, fowner 대상이 호출자의 쓰레드 그룹에 속하는 경우 기록을 건너뜁니다. 이는 단일 태스크(target PIDTYPE_PID, PIDTYPE_TGID)에만 안전합니다. 프로세스 그룹(PIDTYPE_PGID)의 경우 pid_task()는 한 멤버만 반환하므로, 해당 멤버가 호출자의 쓰레드 그룹을 공유할 때는 기록이 건너뛰어야 하며, hook_file_send_sigiotask()는 그 후 시그널을 그룹 전체로 unchecked하게 확산시키게 됩니다. 따라서 다수의 싱글 프로세스 타깃이 아닌 경우에도 각 그룹 구성원에 대해 도메인을 기록하고 DELIVERY 시점에 강제합니다. 그 기록은 필요하지만 충분하지 않습니다: 커널은 프로세스 그룹에 대해 멤버들의 쓰레드 그룹 리더를 통해 시그널을 보냅니다. 또한 등록자의 자신의 프로세스의 리더가 소유자에 의해 시그널을 건드린 형제 쓰레드와 다른 Landlock 도메인을 가질 수 있습니다. domain_is_scoped()는 그 리더를 거부할 수 있는데, 커밋 18eb75f3af40("landlock: Always allow signals between threads of the same process")은 동일 프로세스 내 전달을 허용해야 함을 요구합니다. hook_task_kill()은 라이브 도메인을 실시간으로 평가하여 이를 피하고 있으며, 이는 영향을 받지 않습니다. 따라서 hook_file_send_sigiotask()는 수신자가 등록자의 자신의 프로세스에 속하는 경우 시그널을 허용하여 동일 프로세스 보장을 회복하는 반면, 도메인 외부 그룹 멤버는 차단됩니다. 직접적인 kill() 경로(hook_task_kill)도 라이브 도메인을 평가하므로 영향 없음입니다. [mic: pid_type를 조기에 확인하고 주석 개선, 커밋 메시지 수정, 주석 형식 수정]
CVE-2026-72182
2026년 8월 15일In the Linux kernel, the following vulnerability has been resolved: power: supply: charger-manager: fix refcount leak in is_full_charged() In is_full_charged(), power_supply_get_by_name() is called to obtain a reference to the fuel_gauge power supply. If the voltage check (uV >= desc->fullbatt_uV) succeeds, the function returns true directly without releasing the reference, leaking the refcount. Fix this by setting a flag and jumping to the out label where power_supply_put() properly drops the reference.
CVE-2026-72181
2026년 8월 15일리눅스 커널에서 다음 취약점이 해결되었습니다: mips: sched: CPUMASK_OFFSTACK 메모리 손상 수정 이 패치는 중요한 메모리 관리 취약점을 해결합니다. CONFIG_CPUMASK_OFFSTACK가 활성화되면 cpumask_var_t가 포인터가 됩니다. 따라서 sizeof(new_mask)은 포인터 크기로 평가되어 copy_from_user()가 마스크 포인터를 덮어씁니다. 더군다나, 이전 로직은 마스크를 할당하기 전에 copy_from_user()를 수행했습니다. 새로운 마스크를 먼저 할당하는 방식으로 이를 수정합니다. 가변 크기의 사용자 마스크를 올바르게 처리하기 위해, cpumask_size()를 사용하여 지나치게 큰 사용자 마스크를 잘라내거나 크기가 작은 마스크를 0으로 채운 뒤에 할당된 버퍼에 데이터를 직접 복사하도록 합니다.
CVE-2026-72180
2026년 8월 15일In the Linux kernel, the following vulnerability has been resolved: mm/huge_memory: preserve pmd_swp_uffd_wp on device-private PMD downgrade change_non_present_huge_pmd() rewrites a writable device-private PMD swap entry into a readable one without carrying pmd_swp_uffd_wp() across. The PTE-level change_softleaf_pte() does this correctly; mirror that here, matching what copy_huge_pmd() does for the fork path. Without the carry, a plain mprotect() over a UFFD_WP-marked device-private THP strips the bit and the trap is bypassed on swap-in.
CVE-2026-72179
2026년 8월 15일In the Linux kernel, the following vulnerability has been resolved: riscv: cacheinfo: Fix node reference leak in populate_cache_leaves Currently, the while loop drops the reference to prev in each iteration. If the loop terminates early due to a break, the final of_node_put(np) correctly drops the reference to the current node. However, if the loop terminates naturally because np == NULL, calling of_node_put(np) is a no-op. This leaves the last valid node stored in prev without its reference dropped, resulting in a node reference leak. Fix this by changing the final `of_node_put(np)` to `of_node_put(prev)`.
CVE-2026-72178
2026년 8월 15일In the Linux kernel, the following vulnerability has been resolved: mm/damon/core: always put unsuccessfully committed target pids damon_commit_target() puts and gets the destination and the source target pids. It puts the destination target pid because it will be overwritten by the source target pid. It gets the source pid because the caller is supposed to eventually put the pids. In more detail, the caller will call damon_destroy_ctx() after damon_commit_ctx() to destroy the entire source context. And in this case, [f]vaddr operation set's cleanup_target() callback will put the pids. The commit operation is made at the context level. The operation can fail in multiple places including in the middle and after the targets commit operations. For any such failures, immediately the error is returned to the damon_commit_ctx() caller. If some or all of the source target pids were committed to the destination during the unsuccessful context commit attempt, those pids should be put twice. The source context will do the put operations using the above explained routine. However, let's suppose the destination context was not originally using [f]vaddr operation set and the commit failed before the ops of the source context is committed. The destination does not have the cleanup_target() ops callback, so it cannot put the pids via the damon_destroy_ctx(). As a result, the pids are leaked. The issue in the real world would be not very common. The commit feature is for changing parameters of running DAMON context while inheriting internal status like the monitoring results. The monitoring results of a physical address range ain't have things that are beneficial to be inherited to a virtual address ranges monitoring. So the problem-causing DAMON control would be not very common in the real world. That said, it is a supported feature. And damon_commit_target() failure due to memory allocation is relatively realistic [1] if there are a huge number of target regions. Fix by putting the pids in the commit operation in case of the failures. The issue was discovered [2] by Sashiko.
CVE-2026-72177
2026년 8월 15일In the Linux kernel, the following vulnerability has been resolved: mm/damon/sysfs-schemes: fix dir put orders in access_pattern_add_dirs() Patch series "mm/damon/sysfs-schemes: fix wrong directories put orders in error paths". Error paths of damon_sysfs_access_pattern_add_dirs() and damon_sysfs_scheme_add_dirs() functions put references to directories in wrong orders. As a result, uninitialized memory dereference and/or memory leak can happen. Fix those. This patch (of 2): In access_pattern_add_dirs(), error handling path puts references starting from setup failed directories. If the failure happpened from the initial allication in the setup functions, uninitialized memory dereference happen. The allocation failures will not commonly happen, but the consequence is quite bad. Fix the wrong reference put orders. The issue was discovered [1] by Sashiko.
CVE-2026-72176
2026년 8월 15일In the Linux kernel, the following vulnerability has been resolved: mm/damon/sysfs-schemes: put stats for scheme_add_dirs() internal error damon_sysfs_scheme_add_dirs() setup the tried_regions directory after the stats directory setup is completed. When the tried_regions directory setup is failed, the setup function ensures the reference for the tried regions directory is released. Hence the error path should put references on setup succeeded directory objects, starting from the stats directory. However, the error path is putting the tried_regions directory instead of the stats directory. As a direct result, the stats directory object is leaked. Worse yet, if the tried_regions directory setup failed from the initial allocation, the scheme->tried_regions field remains uninitialized. The following kobject_put(&scheme->tried_regions->kobj) call in the error path will dereference the uninitialized memory. The setup failures should not be common. But once it happens, the consequence is quite bad. Fix this issue by correctly putting the stats directory instead of the tried_regions directory. The issue was discovered [1] by Sashiko.
CVE-2026-72175
번역 확인 필요2026년 8월 15일리눅스 커널에서 다음 취약점이 해결되었다: fs/proc/task_mmu: fix make_uffd_wp_huge_pte() 보호 업데이트 경합 Patch 시리즈 "userfaultfd/pagemap: pre-existing fixes". 이는 userfaultfd RWP 작업 세트의 선두에서 다루어지던 기존 버그 수정들로, 피처 시리즈의 중간에 위치하지 않도록 분리되어 독립적으로 전송되었으며; RWP 시리즈는 다시 베이스를 재적용하여 재게시되었다. 6건 모두 RWP 시리즈의 Sashiko AI 리뷰에서 표시되었으며 RWP와 독립적으로 mm-new에 직접 적용되며 stable@에 CC되어 있다. 1: fs/proc/task_mmu: make_uffd_wp_huge_pte()에서 누락된 huge_ptep_modify_prot_start()로 인해 PAGEMAP_SCAN이 hugetlb PTE를 보호(write-protect)할 때 하드웨어 Dirty/Accessed 업데이트를 잃을 수 있다. 2: fs/proc/task_mmu: pagemap_scan_hugetlb_entry()가 범위를 HPAGE_SIZE가 아닌 hstate 페이지 크기와 비교하므로 거대한 hugetlb 페이지를 올바르게 보호하지 못한다. 3: fs/proc/task_mmu: PM_SCAN_WP_MATCHING을 가진 PAGEMAP_SCAN이 비채워진 hugetlb 범위에서 자기-죽임(self-deadlocks)을 발생시키는 경우 pagemap_scan_pte_hole()가 hugetlb vma 잠금을 읽기 중에 hold하고 있고 hugetlb_change_protection()이 이를 다시 점유한다. 대신 표시를 인라인으로 설치한다. 4: mm/huge_memory: change_non_present_huge_pmd()가 pmd_swp_uffd_wp를 제거하고, 장치별 PMD 권한 하락에서 uffd-wp 표식을 묵시적으로 잃는다. 5: userfaultfd: must_wait()가 pte_write()를 잠금 없이 읽은 PTE에 적용되며 pte_present()를 확인하지 않으므로 swap/migration 항목이 무작위 오프셋 비트를 디코드하고 스레드가 오래된 fault에 머물 수 있다. 6: userfaultfd: __VMA_UFFD_FLAGS가 VMA_UFFD_MINOR_BIT(41)을 mk_vma_flags()에 무조건 공급하므로 32비트에서 단일 워드 vma_flags_t에 경계 밖 쓰기가 발생한다. 구성-게이트된 모드별 마스크에서 마스크를 빌드해 사용할 수 없는 비트가 절대 구체화되지 않도록 한다. 이 패치는 6건 중 첫 번째이다. make_uffd_wp_huge_pte()는 huge_ptep_modify_prot_start()의 해당하는 크래이트가 없는 상태에서 ptent 스냅샷으로 huge_ptep_modify_prot_commit()를 호출하여 Present한 HugeTLB PTE의 UFFD_WP 비트를 설정한다. 시작 도우미는 진입을 원자적으로 지워 커널 소유의 스냅샷이 커밋까지 일관되게 남도록 하는 역할인데, 없으면 원래의 읽기와 커밋 사이에 하드웨어가 Live PTE에 Dirty 또는 Accessed를 설정할 수 있고, 이후에 huge_ptep_modify_prot_commit()가 Live 하드웨어 비트 위에 오래된 스냅샷을 다시 쓰게 되어 업데이트가 손실된다. 비-hugetlb 형제인 make_uffd_wp_pte()는 ptep_modify_prot_start() / ptep_modify_prot_commit()를 통해 이를 정확히 수행한다. Present-PTE 분기에 대해 같은 패턴을 반영한다. 마이그레이션 케이스는 그대로 두는데 — 마이그레이션 항목은 Present하지 않으므로 하드웨어 업데이트와의 경합이 없다.
CVE-2026-72174
2026년 8월 15일In the Linux kernel, the following vulnerability has been resolved: fs/proc/task_mmu: fix hugetlb self-deadlock in pagemap_scan_pte_hole() A PAGEMAP_SCAN ioctl requesting PM_SCAN_WP_MATCHING on a hugetlb VMA hangs the calling thread, unkillably, as soon as the scan reaches an unpopulated part of the range: do_pagemap_scan() walk_page_range() walk_hugetlb_range() hugetlb_vma_lock_read() # take the vma lock for read ... pagemap_scan_pte_hole() # ... ->pte_hole() for a hole uffd_wp_range() change_protection() hugetlb_change_protection() hugetlb_vma_lock_write() # ... and block taking it for write walk_hugetlb_range() holds the hugetlb vma lock for read across the whole walk. A present entry goes to ->hugetlb_entry(); an unpopulated one goes to ->pte_hole(), i.e. pagemap_scan_pte_hole(). To write-protect the hole that handler calls uffd_wp_range(), which on a hugetlb VMA reaches hugetlb_change_protection() and takes the same vma lock for write. The thread then blocks in down_write() waiting for the read lock it is itself holding. The populated path avoids this: pagemap_scan_hugetlb_entry() write-protects the entry inline under the page-table lock and never enters hugetlb_change_protection(). Do the same for holes. Fault in the page table and install the uffd-wp marker directly with make_uffd_wp_huge_pte() under the page-table lock, rather than routing through uffd_wp_range(). That is the same sequence hugetlb_change_protection() runs for an unpopulated entry, minus the vma write lock -- which is safe to skip because PMD sharing is disabled on uffd-wp VMAs (hugetlb_unshare_all_pmds() runs at registration), leaving nothing for that lock to serialise against.
CVE-2026-72173
2026년 8월 15일In the Linux kernel, the following vulnerability has been resolved: fs/proc/task_mmu: do not warn on seeing non-migration pmd entry Patch series "mm/hmm: A fix and a selftest", v3. Patch 1 fixes a stale warning present from the time when only migration softleaf entries were supported at the PMD level. Patch 2 adds some code into hmm-tests.c which exercises the pagemap path for PMD device-private entries. This patch (of 2): pagemap_pmd_range_thp() warns if a non-present PMD is not a migration entry. This became false once device-private entries at the PMD level were added. Therefore, remove the stale migration-only assertion.