총 15,720건
CVE-2026-139277
2026년 11월 30일In the Linux kernel, the following vulnerability has been resolved: ALSA: pcm: Remove channel-map controls before freeing substreams A late HDA codec bind on an already registered card builds new PCMs before registering them. add_std_chmaps() publishes generic channel-map controls during this BUILD stage. If an earlier chmap succeeds and a later allocation fails, probe cleanup frees the BUILD PCM while the card's control device remains accessible. These generic controls are added directly by snd_pcm_add_chmap_ctls(); snd_hda_ctls_clear() only removes codec-tracked mixer controls. BUILD devices also skip dev_disconnect. snd_pcm_free_stream() then frees the substreams before free_chmap() withdraws their generic control: Late HDA codec bind / rollback Control GET on the live card ------------------------------ ---------------------------- hda_codec_driver_probe() snd_hda_codec_build_pcms() PCM is BUILD snd_hda_codec_build_controls() add_std_chmaps() publish an earlier chmap later allocation: -ENOMEM snd_hda_codec_cleanup_for_unbind() snd_hda_ctls_clear() generic chmap remains codec_release_pcms() snd_device_free() BUILD: skip dev_disconnect snd_pcm_free_stream() kfree(substream) snd_ctl_elem_read() down_read(controls_rwsem) pcm_chmap_ctl_get() walk freed substream free_chmap() snd_ctl_remove() wait for GET up_read(controls_rwsem) The control read lock cannot protect a substream already freed before control removal starts. The failure above occurs before snd_card_register(), so the PCM has not transitioned out of BUILD. Move free_chmap() before the substream free loop. Its snd_ctl_remove() withdraws the control and drains readers under controls_rwsem before any substream is released. Normal registered-device disconnect already removes the control, so the later call remains harmless on that path.
CVE-2026-139276
2026년 11월 30일In the Linux kernel, the following vulnerability has been resolved: f2fs: refresh pinned allocation boundary after resize Online shrink updates MAIN_SECS() but leaves resizable_tail_secno and pinned_area_max_secno unchanged. The pinned allocation limit can exceed the new main area when shrinking beyond the reserved tail. Consume the reserved tail by the number of removed sections, clamping it to zero, before refreshing the shared pinned allocation boundary. This preserves the boundary while shrinking within the reservation and limits it to the new main area otherwise, retaining the zoned limit. Save the old tail count and restore it before rolling back the geometry if the final checkpoint fails. Also bound pinned section allocation by the current MAIN_SECS(). Range evacuation temporarily reduces it before moving cursegs, while the cached pinned boundary still describes the old geometry. Otherwise, a pinned curseg can be reallocated into the range being removed.
CVE-2026-139275
2026년 11월 30일In the Linux kernel, the following vulnerability has been resolved: pNFS/flexfiles: make pg_init retry loops killable When a task is killed while the pNFS client connects to a data server, nfs4_pnfs_ds_connect() fails with -ERESTARTSYS. If the layout has FF_FLAGS_NO_IO_THRU_MDS set, ff_layout_pg_init_read() cannot fall back to the MDS and retries after an uninterruptible ssleep. As the fatal signal stays pending, every new connect attempt is aborted the same way and the task loops forever without returning to user space: # grep -E 'SigPnd|ShdPnd' /proc/156021/status SigPnd: 0000000000000100 ShdPnd: 0000000000000100 # cat /proc/156021/stack msleep+0x2e/0x50 ff_layout_pg_init_read+0x267/0x310 [nfs_layout_flexfiles] __nfs_pageio_add_request+0x1c1/0x480 [nfs] nfs_pageio_add_request+0x21d/0x2c0 [nfs] nfs_read_add_folio+0x143/0x200 [nfs] nfs_readahead+0x204/0x290 [nfs] read_pages+0x62/0x230 page_cache_ra_unbounded+0x136/0x180 filemap_get_pages+0xf2/0x350 filemap_read+0xd5/0x320 nfs_file_read+0x6d/0xc0 [nfs] vfs_read+0x24f/0x3a0 __x64_sys_pread64+0x90/0xc0 do_syscall_64+0x5f/0xe0 Previous attempt propagates the error from nfs4_ff_layout_prepare_ds(), but only ff_layout_{read,write}_pagelist() look at it. The pg_init functions test IS_ERR() and retry on any error. Check for a fatal signal or an exiting task before sleeping in ff_layout_pg_init_read() and ff_layout_pg_init_write() and fail the I/O instead of retrying.
CVE-2026-139274
2026년 11월 30일Linux 커널에서 다음 취약점이 해결되었습니다: nfs/localio: 글로벌 무효화 중 UUID 고정 nfs_localio_invalidate_clients()가 nfs_client 객체에 내장된 UUID 노드를 비공개 목록으로 옮긴 후 목록을 순회하지만 포함된 클라이언트를 유지하지 않습니다. 동시 클라이언트 종료 시도는 이터레이터가 이미 선택한 엔트리를 해제할 수 있어 use-after-free가 발생합니다. 네임스페이스 목록 잠금 아래에서 각 선택된 UUID에 대한 참조를 취합니다. 이 참조 카운트를 nfs_common에 보관하고 cl_count와 무관하게 관리하며, 클라이언트를 해제하기 전에 임시 UUID 사용자를 drain하도록 nfs_free_client()를 구성합니다. UUID 참조를 해제하면 기다리는 프로브를 깨우고 마지막 참조가 떨어지면 완료를 신호합니다. NFSD 무효화 컨텍스트에서 nfs.ko로 진입하거나 최종 NFS 클라이언트 종료를 수행하지 않습니다. 파일이 닫힐 때까지 네임스페이스 목록에 UUID를 유지합니다. 다른 스레드가 이미 이를 비활성화 중인 경우 그 스레드가 고유 엔트리의 연결 해제를 끝낼 때까지 반복적으로 동일한 해드를 선택하지 않도록 기다립니다. 대기 중에는 UUID 스핀락이 해제되어 파일 정리가 진행될 수 있습니다. 무효화 시작 시 네임스페이스 목록 잠금 하에서 순서대로 등록을 추가하고 마지막 시퀀스를 캡처합니다. 무효화의 경계까지 도달하도록 하여 원래의 마지막 항목이 동시 제거되더라도 새로운 등록이 무한히 스윕을 확장하지 않도록 합니다. UUID 및 네임스페이스 목록 잠금 하에서 LOCALIO 연결을 게시하기 전에 엔트리를 무효화에 노출합니다. 임시 UUID 참조를 사용하면 핸드셰이드를 글로벌 조회 잠금 해제 후 UUID 잠금에서 문서화된 순서를 취하도록 할 수 있으며, 프로브가 철회되었는지 재확인합니다. 새로운 프로브는 임시 UUID 사용자가 drain될 때까지 기다린 다음 재사용 전에 연결을 재확인합니다. 이는 임시 무효화 참조가 클라이언트의 LOCALIO 재검증 시도를 버리지 않도록 합니다. 소유자의 UUID 참조를 떨어뜨리기 전에 보류 중인 프로브를 철회합니다. 일관된 같은 베이스의 KASAN 재현기가 패치되지 않은 트리에서 보고된 use-after-free를 발생시켰습니다. 이 패치를 적용하면 동일한 제어된 무효화 및 종료 레이스가 대상 KASAN 보고서나 다른 커널 진단을 남기지 않고 완료되었습니다. 모든 16개의 고유 클라이언트에 대한 비활성화 이벤트를 기록한 별도의 런에서도 확인되었습니다. 두 번째 비활성화기가 ->net이 지워진 후 unlink를 기다리고, 클라이언트 종료가 임시 UUID 사용자가 drain될 때까지 기다리는지 확인하는 테스트 전용 동기화 훅이 확인되었습니다. NFSv4.2 및 NFSv3 읽기, 쓰기 및 마운트 해제 스모크 테스트, export- flush 및 I/O 스트레스, NFSD 재시작, 네트워크 네임스페이스 수명주기 테스트, 모듈 언로드가 KASAN 및 lockdep 활성화 상태에서 통과했습니다. GCC 13.3으로 전체 x86_64 커널 및 모듈 빌드, CONFIG_WERROR=y, NFS_FS=m, NFSD=m 및 LOCALIO 활성화 상태에서 진단 없이 완료되었습니다. 모듈 메타데이터에서 nfs_localio.ko가 sunrpc에만 의존하는 반면 nfs.ko는 lockd, nfs_localio, sunrpc에 의존하는 것으로 나타났습니다. 또 다른 NFS_FS=m, NFSD=y 빌드는 vmlinux에도 성공적으로 연결되었습니다. 취약점 연구 및 검증은 Best of the Best 15번째 프로그램의 Tobabz 팀 멤버들이 수행했습니다.
CVE-2026-139273
2026년 11월 30일Linux 커널에서 다음 취약점이 해결되었습니다: ALSA: aloop: close 시 공유 타이머 콜백 유지 공유 음향 타이머 콜백은 close가 PCM 런타임을 분리하기 전에 선택된 런타임을 사용 완료해야 합니다. loopback_snd_timer_period_elapsed()는 cable->lock 아래에서 활성 서브스트림을 저장한 다음 snd_pcm_period_elapsed()나 snd_pcm_stop_xrun()을 호출하기 전에 잠금을 해제합니다. sound-timer 백엔드는 스트림별 close drain이 없고, free_cable()은 짝 지점이 연결된 상태에서 타이머를 열어 둡니다. 두 방향이 공유 음향 타이머에서 작동할 때, 재생은 손실되고 알림이 보류 중인 경우에 닫힐 수 있습니다. 캡처는 타이머를 계속 유지하므로 다음 순서를 허용합니다: 타이머 콜백 재생 소유자 -------------- -------------- cable->lock 아래에서 재생 선택 잠금 해제; 알림 지연 DROP; HW_FREE -> OPEN close: snd_pcm_drop(); unlock free_cable(); 피어는 살아 있음 snd_pcm_period_elapsed() 스트림 잠금; 런타임 캐시 snd_pcm_detach_substream() 런타임 및 그 fasync 해제 runtime->fasync 읽기 snd_pcm_drop()에 의해 취득된 스트림 잠금은 반환 후 시작되는 알림을 보호할 수 없고, detach은 이를 잡지 못합니다. 따라서 콜백은 런타임이 해제된 후에도 runtime->fasync를 읽을 수 있으며, 같은 서브스트림 슬롯이 알림이 재개되기 전에 다시 열리면 escape된 알림이 대체 런타임에 도달할 수 있습니다. 타깃을 선택할 때 cable->lock 아래의 기존 cable->stop_count 참조를 가져오고, PCM 콜백이 끝나고 XRUN 경로를 포함한 후에 해제합니다. free_cable()은 이미 해당 잠금 아래에서 종료 엔드포인트를 제거하고 반환하기 전에 stop_count를 대기하므로 런타임 분리와 슬롯 재사용이 알림을 늦출 수 없습니다.
CVE-2026-139272
2026년 11월 30일In the Linux kernel, the following vulnerability has been resolved: ALSA: aloop: Keep the timer source alive until card release The timer_source string must remain valid while PCM opens can select and parse it. loopback_set_timer_source() allocates the string with parent-device devres, which can release it while the card is still registered. A successful nonempty proc replacement after snd_card_register() adds the string allocation after trigger_card_free. Unbinding the platform device while snd_aloop remains loaded releases devres in reverse order. An open for an unused cable can run after the string is freed and before the card-free action disconnects the card: Device unbind PCM open devres_release_all() free replacement string snd_pcm_open() snd_card_file_add() loopback_open() loopback_snd_timer_open() loopback_parse_timer_id() trigger_card_free() snd_card_free() snd_card_disconnect() The parser can then read freed memory. KASAN has reported a one-byte use-after-free read in strchr() from loopback_snd_timer_open(). The cable_lock mutex serializes explicit replacements with opens, but implicit devres release does not take it. The card and module references held by PCM open do not retain this separate devres allocation. Use kstrdup() and release the current string from card->private_free. PCM admission already retains the card until each file is removed, and card disconnect drains proc callbacks before final card release. This keeps the string alive across admitted PCM opens and preserves the cable_lock serialization of replacements. Install the callback before the initial allocation so probe failures also release the string.
CVE-2026-139271
2026년 11월 30일In the Linux kernel, the following vulnerability has been resolved: block, bfq: initialize active lists for all actuators Commit 2d31c684a053 ("block, bfq: inject I/O to underutilized actuators") extended bfqd->active_list from a single list_head to an array indexed by actuator, but bfq_init_queue() still only initialized the first two entries: INIT_LIST_HEAD(&bfqd->active_list[0]); INIT_LIST_HEAD(&bfqd->active_list[1]); For devices with more than two independent access ranges, the remaining list heads stay zeroed by kzalloc() and are never set up as empty lists. When BFQ later adds a bfq_queue to one of those lists, list_add() writes through head->next, which is NULL, corrupting the list or crashing the kernel. Initialize every actuator's active list using bfqd->num_actuators, which is already set up earlier in bfq_init_queue().
CVE-2026-139270
2026년 11월 30일In the Linux kernel, the following vulnerability has been resolved: cgroup/cpuset: Properly disabling partition when partition state switching fails Before commit 103b08709e8a ("cgroup/cpuset: Fail if isolated and nohz_full don't leave any housekeeping"), the partition state can be freely switched from "root" to "isolated" and vice versa. After that commit, the switch from "root" to "isolated" can fail if it exhausts all the housekeeping CPUs. Later on, the switch from "isolated" to "root" can also fail if some of the partition CPUs are boot-time isolated by "isolcpus". A local or remote partition is made invalid when the switch fails. However there are 2 problems with the existing invalidation code. 1) Both the subpartitions_cpus and isolated_cpus are not properly updated. 2) In the case of remote partition with remote_partition flag set, it is not cleared. Fix this by calling the proper partition disabling function in this case. On an x86 test system with boot option "isolcpus=10 cgroup_debug" set and more than 16 cores, the following commands were executed after boot. # cd /sys/fs/cgroup # echo +cpuset > cgroup.subtree_control # cat cpuset.cpus.isolated 10 # mkdir A # echo 10-12 > A/cpuset.cpus # echo isolated > A/cpuset.cpus.partition # cat A/cpuset.cpus.partition isolated Before the patch: # echo root > A/cpuset.cpus.partition # cat A/cpuset.cpus.partition root invalid (partition config conflicts with housekeeping setup) # cat cpuset.cpus.isolated .__DEBUG__.cpuset.cpus.subpartitions 10-12 10-12 After the patch: # echo root > A/cpuset.cpus.partition # cat A/cpuset.cpus.partition root invalid (partition config conflicts with housekeeping setup) # cat cpuset.cpus.isolated .__DEBUG__.cpuset.cpus.subpartitions 10
CVE-2026-139269
2026년 11월 30일In the Linux kernel, the following vulnerability has been resolved: bpf: Fix arena race between page free and alloc leading to incoherency Existing arena kfunc code has an underlying race condition that can lead to writes being lost from the BPF program's point of view: a) A memory range gets freed by operation (1), and its range is added back to the arena range tree. b) A concurrent allocation (2) reallocates the range, and does writes to it. Writes from that CPU may follow the stale TLB entries into the pages that are about to be freed. c) (1) invalidates the TLB. The old pages, and any writes done to them, are now inaccessible. zap_pages() similarly removes the mappings for userspace threads. This can be triggered by particularly demanding BPF arena data structures that constantly allocate and deallocate memory, like hash table allocations. Solve this ABA problem by keeping the range allocated until TLB invalidation and unmapping are complete. Under the arena spinlock, claim any free pages in the range and clear its kernel PTEs. Then drop the spinlock, lock and unlock each cleared page to wait for faults that are still installing a user PTE, flush the kernel TLB and zap the user page tables. Finally, retake the spinlock to release the range. Frees serialize on zap_mutex, so an overlapping free cannot release the range early. Claiming the range only allocates a range tree node when the whole range is free, and then there is nothing to free. User faults on a range that is allocated without a page now raise SIGBUS instead of populating it. That covers a range reserved with bpf_arena_reserve_pages() and a range whose kernel PTEs a free has already cleared. Touching a page while a BPF program frees it is a user space bug, and in a BPF_F_SEGV_ON_FAULT arena it already raises SIGSEGV. Sleepable frees run synchronously and are deferred only when the arena spinlock cannot be taken. The deferred free worker retries such a free in place instead of requeueing itself, so the flush_work() in arena_map_free() waits for all of its work.
CVE-2026-139268
2026년 11월 30일In the Linux kernel, the following vulnerability has been resolved: net/sched: act_api: reject duplicate actions in a batch tca_action_gd() builds actions[] with one tcf_action_get_1() per nested TCA_ACT_TAB entry. Each successful lookup takes its own reference to the resolved action, so repeated TCA_ACT_INDEX entries in one request yield the same pointer in multiple slots. For RTM_DELACTION, tcf_action_delete() then consumes two references per slot: one in tcf_action_put() and one in tcf_idr_delete_index(). A duplicate therefore drives the refcount to zero mid-walk -- the delete frees the action and removes its IDR slot -- and the next slot calls tcf_action_put() on the freed action: refcount_t: underflow; use-after-free. WARNING: lib/refcount.c:87 at refcount_dec_not_one refcount_dec_and_mutex_lock __tcf_action_put tca_action_gd Three duplicate entries are enough. Reject a repeated action while a delete batch is built, dropping the reference the extra lookup took, and return -EINVAL. RTM_GETACTION balances its own references and keeps accepting duplicate entries. Conditions to recreate the bug: tc actions add action gact index 100 tc actions delete action gact index 100 action gact index 100 \ action gact index 100
CVE-2026-139267
2026년 11월 30일In the Linux kernel, the following vulnerability has been resolved: RDMA/mlx5: Validate priority in STEERING_ANCHOR_CREATE handler In MLX5_IB_METHOD_STEERING_ANCHOR_CREATE, the user-supplied u16 priority is passed directly to _get_flow_table() without an upper bound check. This can lead to out-of-bounds array accesses on dev->flow_db priority tables. Check that priority does not exceed MLX5_IB_FLOW_LAST_PRIO before calling _get_flow_table(), matching the existing validation in raw_fs_rule_add() and mlx5_ib_create_flow().
CVE-2026-139266
2026년 11월 30일In the Linux kernel, the following vulnerability has been resolved: ntfs: fix FITRIM bitmap indexing for large pages The LCN bitmap has one bit per cluster, so a bitmap page represents PAGE_SIZE * 8 clusters. ntfs_trim_fs() still used a 15-bit shift when selecting the page. On arm64 with 16 KiB pages this selects the wrong bitmap page and can test or discard the wrong clusters. Compute bitmap indices from buf_clusters, use the page cluster base as the bit-search origin, and keep the requested range as the clipping boundary.
CVE-2026-139265
2026년 11월 30일리눅스 커널에서 다음 취약점이 해결되었습니다: ntfs: 런리스트 마커 할당 및 개수 수정 마커 경로는 병합 헬퍼가 결과 런리스트 개수를 이미 계산한 후에 매핑되지 않은 요소와 ENOENT 종결자를 추가할 수 있습니다. 이 경우 ds + 2 개의 요소를 할당하면 ds + 2에서 종결자를 위한 공간이 남지 않게 됩니다. 또한 경로는 병합 헬퍼가 최종 런리스트 크기를 이미 고려했음에도 새_rl_count를 증가시키므로, 나중의 병합이 종결자 이후에서 시작하게 만듭니다. ds + 2를 통해 공간을 할당하고 최종 종결자 인덱스에서 새_rl_count를 도출하여 두 번째로 개수를 증가시키지 않습니다. 이미지가 마운트된 뒤 일반적인 읽기로 이 경로에 도달할 수 있으며, 이로 인해 커널 힙에 대한 경계 외 읽기(out-of-bounds heap access)가 트리거될 수 있습니다.
CVE-2026-139264
2026년 11월 30일In the Linux kernel, the following vulnerability has been resolved: ntfs: wait for the bitmap scan before MFT bitmap extension If MFT bitmap extension fails before the initial $Bitmap scan completes, rollback calls ntfs_bitmap_clear_bit(), which holds a folio lock while ntfs_set_lcn_empty_bits() waits for the scan. The scanner deadlocks if it still needs that folio. Wait for the initial scan before taking the runlist or bitmap folio locks and attempting allocation.
CVE-2026-139263
2026년 11월 30일In the Linux kernel, the following vulnerability has been resolved: ntfs: avoid misclassifying directory reparse points Windows directory symlinks and junctions can carry FILE_ATTR_DUP_FILE_NAME_INDEX_PRESENT in their entry while the reparse flag is stored only in. The old directory enumeration path treated such entries as DT_DIR, allowing no-follow userspace scanners to recurse through symlink targets.
CVE-2026-139262
2026년 11월 30일In the Linux kernel, the following vulnerability has been resolved: ntfs: restart the zone search when the allocation hint fails When ntfs_cluster_alloc() is given a start_lcn, it first tries the clusters from there on. If that does not satisfy the request, it moves on to the zone's current position, but keeps the pass, the zone_end and the has_guess state it had. That loses free clusters in two ways. If the search had already moved on to pass 2, whose range ends at the hint, it scans only from the zone position to the hint and misses every free cluster between the start of the zone and the zone position. If no cluster had been tested yet, has_guess is still set, so the cluster at the zone position is tried as if it had been the hint, and when that cluster is in use the rest of the bitmap buffer is skipped. Both happen when the hint lies at or past the end of the volume, which ntfs_attr_map_cluster() produces when it extrapolates from the last allocated run across a hole. The allocator then finds nothing, shrinks the MFT zone to nothing trying to satisfy the request, and fails with -ENOSPC. To reproduce on a 128 MiB volume with 4 KiB clusters, extend two files in turn by one cluster at a time, alternating between fallocate(), write() past EOF and truncate() up, so that the runs of each file are separated by holes. When the volume is full, truncate both files back to 1 MiB and start again. During the second round a one-cluster fallocate() fails with ENOSPC while 40 MiB is free. Start the zone over as if no hint had been given. A contiguous request can get there with the run from the hint already allocated, when that run reached the end of a bitmap buffer or of the zone. Return that run instead, as when a cluster in use ends it; going on at the zone position gives the request a second run that its caller does not expect. That could happen before this patch too, whenever the cluster at the zone position was free. ntfs_attr_map_cluster() reports and zeroes only the first run, so after a fallocate() of 20 clusters over a hole, with the hint 4 clusters before the end of the volume, 16 of them read back the data of a deleted file.
CVE-2026-139261
2026년 11월 30일In the Linux kernel, the following vulnerability has been resolved: ntfs: do not give a contiguous cluster allocation a second run ntfs_attr_map_cluster() asks ntfs_cluster_alloc() for contiguous clusters and merges the whole result into the runlist, but reports only its first run, so its callers zero only that run. Within a bitmap page the allocator keeps such a request to one run, because a cluster in use ends it. The zone search can also move on without testing the clusters after the run, though: it skips a bitmap page that has no free clusters, it goes from the end of the zone to the start of pass 2, and once every zone has been searched it shrinks the MFT zone by half and goes on at its new end. After each of these jumps the first cluster tested is still taken as the next one of the run, and if it is free it starts a second run elsewhere on the volume. fallocate() over a hole then leaves the clusters of that second run holding whatever they held before: on a nearly full volume, 16 of 20 fallocated clusters read back a deleted file's data, in each of the three cases. Delayed allocation gets a second run without punching any holes: filling the same volume with write() reaches the last case when the MFT zone is shrunk. The allocator then takes only the first run off the dirty-cluster count, and after the fill statfs() reported no free space while 939 clusters were still free, until the next mount. Before setting the bit of a cluster for a contiguous request, check that the cluster comes right after the run, and return the run as it is if not; no bit has to be cleared. ntfs_attr_map_cluster() already handles a short run, which a cluster in use produces in the same way: its callers ask again for the rest.
CVE-2026-139260
2026년 11월 30일In the Linux kernel, the following vulnerability has been resolved: ntfs: drain in-flight DIO before buffered write fallback An asynchronous direct write can remain in flight after the inode lock is released. If another direct write falls back to buffered I/O while the first write is still pending, iomap_file_buffered_write() can dirty pages before the first write completes its post-I/O page cache invalidation. The invalidation then finds dirty pages, reports a page cache invalidation failure, and records -EIO in the mapping error sequence. A later fsync() therefore returns -EIO. Commit 15cdefd0c0522f9d5e12d947fa04f4c11649b699 ("ext4: drain in-flight DIO before buffered write fallback") fixed the same race in ext4. NTFS has an equivalent fallback after iomap_dio_rw() returns -ENOTBLK or a short write, but does not drain other in-flight DIO before dirtying the page cache. Wait for in-flight DIO before calling iomap_file_buffered_write() in the fallback path. Since NTFS supports IOCB_NOWAIT, do not enter the blocking fallback for such requests. Return -EAGAIN if no bytes were written, or preserve the positive short-write result if the direct write made partial progress. A reproducer using concurrent AIO direct writes and buffered fallback triggered the following warning and made a subsequent fsync() return -EIO: Page cache invalidation failure on direct I/O. Possible data corruption due to collision with buffered I/O!
CVE-2026-139259
2026년 11월 30일In the Linux kernel, the following vulnerability has been resolved: ntfs: clear stale pagecache on initialized-size extension iomap_zero_range() skips holes, so EOF-polluted cache data can survive gap zeroing. Discard the uninitialized cache range before advancing initialized_size so later reads cannot expose stale bytes. Perform the cleanup in ntfs_extend_initialized_size() so both file writes and shared writable mmap preparation use it. Hold the invalidate lock while reading initialized_size, clearing the cache, zeroing the gap, and updating the attribute. Release the lock on every exit path.
CVE-2026-139258
번역 확인 필요2026년 11월 30일리눅스 커널에서 다음 취약점이 해결되었습니다: ntfs: ntfs_decompress()의 하위 블록 오프셋을 확장합니다 ntfs_decompress()는 대상 페이지 내에서 현재 하위 블록이 시작하고 끝나는 위치를 두 개의 u16로 추적합니다: u16 do_sb_start; u16 do_sb_end; ... do_sb_start = *dest_ofs; do_sb_end = do_sb_start + NTFS_SB_SIZE; *dest_ofs는 PAGE_MASK으로 마스킹된 정수 페이지 오프셋이고, NTFS_SB_SIZE는 0x1000이므로 do_sb_end는 PAGE_SIZE + 0xfff의 범위를 필요로 합니다. PAGE_SIZE가 0x10000에 도달하면 마지막 서브블록의 시작 위치가 0xf000이고 do_sb_end가 0x10000에서 0로 다시 순환합니다. 이로 인한 0으로 채우는 패딩은 짧은 서브블록의 길이를 음수로 계산하게 됩니다: if (dp_addr < dp_sb_end) { int nr_bytes = do_sb_end - *dest_ofs; memset(dp_addr, 0, nr_bytes); 심볼 토큰으로만 이루어진 서브블록은 경로를 따라 do_sb_end를 확인하지 않고도 이 상태에 도달합니다, 왜냐하면 그 경로는 그냥 *dp_addr++ = *cb++; ++*dest_ofs; 으로 채우고 dp_addr가 dp_sb_end에 대해 제한됩니다. do_sb_start가 0xf000이고 여덟 바이트가 버퍼에 들어가면 nr_bytes는 -61448이 되고 memset()는 18446744073709490168 바이트를 실행합니다. 도달하는 순간은 저렴합니다: 여덟 바이트씩의 열다섯 개의 서브블록은 각 서브블록을 0x1000으로 확장시키면서 do_sb_end가 여전히 정확한 상태에서 *dest_ofs를 0xf000으로 앞으로 밀고, 여섯 번째 열에서 랩이 발생합니다. 압축 블록은 0x10000 바이트이고 4KiB 클러스터와 4의 고정 압축 단위로 이루어져 있어 모두 여유를 두고 맞춰집니다. 토큰은 do_sb_end에 대해 경계가 설정되므로 반환은 -EOVERFLOW가 되고, if (*dest_index == dest_max_index && do_sb_end > dest_max_ofs) 서브블록 상단의 조건은 같은 이유로 작동하지 않도록 중지됩니다. 둘 다에 대해 int를 사용합니다, *dest_ofs와 dest_max_ofs를 일치시키기 위함입니다. 원래 임포트 단계에서 좁은 타입이 도입되어 제거 및 리버트 드라이버의 제거 시에도 남아 있었습니다.