총 16,343건
CVE-2026-90057
2026년 9월 18일Linux 커널에서 다음 취약점이 해결되었다: slip: slip_receive_buf()의 해제 후 사용(use-after-free) 문제를 수정하기 위해 slip_hangup() 제거 Jaeyoung Chung과 Eulgyu Kim은 tty hangup과 경쟁 상태에서 slip_receive_buf()에서 slab-use-after-free 읽기 문제를 보고했다. tty_ldisc_hangup()는 tty_ldisc_ref()를 통해 tty->ldisc_sem에 대한 읽기 잠금만 보유한 상태에서 ld->ops->hangup()을 호출한다. slip_hangup()가 단순히 slip_close()를 호출했기 때문에 slip_receive_buf()와 같은 읽기 함수들과 동시에 실행되었다. slip_close()는 네트워크 장치와 그에 속한 private struct slip을 등록 해제하고 해제하여 slip_receive_buf()의 동시 실행 중인 읽기 스레드가 해제된 메모리를 역참조하게 만든다. 라인 규율 close()는 hangup 처리 중 tty_ldisc_reinit() 또는 tty_ldisc_kill()에서 이미 tty->ldisc_sem의 쓰기 잠금 하에 호출되는 것이 보장된다. slip_close()에 의해 종료가 깔끔하게 직렬화되도록 slip_hangup()를 제거한다.
CVE-2026-90056
2026년 9월 18일In the Linux kernel, the following vulnerability has been resolved: net: fec: only stop PTP if it was initialized fec_ptp_init() is only called when fep->bufdesc_ex is available. However, fec_probe() unconditionally calls fec_ptp_stop() on the failed_init path, and fec_drv_remove() unconditionally calls fec_ptp_stop() during device removal. Check fep->bufdesc_ex before calling fec_ptp_stop() in both paths to avoid stopping PTP when it was not initialized.
CVE-2026-90055
2026년 9월 18일In the Linux kernel, the following vulnerability has been resolved: usb: atm: usbatm: fix invalid ci_range initialization syzbot reported a shift-out-of-bounds in __vcc_connect(): UBSAN: shift-out-of-bounds in net/atm/common.c:382:32 shift exponent -1 is negative CPU: 0 UID: 0 PID: 5987 Comm: syz.0.18 Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Compute Engine/Google Compute Engine, BIOS Google 08/05/2026 Call Trace: <TASK> dump_stack_lvl+0xe8/0x150 lib/dump_stack.c:120 ubsan_epilogue+0xa/0x30 lib/ubsan.c:233 __ubsan_handle_shift_out_of_bounds+0x36d/0x400 lib/ubsan.c:494 __vcc_connect+0x14b4/0x19c0 net/atm/common.c:382 vcc_connect+0x328/0x8f0 net/atm/common.c:498 pvc_bind+0x272/0x380 net/atm/pvc.c:52 __sys_bind+0x2e3/0x410 net/socket.c:1976 __x64_sys_bind+0x7a/0x90 net/socket.c:1979 ... ATM device ci_range fields (vpi_bits and vci_bits) represent the number of bits supported for VPI and VCI addressing on the device. net/atm/common.c directly uses these fields as bit shift counts: vpi >> dev->ci_range.vpi_bits vci >> dev->ci_range.vci_bits 1 << vcc->dev->ci_range.vpi_bits 1 << vcc->dev->ci_range.vci_bits usbatm_atm_init() sets ci_range.vpi_bits and ci_range.vci_bits to ATM_CI_MAX (-1), which is defined in <uapi/linux/atmdev.h> as a sentinel value for userspace ATM_SETCIRANGE requests, not a valid bit count. Shifting by -1 is undefined behavior and triggers UBSAN warnings. ATM UNI cell headers allow up to 8 bits for VPI (0..255) and 16 bits for VCI (0..65535). Initialize vpi_bits to 8 and vci_bits to 16, as done by solos-pci.
CVE-2026-90054
2026년 9월 18일In the Linux kernel, the following vulnerability has been resolved: tcp: fix corruption of urgent data on multi-segment retransmit On the normal xmit path, while in urgent mode we refuse to build a multi-segment TSO packet, so every segment gets its own urg_ptr: /* tcp_write_xmit() */ limit = mss_now; if (tso_segs > 1 && !tcp_urg_mode(tp)) limit = tcp_mss_split_point(...); The retransmit path has no such guard. __tcp_retransmit_skb() builds a segs > 1 skb and hands it to the GSO layer, which only advances th->seq per segment and copies urg_ptr verbatim: /* __tcp_retransmit_skb() */ len = cur_mss * segs; /* segs > 1, no urg_mode check */ ... /* tcp_gso_segment(): bumps seq only, urg_ptr is copied */ urg_ptr is an offset from the segment's own seq, so a copied value points at a different place on each segment. The receiver rebuilds the absolute urgent seq as seg.seq + urg_ptr, so it walks a moving urgent point instead of the one OOB byte: seg1 seq 1 urg_ptr 5001 -> urgent @ 5001 (ok) seg2 seq 1001 urg_ptr 5001 -> urgent @ 6001 (wrong, +MSS) seg3 seq 2001 urg_ptr 5001 -> urgent @ 7001 (wrong, +2*MSS) The real OOB byte is never pointed at, so the receiver stops splicing it out and delivers it as normal in-band data, corrupting the stream. Guard the retransmit length like the xmit path: keep segs = 1 while in urgent mode.
CVE-2026-90053
2026년 9월 18일In the Linux kernel, the following vulnerability has been resolved: net/sched: sch_htb: limit htb_classify inner-class filter hops htb_classify() follows each filter-selected inner class by switching to cl->filter_list, but never bounds the number of hops. A filter on an inner class can point back to itself or to another inner class that points back, creating an infinite loop in the packet classification path with the qdisc lock held and BH disabled — a soft lockup / panic from a single packet. Bound the traversal with a hop counter and drop the packet with a rate-limited warning once the bound is exceeded. The counter is incremented at the point the inner filter chain is picked up, after the TC_ACT_* switch has consumed the classifier verdict, so a terminal TC_ACT_QUEUED/STOLEN/TRAP on the last permitted chain still sets *qerr to __NET_XMIT_STOLEN and the packet is not charged as a drop by this qdisc or its parent. The bound is TC_HTB_MAXDEPTH, taken from HTB's own parameters rather than from the qdisc hierarchy depth limit. Class levels run from 0 to TC_HTB_MAXDEPTH - 1, so a traversal that strictly descends in level can take at most TC_HTB_MAXDEPTH hops. That descent is what a sane configuration does, but it is assumed here rather than enforced: htb_find() resolves a classid against every class in the qdisc, so a filter may equally select a sibling or an ancestor. The normal root -> inner -> leaf path takes a single hop, so the bound does not affect legitimate classification. htb_classify() can now return NULL irrespective of CONFIG_NET_CLS_ACT, whereas previously every NULL return sat inside that ifdef. The NULL handler in htb_enqueue() therefore cannot stay conditional either, so drop the ifdef around it. This matches hfsc_enqueue(), which has always handled a NULL class unconditionally. Without it, a kernel built without actions would dereference a NULL class instead of dropping. Conditions to recreate the bug: - CONFIG_NET_SCHED, CONFIG_NET_SCH_HTB, CONFIG_NET_CLS_U32, CONFIG_LOCKUP_DETECTOR. - Create an HTB qdisc on a device (e.g. lo), add an inner class 1:1 with a leaf child 1:10, install a root u32 filter selecting 1:1, and an inner-class u32 filter on 1:1 also selecting 1:1. - Send one packet (ping). On the unfixed kernel the classify loop spins with the qdisc lock held; with softlockup_panic=1 it panics. - Reachable from unprivileged user via unshare -Urn (CAP_NET_ADMIN).
CVE-2026-90051
2026년 9월 18일리눅스 커널에서 다음 취약점이 해결되었다: tcp: non zerocopy devmem tx 거부 devmem tcp 전송은 제로 카피 없이 작동하지 않으나, 현재 NETIF_F_SG가 없으면 강제되지 않는다. 이 경우 tcp_sendmsg_locked()는 복사 경로를 시도하며 dma-buf의 오프셋으로 구성된 iovec에서 데이터를 복사하려 시도하는데, 이는 일반적으로 실패한다. 게다가 d9c56501c72fd ("net: tcp: 읽을 수 있는 조각과 읽을 수 없는 조각 혼합 차단")는 이를 기반으로 하며, devmem 바인딩이 제로 카피 경로를 사용할 때만 존재한다고 가정한다. 이는 단일 skb에서 net-iov와 페이지를 혼합하여 불변 조건을 깨뜨릴 수 있다. 따라서 제로 카피 없이 devmem 전송을 거부한다. 참고로, 패치가 수정하는 매개변수 검사는 너무 느슨하여 dmabuf_id와 모든 ZC 플래그가 있는 io_uring 요청을 생성할 수 있지만 바인딩이 없을 수 있다. 이를 더 엄격한 검증으로 대체한다.
CVE-2026-90049
2026년 9월 16일리눅스 커널에서 다음 취약점이 해결되었다: net: skbuff: skb_zerocopy()에서 소스 skb에 대해 skb_tx_error()를 호출하지 않음 skb_zerocopy()는 @from에서 @to로 frags를 복사한다. skb_orphan_frags() 실패 시 소스 skb에 대해 skb_tx_error(@from)를 호출하는데, 이는 복사 도우미가 소유하지 않은 소스 skb에 대한 파괴적 작업이다. 이 작업은 @from의 zerocopy uarg를 완료하고 SKBFL_ALL_ZEROCOPY를 포함한 SKBFL_SHARED_FRAG 페이지 소유권 표시자를 지운다. 두 호출자는 이미 자체 드롭 경로에서 실패를 보고한다. nfnetlink_queue는 nla_put_failure에서, Open vSwitch는 ovs_dp_process_packet()의 flow-miss 드롭 분기에서 처리하므로 여기서 드롭해도 손실이 없다. Open vSwitch의 OVS_ACTION_ATTR_USERSPACE 경로에서는 이 오류 시 skb가 해제되지 않는다: do_execute_actions()는 output_userspace()의 반환 값을 무시하며, 업콜이 마지막 동작이 아닌 한 동일한 skb를 플로우의 나머지 동작을 통해 계속 전달한다. uarg는 해당 skb가 아직 처리 중일 때 완료되어 생산자에게 버퍼가 해제되었음을 알리고, SKBFL_SHARED_FRAG는 스택의 나머지 부분이 여전히 처리하는 skb에서 지워진다. 이 플래그는 esp_input()이 제자리에서 복호화하는 대신 skb_cow_data()를 호출하게 하여, 이후 로컬 ESP 전달이 skb가 소유하지 않은 frags 위에서 복호화할 수 있게 한다. 오류 보고는 호출자에게 맡긴다.
CVE-2026-90048
2026년 9월 16일Linux 커널에서 다음 취약점이 해결되었다: fs/ntfs3: ni_create_attr_list() 함수의 slab-out-of-bounds 쓰기 문제 수정 ni_create_attr_list() 함수는 al_aligned(record_size)(== record_size) 바이트 크기의 고정 버퍼를 할당한 후, 기본 MFT 레코드의 모든 속성을 순회하며 각 속성마다 하나의 ATTR_LIST_ENTRY를 기록하고 커서를 le_size(name_len)만큼 이동시키는데, 버퍼 끝에 대한 검사를 하지 않는다; 전체 크기는 루프가 끝난 후에 계산된다. 최소 크기의 resident 속성은 디스크에서 SIZEOF_RESIDENT(0x18 = 24) 바이트를 차지하지만, 이름 없는 속성은 리스트에서 le_size(0)(0x20 = 32) 바이트로 확장된다. 레코드 내 속성 수에 제한이 없기 때문에(mi_enum_attr()는 임의로 많은 동일 유형의 이름 없는 최소 크기 속성을 허용), 이러한 속성으로 가득 찬 조작된 레코드는 record_size보다 큰 리스트를 생성하여 힙 버퍼 오버플로를 발생시킨다. 이는 조작된 루프 마운트된 NTFS 이미지에서 접근 가능하며, 파일을 열고 속성(예: setxattr을 통해)을 추가하면 ntfs_set_ea() -> ni_insert_resident() -> ni_insert_attr() -> ni_ins_attr_ext() -> ni_create_attr_list()가 호출된다. BUG: KASAN: ni_create_attr_list+0xc48/0x1058에서 slab-out-of-bounds 작업 setfattr/345에 의해 주소 ffff000008984c00에 크기 4 쓰기 발생 ni_create_attr_list+0xc48/0x1058 ni_ins_attr_ext+0x510/0x7c0 ni_insert_attr+0x3f8/0x70c ni_insert_resident+0xc8/0x3b0 ntfs_set_ea+0x66c/0xd28 ntfs_setxattr+0x4d8/0x5b0 __arm64_sys_setxattr+0xa4/0x124 작업 345에 의해 할당됨: ni_create_attr_list+0x188/0x1058 문제 주소는 크기 1024의 kmalloc-1k 캐시에 속함 (쓰기 위치는 object+1024임). 버퍼 크기를 단일 record_size가 항상 충분하다고 가정하지 말고 실제 속성에서 계산하도록 변경함.
CVE-2026-90047
2026년 9월 16일Linux 커널에서 다음 취약점이 해결되었다: drm/xe: 평면 CCS 저장소를 사용 가능한 VRAM으로 제공하지 않음 get_flat_ccs_offset() 함수는 하드웨어에서 평면 CCS 저장소의 기본 주소를 읽고, 활성화된 L3 노드 수에 따라 이를 스케일링하며, 결과를 128K 단위로 올림한다. 그 오프셋 아래의 모든 메모리는 VRAM 할당자에게 사용 가능한 메모리로 전달된다. "사용 가능한 메모리가 여기서 끝난다"는 한계를 올림 처리하면 실제 기본 주소와 올림된 주소 사이에 있는 메모리가 자유 메모리로 공개되며, 그 메모리는 압축 하드웨어에 속한다. 스케일링된 값은 128K 정렬일 이유가 없으며, 16 GiB를 가진 Battlemage G21에서는 그렇지 않다: 평면 CCS 기본 주소: 원시 0x3fafff800, 올림 0x3fb000000 따라서 페이지 0x3fafff000의 마지막 2 KiB는 CCS 저장소이며, 할당자의 풀에 포함된다. 그곳에 할당된 메모리는 압축 하드웨어에 의해 덮어써지는데, 이 하드웨어는 페이지 테이블 엔트리, 버퍼 객체, GPU 제출 없이도 이를 수행하며, 사용자 공간이 존재하기 전에 실행된다. 이 머신에서는 Mesa VM의 레벨-3 페이지 테이블이 매 콜드 부팅 시 해당 페이지에 위치했다. 그 결과 컴포지터의 배치 버퍼 힙을 포함하는 엔트리를 잃어버려, 컴포지터의 첫 제출이 오류를 발생시켰고 gdm이 무한 재시작되어, 기능하는 머신에서 검은 화면이 나타났다. gdm 재시작 시 다음 VM의 페이지 테이블이 다른 곳에 할당되어 문제가 해결되었다. 할당자가 작동하는 페이지 크기로 내림 처리하라. 이 머신에서는 정확히 한 페이지가 제외된다. 예약된 페이지를 읽으면 다음과 같은 내용이 기록되어 있음을 알 수 있다: [369] 0xcccc000000000000 [371] 0xcc77000000000000 [373] 0xcccc000000000000 [375] 0xcc77000000000000 압축 메타데이터로, 16바이트당 2바이트가 드라이버가 메모리를 제공하던 위치에 존재한다. 이 문제를 잡아내야 할 어설션은 오프셋을 GSMBASE - ccs_size와 같음으로 비교한다. 그 값은 128K 정렬되어 있어, 기본 주소가 정렬되지 않은 경우 올림된 오프셋과 정확히 일치한다. 따라서 이 검사는 잡아내야 할 경우에 실패할 수 없으며, CONFIG_DRM_XE_DEBUG가 설정되지 않으면 컴파일 시 제외된다. 이를 실패할 수 있는 검사로 교체해야 한다: CCS 저장소는 GSM과 겹치면 안 된다. [ 그리고 이것은 지옥 같은 디버그 세션이었으며, 많은 작업을 수행한 AI의 도움으로 크게 진전되었다. 나는 AI를 나의 지칠 줄 모르는 조력자라고 부르고 싶지만, AI는 여러 차례 이 문제가 불가능하고 해결 불가하며 보고서만 작성하라고 단언했다. 나는 그 AI가 나만큼 완고하지 않은 사람들이 훈련시킨 것이라 의심한다. 하지만 AI가 여러 번 포기하려 했음에도 내가 밀어붙이자 계속해서 디버그 코드를 추가하고 충실히 분석했다. 그러므로 공은 공대로 인정하며 AI가 위 커밋 메시지를 작성하게 했다. 본질적으로 잘못된 "round_up()"을 "round_down()"으로 고치는 한 줄짜리 수정이지만, 이 문제를 좁히기 위해 24개의 패치가 점점 더 많은 디버그 정보를 추가했고, 18번의 커널 부팅 끝에 이 문제를 찾아냈다. - Linus ]
CVE-2026-90046
2026년 9월 16일리눅스 커널에서 다음 취약점이 해결되었다: mm/page_alloc: UP 환경에서 NMI 내에서 spin_trylock()을 호출하지 않음 패치 시리즈 "mm/page_alloc: RT/UP 환경에서 free_pages_nolock()에 대한 수정". 다른 시리즈 검토 중 Sashiko가 발견한 기존 버그들: https://lore.kernel.org/all/[email protected]/ 이 버그들은 재현하지 못했으며, 실제로 영향을 받는 사용자는 없을 것으로 추정된다. 이 패치(2개 중 1개): can_spin_trylock()에서 언급된 바와 같이, 이 컨텍스트에서 이를 사용하는 것은 안전하지 않다. 커밋 620b46ed6ae17 ("mm/page_alloc: UP 환경에서 NMI 내 alloc_frozen_pages_nolock()에서 NULL을 조기 반환")가 할당 측면에서 이를 수정했으나 해제 측면에서는 놓쳤다. 영향: NMI 내에서 이러한 기능을 사용하는 BPF 프로그램(아마도 추적용)이 비-SMP 빌드에서 존재할 경우 커널이 충돌할 수 있으며, 이는 로컬 공격자가 권한 상승을 위해 악용할 가능성이 있다.
CVE-2026-90045
2026년 9월 16일리눅스 커널에서 다음 취약점이 해결되었다: USB: gadget: ffs: mm 수명 주기 처리 수정 io_data는 제출하는 작업의 mm_struct에 대한 포인터를 저장하지만, 비동기 요청이 대기 중일 때 현재는 해당 참조를 유지하지 않는다. 작업이 완료 처리 전에 종료되면 해제 후 사용(use-after-free)이 발생할 수 있다. 읽기 요청을 큐에 넣을 때 mmgrab()으로 참조를 획득하고 요청 완료 시 mmdrop()으로 해제한다.
CVE-2026-90044
2026년 9월 16일Linux 커널에서 다음 취약점이 해결되었다: usb: gadget: f_fs: AIO 오류 경로에서 Use-After-Free 수정 ffs_epfile_write_iter()와 ffs_epfile_read_iter()에서, ffs_epfile_io()가 -EIOCBQUEUED가 아닌 오류로 실패할 때 io_data 구조체(`p`)가 해제된다. 그러나 AIO 작업의 경우, kiocb 취소 함수가 이미 설정되어 있었고 kiocb->private는 `p`로 설정되어 있었다. 만약 ffs_epfile_io()가 실패한 후 `p`를 해제하기 전에 동시 취소 작업(예: sys_io_cancel())이 실행되면, 취소 핸들러가 해제된 포인터에 접근할 때 Use-After-Free가 발생할 수 있다. 이 경쟁 조건을 안전하게 수정하기 위해서는 취소를 적절히 해제해야 한다. `kiocb->ki_complete()`를 호출하면 `ctx->ctx_lock`을 획득하고 kiocb를 활성 시퀀스에서 안전하게 제거하여, 병렬 io_cancel이 더 이상 kiocb를 발견하지 못하게 하여 경쟁 조건을 차단한다. 그 후 -EIOCBQUEUED를 반환하여 VFS 계층에 kiocb가 처리되었음을 알리고, 요청을 다시 완료하거나 후속 완료 핸들러를 트리거하지 않도록 한다.
CVE-2026-90043
2026년 9월 16일리눅스 커널에서 다음 취약점이 해결되었다: zram: 빅엔디안 64비트에서 슬롯 잠금 비트 위치 수정 슬롯 잠금은 전체 __lock 워드에 대한 비트 연산으로, flags와 ac_time이 두 개의 u32로 별칭되어 있다. 리틀엔디안에서는 잠금 비트가 flags에서 ZRAM_ENTRY_LOCK이 예약된 위치에 있어 별칭이 올바르게 작동한다. 그러나 64비트 빅엔디안에서는 잠금 비트가 ac_time에 위치한다: ZRAM_TRACK_ENTRY_ACTIME가 활성화된 경우, mark_slot_accessed() 또는 slot_free()에서 접근 시간을 저장하면 보유 중인 잠금 비트가 지워져 다른 CPU가 동일 슬롯 잠금을 획득할 수 있다; 해당 비트가 설정된 접근 시간 값은 슬롯이 영구히 잠긴 것처럼 보이게 만든다. 빅엔디안 64비트에서 잠금 비트를 워드의 flags 절반으로 이동시킨다.
CVE-2026-90042
2026년 9월 16일Linux 커널에서 다음 취약점이 해결되었다: ceph: vmalloc() 버퍼 내 파일 이름을 올바르게 복호화함 fscrypt 서브시스템은 scatterlist 암호화 API를 사용하며, 이 API는 모든 버퍼가 선형 매핑 영역에 있어야 한다는 요구사항을 상속받는다. 그러나 메신저 클라이언트는 메시지 버퍼를 생성하기 위해 kvmalloc()을 사용하며, 물리적 메모리 단편화로 인해 충분히 큰 kmalloc()을 할당할 수 없을 때 가끔 vmalloc() 영역에 버퍼를 배치한다. ceph_fname_to_usr()의 여러 호출자는 메시지가 vmalloc() 버퍼에 있을 수 있음을 고려하지 않고 MDS에서 온 원시 메시지(일부)를 직접 전달하여, 특히 비 x86 플랫폼에서 oops가 발생한다(자세한 내용과 재현 방법은 'Closes:' 참조). ceph_fname_to_usr()가 vmalloc()으로 할당된 fname->ctext, fname->name, 및/또는 oname->name 버퍼에 명시적으로 관용적이 되도록 하여, `tname`(널이 아닐 경우 선형 주소여야 하며, 널일 경우 필요에 따라 잠시 할당됨)을 바운스 버퍼로 사용하여 부적절한 주소가 fscrypt_fname_disk_to_usr()에 전달되는 것을 방지한다. 또한, 유일하게 자체 `tname`을 제공하는 함수인 parse_reply_info_readdir()를 변경하여, 메시지가 선형 영역에 없을 때 NULL을 전달함으로써 "tname은 절대 vmalloc()에서 오면 안 된다"는 새로운 규칙을 따른다. 이로 인해 dentry당 kmalloc()+kfree()가 발생하지만, 이 오버헤드는 vmalloc()으로 넘어가는 소수 메시지를 처리할 때만 존재한다. 내(대략적인) 테스트에 따르면 이는 약 8,000개의 readdir 메시지 중 1개 정도이다. 그럼에도 불구하고, 향후 오버헤드가 과도하다고 판단되면 쉽게 완화할 수 있다: 향후 변경으로 parse_reply_info_readdir()에서 바운스 버퍼를 할당하고 이를 `tname`으로 사용할 수 있다.
CVE-2026-90041
2026년 9월 16일Linux 커널에서 다음 취약점이 해결되었다: HID: sony: 프로브 실패 시 장치 목록 정리 sony_input_configured()는 HID 코어가 입력 장치를 등록하기 전에 일부 컨트롤러를 sony_device_list에 추가한다. input_register_device()는 콜백이 성공적으로 반환된 후 실패할 수 있다. sony_probe()는 HID_CLAIMED_INPUT이 해제된 것을 관찰하고 되돌리기를 수행하지만 HID 하드웨어만 중지한다. devres가 관리하는 sony_sc는 해제되지만 그 리스트 노드는 여전히 연결되어 있어 다음 일치하는 컨트롤러가 해제된 메모리를 탐색하게 된다. 리스트 노드와 장치 ID를 비활성 상태로 초기화한다. 리스트 제거를 멱등하게 만들고 모든 프로브 실패 경로에서 드라이버 전용 정리 작업을 실행한다. 이는 sony_input_configured()가 sony_probe()가 누락된 입력 클레임을 처리하기 전에 부분 초기화를 이미 되돌린 경우 두 번째 정리 작업도 안전하게 만든다. 자동화된 소스 분석을 사용한 0sec(https://0sec.ai)에 의해 발견되었으며, HID 입력 등록 및 프로브 되돌리기 경로에 대해 검증되었다.
CVE-2026-90040
2026년 9월 16일In the Linux kernel, the following vulnerability has been resolved: KVM: SEV: Forcefully invalidate SNP VMSA if its backing gmem page is zapped Wire up a gmem_invalidate_range() call for SNP VMs, and use it to force vCPUs to reload/recheck their guest-provided VMSA if the backing gmem page is being invalidated, e.g. is being PUNCH_HOLE'd. Use the same core logic to handle invalidations as VMX does for the APIC-access page, as the two concepts are nearly identical: shove the physical address of a page into the vCPU's control structure: 1. Snapshot the invalidation sequence counter 2. Grab the pfn (from guest_memfd in this case) 3. Acquire mmu_lock for read 4. Re-request reload if retry is needed, otherwise commit the change. Note, the re-request action in #4 is necessary as KVM's retry logic is fuzzy, i.e. can get false positives. If the guest_memfd page has been dropped, at some point a subsequent reload will fail to get a PFN from guest_memfd, and KVM will fail KVM_RUN. If the retry was due to a false positive, KVM will retry until there are no relevant MMU notifier events (and will retry in the "outer" loop, i.e. will drop locks and resched as needed). Note #2! Take care to invalidate the VMSA when a relevant memslot is DELETED or MOVED, as invalidations in response to PUNCH_HOLE are predicated on memslot bindings (KVM doesn't know what GFN range(s) to invalidate without a binding). And more importantly, the VMSA mapping requires a memslot, i.e. must be invalidated if its memslots disappears, regardless of the state of the underlying guest_memfd inode. Failure to invalidate the vCPU's control.vmsa_pa (which is checked by pre_sev_run()) can prevent KVM from properly freeing the page as firmware will reject the RMPUPDATE to reclaim the page with FAIL_INUSE if the vCPU is actively running, i.e. if VMSA page is in-use. That in turn leads to an RMP #PF on the next use, as the page will still be assigned to the SNP VM. SEV-SNP: RMPUPDATE failed for PFN 78d198, pg_level: 1, ret: 3 SEV-SNP: PFN 0x78d198, RMP entry: [0xfff0000000144001 - 0x000000000000000f] CPU: 3 UID: 0 PID: 31345 Comm: sev_snp_vmsa_pu Tainted: G U O Tainted: [U]=USER, [O]=OOT_MODULE Hardware name: Google, Inc. Arcadia_IT_80/Arcadia_IT_80, BIOS 34.86.0-102 01/25/2026 Call Trace: <TASK> dump_stack_lvl+0x54/0x70 rmpupdate+0x12c/0x140 rmp_make_shared+0x3b/0x60 sev_gmem_invalidate+0xe0/0x170 [kvm_amd] delete_from_page_cache_batch+0x1d8/0x220 truncate_inode_pages_range+0x120/0x3d0 kvm_gmem_fallocate+0x19a/0x270 [kvm] vfs_fallocate+0x1bc/0x1f0 __x64_sys_fallocate+0x48/0x70 do_syscall_64+0x10a/0x480 entry_SYSCALL_64_after_hwframe+0x4b/0x53 RIP: 0033:0x496c7e </TASK> ------------[ cut here ]------------ SEV: Failed to update RMP entry for PFN 0x78d198 error -14 WARNING: arch/x86/kvm/svm/sev.c:5160 at sev_gmem_invalidate+0x126/0x170 [kvm_amd], CPU#3: sev_snp_vmsa_pu/31345 CPU: 3 UID: 0 PID: 31345 Comm: sev_snp_vmsa_pu Tainted: G U O Tainted: [U]=USER, [O]=OOT_MODULE Hardware name: Google, Inc. Arcadia_IT_80/Arcadia_IT_80, BIOS 34.86.0-102 01/25/2026 RIP: 0010:sev_gmem_invalidate+0x12b/0x170 [kvm_amd] Call Trace: <TASK> delete_from_page_cache_batch+0x1d8/0x220 truncate_inode_pages_range+0x120/0x3d0 kvm_gmem_fallocate+0x19a/0x270 [kvm] vfs_fallocate+0x1bc/0x1f0 __x64_sys_fallocate+0x48/0x70 do_syscall_64+0x10a/0x480 entry_SYSCALL_64_after_hwframe+0x4b/0x53 RIP: 0033:0x496c7e </TASK> irq event stamp: 20689 hardirqs last enabled at (20699): [<ffffffff8e76092c>] __console_unlock+0x5c/0x60 hardirqs last disabled at (20708): [<ffffffff8e760911>] __console_unlock+0x41/0x60 softirqs last enabled at (20722): [<ffffffff8e6cd74e>] __irq_exit_rcu+0x7e/0x140 softirqs last disabled at (20717): [<ffffffff8e6cd74e>] __irq_exit_rcu+0x7e/0x140 ---[ end trace 0000000000000000 ]--- BUG: unable to handle page fault for address: ffff99 ---truncated---
CVE-2026-90039
2026년 9월 16일In the Linux kernel, the following vulnerability has been resolved: NFSD: Guard admin state-revocation walks with NFSD_NET_UP Writing to /proc/fs/nfsd/unlock_filesystem, or sending the NFSD_CMD_UNLOCK_FILESYSTEM or NFSD_CMD_UNLOCK_EXPORT netlink command, walks the NFSv4 client hash tables to revoke open state and cancel async COPY operations. All three handlers gate that walk on nn->nfsd_serv, but a listener added via portlist or netlink listener_set sets nn->nfsd_serv before any nfsd thread starts. nfsd_startup_net() has not yet allocated nn->conf_id_hashtbl, so the walkers dereference a NULL table. A local administrator with CAP_SYS_ADMIN can crash the kernel this way without ever starting the server. nn->nfsd_serv is set when the service is created, which precedes table allocation. NFSD_NET_UP instead brackets the window where the tables are live: set at the end of nfsd_startup_net() and cleared in nfsd_shutdown_net() after they are freed, both under nfsd_mutex. Gating the three unlock paths on NFSD_NET_UP fixes the startup-time NULL dereference while preserving the earlier post-shutdown use-after-free fix.
CVE-2026-90038
2026년 9월 16일Linux 커널에서 다음 취약점이 해결되었다: NFSD: 내보내기 상태 철회 중 클라이언트 해제 후 사용 방지 nfsd4_revoke_export_states()는 nfsd4_revoke_states()와 동일한 해제 후 사용(use-after-free) 문제를 가지고 있다: revoke_one_stid()와 그 이후 clp->cl_minorversion 읽기 동안 nn->client_lock을 해제하지만, 보유한 stateid 참조가 클라이언트를 고정하지 않는다. 해제된 락과 경쟁하는 종료 작업이 revoke_one_stid()가 여전히 클라이언트를 역참조하는 동안 클라이언트를 해제할 수 있다. exportfs -u는 이 경로를 NFSD_CMD_UNLOCK_EXPORT를 통해 실행하므로, 관리자가 내보내기를 제거할 때 클라이언트 만료와 경쟁할 수 있다. 이미 만료 중인 클라이언트는 건너뛰고, 그렇지 않은 경우 client_lock 하에서 cl_rpc_users로 고정한 후 락을 해제하여 nfsd4_revoke_states()와 일치시킨다.
CVE-2026-90037
2026년 9월 16일Linux 커널에서 다음 취약점이 해결되었다: NFSD: close_lru 정리 중 클라이언트 해제 후 사용(use-after-free) 방지 nfs4_openowner가 최종 CLOSE 후에도 nn->close_lru에 남아 oo_last_closed_stid에 마지막으로 닫힌 stateid를 유지하며, nfs4_client에 대한 원시 포인터만 보유한다. 세탁기(laundromat)는 시간 초과된 항목을 정리하고 nn->client_lock을 해제한 후 nfs4_put_stid()를 호출하는데, 이 함수는 cl_lock을 통해 클라이언트를 역참조한다. 이 구간 동안 클라이언트를 고정하는 것이 없으므로, 동시의 force_expire_client()가 클라이언트를 해제할 수 있고 nfs4_put_stid()는 해제된 메모리를 읽게 된다. __destroy_client()도 cl_lock 없이 clp->cl_openowners를 순회하면서 동일한 경쟁 조건이 발생한다. client_lock을 해제하기 전에 cl_rpc_users로 클라이언트를 고정하고, 이미 만료 중인 클라이언트는 건너뛴다. 이후 __destroy_client()는 release_last_closed_stateid()를 통해 자신의 close_lru 항목을 정리하므로, 종료 과정이 더 이상 세탁기와 경쟁하지 않는다.
CVE-2026-90036
2026년 9월 16일리눅스 커널에서 다음 취약점이 해결되었다: NFSD: 차단된 락 재수거 중 클라이언트 해제 후 사용 방지 베어 락 소유자 -- 유일한 남은 참조가 nn->blocked_locks_lru의 차단된 락인 경우 -- 는 nfs4_client에 대한 원시 포인터를 보유하지만 클라이언트를 유지하는 참조는 없다. per-net laundromat이 이러한 락을 수거할 때, nbl을 해제하면 flc_owner를 통해 보유한 소유자 참조가 떨어지고, 최종 nfs4_put_stateowner()가 클라이언트의 cl_lock을 가져간다. laundromat이 먼저 nbl을 분리하기 때문에 __destroy_client()는 더 이상 이를 찾지 못해, 동시 실행되는 force_expire_client()가 nfs4_put_stateowner() 실행 전에 클라이언트를 해제할 수 있으며, 이로 인해 해제된 메모리에서 cl_lock을 역참조한다. nn->blocked_locks_lock을 해제하기 전에 cl_rpc_users로 클라이언트를 고정하고, 이미 만료 중인 클라이언트는 건너뛴다. 이 클라이언트의 차단된 락은 소유자 참조를 보유한 상태에서 __destroy_client()가 해제한다. nn->blocked_locks_lock 외부에서 nn->client_lock을 획득한다. 다른 모든 위치는 nn->blocked_locks_lock을 리프 락으로 보유하며 추가 락을 획득하지 않으므로, nn->client_lock을 그 외부에 배치해도 락 순서 사이클이 형성되지 않는다.