총 15,720건
CVE-2026-99917
2026년 11월 30일In the Linux kernel, the following vulnerability has been resolved: mm/swap: fix swap_cache_get_folio() returning a folio that left the swap cache swap_cache_get_folio() reads the folio from the swap table and takes a reference with folio_try_get(), without any lock. If the folio is removed from the swap cache and freed in between, and its memory gets reused, folio_try_get() still succeeds and we return a page that has nothing to do with the swap entry: CPU 0 CPU 1 do_swap_page() swap_cache_get_folio() swp_tb = swap_table_get() folio = swp_tb_to_folio(swp_tb) madvise(MADV_DONTNEED) zap_nonpresent_ptes() swap_put_entries_direct() swap_put_entries_cluster() __try_to_reclaim_swap() swap_cache_del_folio() folio_put() <- freed page reused, e.g. as an anon folio of another task folio_try_get(folio) <- succeeds return folio swap_update_readahead() <- may clear PG_readahead on it folio_lock_or_retry() <- locks it folio_matches_swap_entry() fails, unlock and put filemap_get_entry() does the same lockless lookup for the page cache, and after folio_try_get() it rechecks the xarray, because the folio may have been freed and reused in between. swap_cache_get_folio() lost that recheck when the swap cache moved to the swap table. So CPU 0 writes to a folio it doesn't own: it may clear PG_readahead and takes the folio lock of someone else's page, before folio_matches_swap_entry() finds out the folio is not ours. When the race occurs, a swap fault can acquire a reference to a physical page that has been freed and reused for an unrelated purpose, potentially by another process. The fault handler may then clear that page's PG_readahead/PG_reclaim flag, wait on or acquire its folio lock, and potentially attempt to remove it from an unrelated swap cache. These operations can interfere with unrelated workloads and may cause unexpected stalls and impaired reclaim. The subsequent swap-entry validation normally prevents the wrong folio from being mapped into the faulting process. It's documented that caller always double checks the folio so this part is harmless from the aspect of data corruption or crash. Recheck the slot after folio_try_get() and retry if it no longer holds this folio. [[email protected]: add LLM-generated description of userspace impact]
CVE-2026-99916
2026년 11월 30일In the Linux kernel, the following vulnerability has been resolved: mm/truncate: fix the zeroing end of pagecache_isize_extended() A process that extends a file by 4 GiB or more past a dirty folio, on a file system whose block size is smaller than the page size (ext4 with 1k blocks), reads back the bytes it wrote through a shared mapping beyond the old end of file instead of zeroes, and a later write into that block carries them to the disk. With the example of commit 52aecaee1c26 ("mm: zero range of eof folio exposed by inode size extension") and the truncate taken 4 GiB further (pwrite 2k at 0, mmap the first page and write 'X' over [2k, 4k), truncate(2) to 4 GiB + 2k), the read of [2k, 4k) returns the 2048 'X' bytes, and a pwrite of 16 bytes at 3k followed by fsync() and a remount leaves 1008 'X' bytes on the disk in [3k+16, 4k). No privilege is needed, and every size extension of 4 GiB or more reaches it: truncate(2)/ftruncate(2) through truncate_setsize(), writes beyond the end of file through generic_write_end(), ext4, iomap, btrfs, exfat, ntfs, afs and orangefs. Affected since v6.13. pagecache_isize_extended() zeroes the part of the dirty folio straddling the old end of file that the size extension exposes, from the old size to the new size or the end of the folio, whichever comes first: end = min_t(unsigned int, to - folio_pos(folio), folio_size(folio)); min_t() converts both operands to unsigned int before comparing, so the loff_t difference to - folio_pos(folio) is reduced modulo 2^32 first. When the file grows by 4 GiB or more past the folio, end is that residue instead of folio_size(folio): below offset nothing is zeroed, above it only [offset, end) is. The bytes beyond the old end of file stay in the dirty folio and, now inside i_size, are file data. Compare in loff_t; the result is at most folio_size(folio) and fits end. Found while formally verifying pagecache_isize_extended() against the kernel binary.
CVE-2026-99915
2026년 11월 30일리눅스 커널에서 다음 취약점이 해결되었습니다: mm/page_vma_mapped: 비일치하는 거대 PMD를 지나 계속 진행 PTE-매핑된 큰 folio가 비정렬 mremap() 이후 PMD 경계를 넘길 수 있습니다. 첫 부분이 버려지고 관련 없는 거대 PMD로 대체되면, page_vma_mapped_walk()가 남은 folio를 이후 PMD들에서 찾지 않고 중지합니다. 이 문제는 마이그레이션 엔트리에도 영향을 미칩니다. 관련 없는 거대 PMD에서 멈춘 워크는 마이그레이션 또는 익명 folio 분할이 매핑을 복원할 때 마이그레이션 PTE를 남겨둘 수 있습니다. 이러한 항목은 매핑 참조를 보유하지 않으며 소스 folio보다 오래 살아남을 수 있습니다. 이로 인해 메모리 손상(memory corruption)이 발생할 수 있으며 이를 재현하는 예제가 있습니다. 현 상태의 PMD를 끝내지 말고 플래그나 PFN 불일치에서 벗어나며, 잠금 해제 후 PMD 상태를 초기화하고 step_forward()로 진행해 기존 범위 한계가 종료를 제어하도록 합니다. 이 방식은 present, migration 및 device-private 거대 PMD를 다루면서 매칭-PMD와 PTE 경로로의 분할을 유지합니다.
CVE-2026-99914
2026년 11월 30일In the Linux kernel, the following vulnerability has been resolved: mm/mremap: populate calculated fields in vrm state correctly Commit d5c8aec0542e ("mm/mremap: initial refactor of move_vma()") introduced the vma_remap_struct helper to pass state sanely through mremap() logic. Part of this state is vrm->delta - equal to the absolute difference between vrm->old_len and vrm->new_len (the old and new lengths of the VMA, respectively). This value is used to correctly charge accounted VMAs. When shrinking a VMA, mremap_to() sets vrm->old_len equal to vrm->new_len having performed the shrink of the VMA first, prior to any potential move (e.g. MREMAP_FIXED | MREMAP_MAYMOVE specified). However it does not recalculate vrm->delta, which results in incorrectly overcharging the VMA when both moving and shrinking a VMA. The charge leaks to Committed_AS globally, meaning a mischievous user can cause allocations to fail across the system in strict overcommit mode. Resolve the issue by abstracting the update of vrm->delta to vrm_populate_calculated() and invoking this from mremap_to() when vrm->old_len is changed. Additionally, update vrm->remap_type whose value depends on vrm->delta. The field is not read again after the shrink, but it is the logically correct thing to do and protects against future changes which break this.
CVE-2026-99913
2026년 11월 30일In the Linux kernel, the following vulnerability has been resolved: mm/mremap: correctly uncharge accountable VMAs in error path The mremap error path is a fragile and unwieldy beast - it reverses the page table move then updates vma_remap_struct state to swap VMA, length and address between old and new VMAs in copy_vma_and_data(). If the mremap() operation didn't specify MREMAP_DONTUNMAP then its caller, move_vma(), invokes unmap_source_vma(), which unmaps the new VMA rather than the old one. For accountable VMAs when MREMAP_DONTUNMAP is not specified, unmap_source_vma() unsets VMA_ACCOUNT_BIT during this unmap in order that only the delta of a VMA expansion is charged (performed by vrm_calc_charge() earlier). Therefore nothing uncharges the expanded VMA size, and there is a permanent leak in global Committed_AS. Resolve the issue by uncharging when MREMAP_DONTUNMAP is not specified.
CVE-2026-99912
2026년 11월 30일In the Linux kernel, the following vulnerability has been resolved: riscv: mm: exclude invalid THP PMDs from page table check RISC-V THP splitting uses a temporary invalid PMD state where pmd_mkinvalid() clears _PAGE_PRESENT and _PAGE_PROT_NONE but leaves _PAGE_LEAF set so the MM code can still recognize the PMD as a THP split in-progress entry. That temporary state no longer describes a user-accessible mapping, but page_table_check currently treats it as one because the RISC-V PMD user-accessibility test only checks whether the PMD is a leaf and has user permissions. As a result, when a PMD-sized anonymous THP is split during a COW fault, page_table_check can account the invalid intermediate PMD as a live PMD mapping, and then account the replacement PTE mappings again when the split installs the PTE table. This leaves stale PMD accounting behind and later triggers page_table_check failures such as a non-zero anon_map_count when the folio is freed. Fix this by tightening pmd_user_accessible_page() so PMD page-table-check accounting only considers leaf PMDs that still carry either _PAGE_PRESENT or _PAGE_PROT_NONE. This preserves the THP split semantics required by the MM code while preventing page_table_check from treating invalid split PMDs as live user mappings. With CONFIG_PAGE_TABLE_CHECK=y and CONFIG_PAGE_TABLE_CHECK_ENFORCED=y, tools/testing/selftests/mm/cow completes successfully on RISC-V after this change.
CVE-2026-99911
2026년 11월 30일In the Linux kernel, the following vulnerability has been resolved: mm/vma: avoid broken uffd merge on mremap Userfaultfd often causes unexpected interactions within mm, and does so at the intersection of uffd, mremap() and VMA merging. When an mremap of a VMA occurs, copy_vma_and_data() calls mremap_userfaultfd_prep() to notify uffd of this. However, mremap_userfaultfd_prep() simply drops the UFFD context for the VMA if the user did not register it for remap, i.e. didn't specify the UFFD_FEATURE_EVENT_REMAP flag. This is OK for the VMA itself, as upon page table move, move_ptes() clears UFFD page table flags, using vma_has_uffd_without_event_remap() to determine whether to do so. However, this doesn't account for merging with adjacent VMAs, whose page tables won't have received this treatment, and thus latent UFFD markers will be left around. Worse, it'll break UFFD for any VMAs it is merged with. This is very surprising behaviour for a user, who will then simply not receive UFFD events for VMAs they ought to. Resolve the issue by explicitly checking for this case via vma_has_uffd_without_event_remap() in vma_merge_copied_range(), the merge function explicitly designated for mremap() operations. Also update the userland VMA tests accordingly.
CVE-2026-99910
2026년 11월 30일In the Linux kernel, the following vulnerability has been resolved: mm: multi-gen LRU: fix NULL lruvec->pgdat deref with memcg disabled on cmdline When CONFIG_MEMCG=y, lruvec_pgdat() returns lruvec->pgdat, which for the per-node pgdat->__lruvec is left NULL by lruvec_init() and only filled in lazily by mem_cgroup_lruvec(). Normally that happens early, e.g. on the first folio_add_lru(). With cgroup_disable=memory, lru_gen_shrink_node() passes &pgdat->__lruvec directly to shrink_one(). If direct reclaim runs before anything has called mem_cgroup_lruvec() for the node, which can happen during early boot under memory pressure (e.g. a kdump kernel), get_swappiness() ends up dereferencing a NULL pgdat: Unable to handle kernel NULL pointer dereference at virtual address 0000000000005040 pc : get_swappiness+0x68/0xb0 lr : try_to_shrink_lruvec+0x54/0x2c0 Call trace: get_swappiness+0x68/0xb0 (P) try_to_shrink_lruvec+0x54/0x2c0 shrink_one+0x8c/0x240 shrink_node+0xc6c/0xe08 do_try_to_free_pages+0xdc/0x570 try_to_free_pages+0x124/0x278 __alloc_frozen_pages_noprof+0x6e8/0xf78 alloc_pages_mpol+0xc4/0x1c0 alloc_frozen_pages_noprof+0x54/0xe8 alloc_pages_noprof+0x1c/0x40 atomic_pool_expand+0x98/0x300 __dma_atomic_pool_init+0x58/0xd8 dma_atomic_pool_init+0x154/0x170 do_one_initcall+0x64/0x350 kernel_init_freeable+0x214/0x430 kernel_init+0x2c/0x208 ret_from_fork+0x10/0x20 The classic LRU path and MGLRU before per-node lru_gen_folio lists obtained the lruvec through mem_cgroup_lruvec(), which sets lruvec->pgdat. The above was hit on an arm64 kdump kernel (6.18-based) booted with cgroup_disable=memory nr_cpus=4. It also reproduces on mainline on an arm64 VM with CONFIG_ARM64_64K_PAGES=y, CONFIG_MEMCG=y, CONFIG_LRU_GEN_ENABLED=y and: mem=160M nr_cpus=4 coherent_pool=512M cgroup_disable=memory These options only serve to force direct reclaim early in boot; with 160M the boot eventually ends in OOM regardless. On mainline the first LRU reclaim happens while unpacking the initramfs, and faults the same way: Unable to handle kernel NULL pointer dereference at virtual address 0000000000005040 pc : get_swappiness+0xd4/0x150 Call trace: get_swappiness+0xd4/0x150 (P) try_to_shrink_lruvec+0x44/0x2b8 shrink_one+0x80/0x1a0 shrink_node+0xd98/0xea8 do_try_to_free_pages+0xf4/0x4b0 try_to_free_pages+0x110/0x360 __alloc_frozen_pages_noprof+0x8b0/0x1718 ... __filemap_get_folio_mpol+0x2ac/0x548 simple_write_begin+0x44/0xf8 page_symlink+0x178/0x198 ... do_populate_rootfs+0x13c/0x200
CVE-2026-99909
2026년 11월 30일In the Linux kernel, the following vulnerability has been resolved: fscrypt: Fix missing barrier in fscrypt_find_mode_key() fscrypt_find_mode_key() walks an RCU list and hands out a per-mode key without an acquire: setup task ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ setup_per_mode_enc_key() ├─ fscrypt_prepare_key() │ └─ fscrypt_prepare_inline_crypt_key() │ └─ blk_crypto_start_using_key() │ └─ blk_crypto_fallback_start_using_mode() │ ├─ init profile, keyslots, tfms[] │ └─ smp_store_release(tfms_inited[mode]) # init order └─ list_add_tail_rcu(&new_node->link, ...) # release -> finder finding task (later submits the I/O itself) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fscrypt_find_mode_key() ├─ list_for_each_entry_rcu(node, ...) └─ return &node->key # no acquire, chain breaks ... blk_crypto_fallback_bio_prep() # WRITE path ├─ tfms_inited[mode] # addr-dep, reads true ├─ blk_crypto_fallback_profile # no dependency ├─ blk_crypto_keyslots # no dependency └─ slotp->tfms[mode] # no dependency RCU publishes the node and the key reachable from it, so tfms_inited[mode] reads true through the address dependency. The independent fallback globals are not covered by it and can be read as uninitialized. On a weakly ordered machine, a WRITE bio can crash in blk_crypto_get_keyslot() or crypto_sync_skcipher_setkey(). Other tasks reach the key through fscrypt_inode_info's cmpxchg_release()/smp_load_acquire(), which is already ordered after the list walk; only the finding task's own later I/O was not. Fix this by upgrading the control dependency to an acquire with smp_acquire__after_ctrl_dep() once a matching entry has been found.
CVE-2026-99908
2026년 11월 30일In the Linux kernel, the following vulnerability has been resolved: tick/nohz: Reevaluate the tick for kicks flushed outside hardirq The nohz full kick relies on interrupt exit to reevaluate the tick. However, a remote kick can also be flushed from task context without an interrupt exit guaranteed to follow. If a tick dependency is set or an earlier timer is queued after the idle-exit reevaluation, the required tick update can be delayed until another interrupt. Reevaluate the tick directly from the callback outside hardirq context. Keep the existing interrupt exit handling for hardirq callbacks. The offline flush remains harmless because tick_sched_timer_dying() has already cleared TS_FLAG_NOHZ.
CVE-2026-99907
2026년 11월 30일In the Linux kernel, the following vulnerability has been resolved: KVM: arm64: Set HCR_EL2.BSU to Inner Shareable for guests KVM sets HCR_EL2.BSU to Inner Shareable for guests, so that a guest's barriers cover the TLB and I-cache invalidations that HCR_EL2.FB broadcasts. However, since HCR_BSU_IS became an alias of the generated HCR_EL2_BSU_IS, it is the unshifted field value 0b01, which sets bit 0 (VM, already set) and leaves BSU at 0b00. A guest's DSB NSH is then not required to wait for a broadcast TLBI to complete on other CPUs. Build the field with SYS_FIELD_PREP_ENUM().
CVE-2026-99906
2026년 11월 30일Linux 커널에서 다음 취약점이 해결되었습니다: KVM: arm64: Sanitise ID_AA64MMFR3_EL1.S1P[IO]E KVM은 게스트가 가진 정보의 진실 소스로 VM의 ID 레지스터를 사용하지만, 사용자 공간이 해당 기능이 암시하는 것과 다른 S1PIE 또는 S1POE를 노출할 수 있습니다. 아키텍처에 따라 두 항목 모두 TCR2와 ATS1A를 의미하며, S1POE는 또한 HPDS를 의미합니다. TCR2가 숨겨진 경우, 세계 전환은 PIR_EL1, PIRE0_EL1 및 POR_EL1를 건너뛰고 KVM이 이들을 트랩하지 않으므로 게스트가 트랩되거나 전환되지 않은 레지스터에 접근합니다. VHE에서 이 문제는 게스트 간 값이 누설됩니다. 반면에 nVHE 및 hVHE에서 pKVM이 포함된 경우, 호스트 커널은 게스트의 PIR_EL1 및 PIRE0_EL1로 다시 시작합니다. 처음 실행 시에는 VM의 ID 레지스터에서 기능들이 암시하는 것이 누락된 경우 상태로부터 파생되기 전에 S1PIE와 S1POE를 지웁니다. 그러면 게스트와 사용자 공간은 어느 기능도 보지 못하고 게스트의 레지스터 접근이 UNDEF가 됩니다.
CVE-2026-99905
2026년 11월 30일In the Linux kernel, the following vulnerability has been resolved: ceph: avoid pending truncate during nonblocking cap acquire Readahead acquires caps while the folios are locked. This can deadlock when processing a pending truncate; truncate_pagecache() can then attempt to a folio that is already locked. Return -EAGAIN instead when `NON_BLOCKING` is set, causing the readahead to be abandoned.
CVE-2026-99904
2026년 11월 30일리눅스 커널에서 다음 취약점이 해결되었습니다: ceph: ceph_fname_to_usr()의 longname 버퍼 오버플로 수정 Snapshot longname 재구성 형식 "_<name>_<inode>"를 snprintf()로 만들고 그 결과를 oname->name에 memcpy()합니다. NAME_MAX와의 길이 비교는 LOOKUPNAME/EXPORT 호출자의 버퍼가 fscrypt_fname_alloc_buffer(NAME_MAX)로 할당되었기 때문에 이를 보호합니다. readdir 경로는 altname_len에 대한 용량을 가진 MDS 응답의 altname을 oname->name으로 곧장 가리키며, 재구성된 이름이 NAME_MAX 이하로 맞아떨어지더라도 그 자체의 대상 버퍼를 넘쳐날 수 있습니다. 암호 해독(복호화)으로 덮어쓰여지기 전에 실제 oname->len을 저장하고, 재구성된 이름이 맞지 않을 경우 -ENAMETOOLONG으로 실패합니다.
CVE-2026-99903
2026년 11월 30일리눅스 커널에서 다음 취약점이 해결되었다: ceph: ceph_netfs_issue_op_inline()에서 범위를 벗어난 읽기 수정 읽기 오프셋은 i_size에 대해 검증되지만 inline_len에 대해서는 검증되지 않으며 두 필드는 MDS에서 독립적으로 가져온다. 읽기가 인라인 데이터의 끝을 넘겨 시작될 때, 다음 연산에서 len = min_t(size_t, iinfo->inline_len - subreq->start, subreq->len); 하한으로 떨어지고 min_t()가 subreq->len으로 끝나면서 copy_to_iter() 가 인라인 버퍼의 끝을 넘어 사용자 버퍼로 읽게 된다. 짧은 인라인 페이로드를 보고하는 악의적이거나 버그가 있는 MDS가 늘어난 i_size와 함께 있으면 커널 힙 메모리를 사용자 공간으로 누출할 수 있다. 오프셋이 인라인 데이터 안에 없을 때 -ENODATA로 종료한다.
CVE-2026-99902
2026년 11월 30일Linux 커널에서 다음 취약점이 해결되었습니다: libceph: ceph_redirect_decode()에서 안전하지 않은 디코드를 수정 ceph_redirect_decode는 네트워크를 통해 OSD로부터 수신된 검사되지 않은 데이터를 처리합니다. 현재는 처음 세 개의 디코드 연산에 대한 경계(bound) 검사밖에 없습니다. 메시지에서 첫 번째 len 필드를 디코딩한 후, 남은 유일한 검사에서는 len 바이트를 담기에 충분한 버퍼 공간이 있는지만 확인합니다. 그러나 이후에 디코딩될 필드들을 담기에는 이 값이 충분한지 보장되지 않습니다. 두 번째 len 필드를 디코딩할 때 명시적인 경계 검사도 누락되어 있습니다. 결과적으로 손상된 메시지가 범위 밖 읽기(out-of-bounds read)를 유발할 수 있습니다. 이 패치는 ceph_decode_32()를 경계 확인이 가능한 ceph_decode_32_safe()로 전환하여 문제를 해결합니다.
CVE-2026-99901
2026년 11월 30일리눅스 커널에서 다음 취약점이 해결되었습니다: libceph: ceph_oloc_decode()의 다수 안전하지 않은 디코드를 수정 ceph_oloc_decode 는 OSD로부터 네트워크를 통해 수신된 데이터를 확인 없이 처리합니다. 현재 경계 검사에 의해 커버되지 않는 다수의 디코드 연산이 있습니다. 이러한 필드를 디코드하면 손상된 메시지가 수신될 때 범위를 벗어난 읽기(out-of-bounds read)가 발생할 수 있습니다. 이 패치는 이전에 커버되지 않았던 모든 디코드 연산에 경계 검사를 추가하여 문제를 해결합니다. [ idryomov: 해시를 위해 ceph_decode_64_safe() 사용 ]
CVE-2026-99900
2026년 11월 30일리눅스 커널에서 다음 취약점이 해결되었다: libceph: 불일치 CRUSH 가중치 집합 크기 거부 CEPH_MSG_OSD_MAP 메시지는 straw2 버킷의 대체 가중치 벡터를 포함하는 CRUSH 선택 인자를 가질 수 있다. decode_choose_args()는 참조된 버킷에 대해 선택적 ID 벡터를 검증하지만, 어떤 대체 가중치 벡터의 크기도 검증하지 않는다. CRUSH 매퍼는 각 대체 벡터가 버킷과 정확히 같은 수의 항목을 가지도록 가정한다. 비어 있지 않은 버킷에 대해 길이가 0인 벡터는 bucket_straw2_choose()를 NULL 참조하게 만들고, 길이가 짧은 0이 아닌 벡터는 경계 밖 읽기를 일으킨다. 인증된 모니터나 OSD가 이러한 맵을 전달하고 일반 요청에 대한 배치를 수행할 때 커널 클라이언트를 충돌시킬 수 있다. 부재 버킷에 대한 비비어 있는 가중치 세트를 거부하고 모든 대체 가중치 벡터가 버킷 크기와 일치하도록 한다.
CVE-2026-99899
2026년 11월 30일In the Linux kernel, the following vulnerability has been resolved: libceph: reject an initial monmap with no monitors build_initial_monmap() takes the monitor count straight from ceph_options::num_mon and builds a monmap with that many entries without checking that there is at least one. ceph_parse_ips() writes *count only after it has parsed an address successfully, so a ceph_options that went through a failed parse still has num_mon == 0 and the resulting monmap has no monitors in it at all. The first thing the client does with that monmap is open a session, and pick_new_mon() asserts the invariant that it is non-empty: kernel BUG at net/ceph/mon_client.c:211! RIP: 0010:pick_new_mon net/ceph/mon_client.c:211 [inline] RIP: 0010:__open_session+0x60f/0x740 net/ceph/mon_client.c:245 Call Trace: ceph_monc_open_session+0x46/0x60 net/ceph/mon_client.c:534 __ceph_open_session+0x135/0x590 net/ceph/ceph_common.c:798 ceph_real_mount fs/ceph/super.c:1173 [inline] ceph_get_tree+0xd98/0x1fd0 fs/ceph/super.c:1362 vfs_get_tree+0x92/0x320 fs/super.c:1947 vfs_cmd_create+0xd7/0x2a0 fs/fsopen.c:231 __do_sys_fsconfig+0x55a/0xcb0 fs/fsopen.c:463 The reproducer gets there through the new device syntax: an fsconfig() mon_addr= that does not resolve ("libceph: resolve '127.0.0.' (ret=-3): failed") leaves fsopt->mon_addr set but num_mon at 0, so the "No monitor address" check in ceph_get_tree() passes and the mount proceeds with an empty monmap. The next patch stops that string from being kept, but the assertion should not be reachable from a mount option in the first place. Commit 40480eee361e ("libceph: Reject monmaps advertising zero monitors") made the same BUG_ON() unreachable from the wire by rejecting num_mon == 0 in ceph_monmap_decode(). Apply the same rule to the initial monmap, which is the only other way one gets built, and fail the mount with -EINVAL rather than assert afterwards.
CVE-2026-99898
2026년 11월 30일In the Linux kernel, the following vulnerability has been resolved: ceph: Fix xattr buffer leak in __send_cap() __prep_cap() takes a reference on the xattr blob via ceph_buffer_get() and also grabs a reference to the old xattr blob returned by __ceph_build_xattrs_blob(). These references are normally dropped in __send_cap() after the cap message has been sent, but when ceph_msg_new() fails, __send_cap() requeues the cap and returns early without dropping them, leaking both buffers on every allocation failure. Release arg->old_xattr_buf and arg->xattr_buf on the ceph_msg_new() failure path before returning.