총 16,344건
CVE-2026-98076
2026년 9월 25일리눅스 커널에서 다음 취약점이 해결되었다: tracing/probes: 여러 프로브가 있는 이벤트의 필드 이름/타입에서 use-after-free 수정 프로브 기반 동적 이벤트(kprobe, uprobe, eprobe 및 fprobe 이벤트)의 필드는 traceprobe_define_arg_fields()에서 프로브_arg 이름/타입 문자열을 trace_define_field()에 전달하여 복사하지 않고 포인터만 저장함으로써 생성된다. 이 문자열은 trace_probe에 의해 소유되며 해당 프로브가 제거될 때 해제된다. 이벤트에는 여러 프로브가 연결될 수 있다. 필드 목록은 첫 번째 프로브가 이벤트를 등록할 때 한 번만 정의되지만, 남아 있는 형제 프로브에 의해 살아 있다. 그 첫 번째 프로브를 심볼로 제거하면 # 기본 A: 필드는 A의 인수에서 정의된다 echo 'p:kprobes/ev vfs_read a1=$arg1' > kprobe_events # 추가 B: A의 이벤트 호출 공유 echo 'p:kprobes/ev vfs_write a1=$arg1' >> kprobe_events # A만 제거(B는 남아 있음) echo '-:kprobes/ev vfs_read' >> kprobe_events A의 인수(trace_probe_cleanup() -> traceprobe_free_probe_arg())를 해제하지만 trace_probe_unlink()는 이벤트 호출이 남아 있어 trace_probe_event를 유지한다. 따라서 이벤트 호출은 B를 통해 등록 상태를 유지하며, 이제 필드가 해제된 메모리를 참조하게 된다. 그런 다음 필드를 조회하면 이를 읽는다, 예: echo 'a1 == 1' > events/kprobes/ev/filter BUG: KASAN: slab-use-after-free in strcmp+0xa7/0xb0 Call Trace: strcmp trace_find_event_field parse_pred process_preds create_filter apply_event_filter event_filter_write field->name은 parg->name을 참조하고(parg은 kmalloc으로 할당되어 해제됨)이며, 배열 인수의 경우 field->type은 parg->fmt를 참조하고 해제된다(프로브와 함께). 스칼라 타입은 정적 fmttype RO 데이터에 포인터를 가리키므로 안전하다. traceprobe_define_arg_fields()가 이름과 타입 문자열을 복제하고 이를 trace_probe_event에 고정시켜 각 프로브를 초월하여 이벤트 호출을 포함하고, trace_probe_event_free()가 이를 해제하도록 하라. 위 재생성 예는 신뢰성 있게 동작한다. 필드 조회와 삭제는 모두 event_mutex 하에서 실행되므로 제거 후 남는 것은 연결 해제된 참조다. 이 문제는 Tencent Yunding Lab의 autokbug 동적 커널 퍼저에 의해 발견되었다.
CVE-2026-98075
2026년 9월 25일In the Linux kernel, the following vulnerability has been resolved: bpf: reject BPF_PSEUDO_FUNC reference to the main program fixups.c:jit_subprogs() rewrites BPF_PSEUDO_FUNC loads to contain real function addresses. This function is invoked from bpf_jit_subprogs() only when env->subprog_cnt > 1. Meaning that for any program like below: int main(void *ctx) { void *ptr = main; ... bpf_timer_set_callback(..., ptr); ... } The 'ptr' won't be ever converted to contain an address. In combination with e.g. bpf_timer_set_callback() this would lead to a function call at a bogus address. Instead of complicating the implementation, just assume that no useful program needs main to be a sync or async callback and reject BPF_PSEUDO_FUNC loads for the main subprogram.
CVE-2026-98074
2026년 9월 25일In the Linux kernel, the following vulnerability has been resolved: bonding: do not clear curr_active_slave prematurely when releasing all slaves When releasing all slaves during bond destruction (all == true), __bond_release_one() unconditionally clears bond->curr_active_slave to NULL in every iteration. If a backup slave is released before the active slave, bond_alb_deinit_slave() triggers rlb_teach_disabled_mac_on_primary(), which increments the active slave dev promiscuity counter and sets bond_info->primary_is_promisc = 1. Because bond->curr_active_slave was prematurely cleared to NULL when releasing the backup slave, the subsequent iteration releasing the active slave evaluates oldcurrent as NULL, so bond_change_active_slave(bond, NULL) is skipped. Consequently, bond_alb_handle_active_change() is never called to decrement the promiscuity counter, permanently leaking promiscuous mode on the physical device after bond teardown. When oldcurrent == slave, bond_change_active_slave(bond, NULL) already sets bond->curr_active_slave to NULL. We only need to avoid selecting a new active slave when all == true. Replace the if (all) branch with if (!all && oldcurrent == slave).
CVE-2026-98073
2026년 9월 25일Linux 커널에서 다음 취약점이 해결되었다: net: __dev_change_net_namespace()에서 종료 중인 netns에 대한 충돌하는 altname 제거. syzbot이 cfg80211_pernet_exit()에서 경고를 보고했다. [0] 재현 과정은 다음과 같다: 1. 루트 netns와 비루트 netns에 두 개의 장치 생성 2. 두 장치에 동일한 altname 할당 3. 비루트 netns 제거 커밋 7663d522099e("net: netdev의 netns 변경 시 altname 충돌 검사") 이후, init_net에 충돌하는 altname을 가진 장치가 있으면 cfg80211_switch_netns()와 cfg802154_switch_netns()가 실패한다. default_device_exit_net()도 동일한 문제가 있었으며 커밋 d09486a04f5d("net: 충돌하는 altname이 있는 네임스페이스 제거 수정")로 수정되었다. cfg80211_pernet_exit()와 cfg802154_pernet_exit()도 동일한 수정이 필요하다. __dev_change_net_namespace()에서 종료 중인 netns에 대한 충돌하는 altname을 제거하는 방식으로 수정을 일반화한다. [0]: cfg80211_switch_netns(rdev, &init_net) WARNING: net/wireless/core.c:1871 at cfg80211_pernet_exit+0xd5/0x120 net/wireless/core.c:1871, CPU#1: kworker/u8:9/1160 Modules linked in: CPU: 1 UID: 0 PID: 1160 Comm: kworker/u8:9 Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026 Workqueue: netns cleanup_net RIP: 0010:cfg80211_pernet_exit+0xd5/0x120 net/wireless/core.c:1871 Code: e8 03 42 80 3c 20 00 74 08 4c 89 f7 e8 b4 ef 0e f7 4d 8b 36 49 81 fe 20 10 4a 90 74 12 e8 03 3d 9f f6 eb 85 e8 fc 3c 9f f6 90 <0f> 0b 90 eb cc e8 f1 3c 9f f6 eb 05 e8 ea 3c 9f f6 5b 41 5c 41 5e RSP: 0018:ffffc900057a78f0 EFLAGS: 00010293 RAX: ffffffff8b287154 RBX: ffff88807ba72780 RCX: ffff8880213e8000 RDX: 0000000000000000 RSI: 00000000ffffffef RDI: 0000000000000000 RBP: 00000000ffffffef R08: ffffffff9024cc67 R09: 0000000000000000 R10: fffff52000af4eb0 R11: fffffbfff204998d R12: dffffc0000000000 R13: ffffffff904a1080 R14: ffff888144ed0008 R15: ffff888144ed0e20 FS: 0000000000000000(0000) GS:ffff888124de6000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005642de0a8a70 CR3: 000000007a40c000 CR4: 00000000003526f0 Call Trace: <TASK> ops_exit_list net/core/net_namespace.c:200 [inline] ops_undo_list+0x43d/0x8d0 net/core/net_namespace.c:253 cleanup_net+0x572/0x810 net/core/net_namespace.c:706 process_one_work kernel/workqueue.c:3387 [inline] process_scheduled_works+0xc3d/0x1630 kernel/workqueue.c:3470 worker_thread+0xa47/0xfb0 kernel/workqueue.c:3551 kthread+0x38b/0x480 kernel/kthread.c:436 ret_from_fork+0x514/0xb70 arch/x86/kernel/process.c:158 ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:245 </TASK>
CVE-2026-98072
2026년 9월 25일In the Linux kernel, the following vulnerability has been resolved: net/rds: use wq_has_sleeper() in release_in_xmit() release_in_xmit() clears RDS_IN_XMIT with clear_bit_unlock() and then checks waitqueue_active() to decide whether anyone needs waking. clear_bit_unlock() is only a release operation: it orders the critical section before the bit clear, but does not order the subsequent plain load of the wait queue head after it. The waiter side does the mirror image - it adds itself to the wait queue and then tests the bit. That is the classic store-buffering pattern: the releasing CPU can read the wait queue as empty while the waiting CPU still reads the bit as set, so the sleeper is never woken. The waiters are rds_conn_shutdown() and rds_tcp_reset_callbacks(), both in uninterruptible wait_event() with no timeout. A lost wake-up strands the shutdown worker on its single-threaded workqueue until some other sender releases the bit again - and on a connection that is being torn down precisely because it failed, there may never be another sender. The barrier used to be there: release_in_xmit() did clear_bit() followed by smp_mb__after_atomic() until commit 1422f28826d2 ("rds: introduce acquire/release ordering in acquire/release_in_xmit()") folded both into clear_bit_unlock(), which strengthened the lock hand-off but silently dropped the full barrier the wake-up check depends on. The refill counterpart, release_refill() in net/rds/ib_recv.c, still carries its smp_mb__after_atomic() for exactly this reason. Use wq_has_sleeper(), which is waitqueue_active() preceded by the required full barrier.
CVE-2026-98071
번역 확인 필요2026년 9월 25일Linux 커널에서 다음 취약점이 해결되었습니다: net/rds: rds_conn_path_reset()에서 cp_flags 비트를 개별적으로 지웁니다 rds_conn_path_reset()가 전체 플래그 워드를 plain store로 0으로 초기화합니다: cp->cp_flags = 0. 이 워드의 다른 접근자는 원자 비트 연산자(all atomic)들을 사용하고 있으며, 일부는 리셋과 동시에 실행될 수 있습니다. RDS_LL_SEND_FULL은 rds_send_xmit()에서 설정되고 전송 완료 경로에서 지워지며, 이들 경로 중 어느 것도 종료 워커를 배제하는 작업을 보유하지 않습니다. 같은 워드에 대해 일반적인 store와 원자 읽기-수정-쓰기가 경쟁하면 데이터 레이스가 발생하고, 어떤 쪽이 패배하든 업데이트가 묵시적으로 폐기됩니다. 실제로 리셋이 책임지는 두 비트만 지웁니다. RDS_IN_XMIT 및 RDS_RECV_REFILL은 여기서 저장이 필요하지 않습니다: 호출자 rds_conn_shutdown()에 속해 있으며, 두 비트가 모두 지워진 상태에서 전송 종료를 대기한 후 전송을 종료합니다. 그리고 이 리셋 중에 모든 비트에 대해 단일 명확한 작성 정책(writer discipline)을 부여합니다. 후속 패치가 teardown 동안 잠금으로 유지되는 RDS_IN_XMIT 및 RDS_RECV_REFILL를 바꿀 때 이 잠금의 소유권이 해제되는 해제(wake-up) 시나리오를 제공합니다. teardowm 중간에 blanket store를 하면 잠금 소유권이 손상될 수 있습니다. 원자적 clear가 이를 보존합니다. Oracle UEK도 동일한 전환("net/rds: Preserve essential connection state flags")를 채택했고, 비동기 종료(state machine)와 파괴 플래그가 리셋에 의해 살아남아야 한다는 동기로 작성되었습니다. UEK의 변형은 또한 RDS_IN_XMIT 및 RDS_RECV_REFILL를 지웁니다. 왜냐하면 이 리셋은 두 비트를 보유한 종료 시점의 마지막 단계로 실행되며, 이 지움은 해제처럼 동작합니다. 업스트림의 해당 해제는 rds_conn_shutdown()에 위치합니다: 이후 시리즈의 패치가 두 비트를 teardown 동안 잠금으로 바꾸면 소유권 해제 시나리오와 끝소유권 해제 필요성을 제공하는 wake-up이 필요합니다. 이 릴리스는 Oracle UEK 커밋 "net/rds: Preserve essential connection state flags"에 기반합니다. 작성자: Gerd Rausch. 참조: Oracle UEK의 동일한 변환은 비동기 종료(state machine)에 의해 동기화되며, 리셋의 마지막 단계로 두 비트가 잠금으로 남아 있다가 해제됩니다.
CVE-2026-98070
2026년 9월 25일Linux 커널에서 다음 취약점이 해결되었다: net/rds: rds_tcp_reset_callbacks()에서 RDS_IN_XMIT 획득 rds_tcp_reset_callbacks()는 경로 상태를 RDS_CONN_RESETTING으로 설정하여 전송 경로를 정지시키고, RDS_IN_XMIT 비트가 클리어될 때까지 대기한 후 기본 소켓을 교체하고 rds_send_path_reset()을 호출한다. 비트가 클리어되었는지 샘플링하는 것은 그것을 소유하는 것과 같지 않다: rds_send_xmit()은 wait_event()가 반환된 직후에 RDS_IN_XMIT을 다시 획득할 수 있다. 락을 획득한 후 상태 재검사는 저장 버퍼링 패턴이며(리셋터는 상태를 쓰고 비트를 읽으며, 송신자는 비트를 쓰고 상태를 읽음), acquire_in_xmit()은 단지 획득 연산이므로, 약한 순서 아키텍처에서는 양쪽 모두 상대방의 쓰기를 놓칠 수 있고, 전송 경로가 rds_send_path_reset()이 cp_xmit_* 상태를 다시 쓰는 것과 동시에 실행될 수 있다. 이는 rds_send_path_reset() 위의 주석이 호출자에게 방지하라고 지시하는 상황이다. 대신 락을 획득하고, 소켓 교체와 rds_send_path_reset() 동안 락을 유지하며, 마지막에 락을 해제하고 웨이크업한다. wait 위의 락 순서 제약은 여전히 유효하다: 락은 lock_sock() 전에 획득되므로, tcp_sendmsg() 내부의 송신자는 우리가 소켓 락을 보유하는 동안 대기되지 않는다. 같은 변경으로 이전 코드의 두 가지 세부 사항이 사라진다: - t_sock은 이제 락 획득 후에만 읽힌다. 이전 코드는 대기 전에 캐시했는데, rds_conn_shutdown()의 종료는 해당 소켓을 해제하고 t_sock을 클리어하므로, 대기 전에 캐시된 포인터는 수락 경로가 재개될 때 오래된 값일 수 있다. RDS_IN_XMIT 아래에서 읽는 것이 종료가 동일한 락을 소유할 때 배타성을 완성한다. 다음 패치가 이를 정리한다; 그 전까지 종료는 여전히 비트만 샘플링하며 두 경로는 오늘날과 같이 서로 노출된 상태로 남는다. - 이전의 !osock 초기 경로는 전혀 직렬화 없이 rds_send_path_reset()을 호출했다. 이제는 정상 경로처럼 락 아래에서 실행된다. 이전 패치의 조건부 RDS_CONN_RESETTING 전이는 소켓 검사 전에 발생한다: 소켓이 없는 경로는 여전히 연결 중이거나(t_conn_path_lock에서 재연결 작업자가 차단됨) 정상적으로 RESETTING -> UP 상태로 새 소켓에 전환되거나, 그 사이에 종료되어 드롭된다. 함수 내 주석은 이전의 대기 기반 정지를 락 기반으로 설명하도록 다시 작성되었고, 함수 위의 오래된 블록 주석(반환 값과 불완전한 t_sock 작성자 목록을 설명하던)은 네 명의 작성자 - 연결, 수락, 종료, 교체 경로 - 와 각각을 직렬화하는 방법을 명시하도록 갱신되었다.
CVE-2026-98069
2026년 9월 25일Linux 커널에서 다음 취약점이 해결되었다: net/rds: rds_conn_shutdown()에서 fastpath 락 획득 rds_conn_shutdown()은 RDS_IN_XMIT 및 RDS_RECV_REFILL이 클리어된 상태가 샘플링될 때까지 대기하여 전송 및 수신 리필 경로를 정지시키고, 이후 전송 종료와 rds_conn_path_reset()을 실행한다. 비트가 클리어된 상태를 샘플링하는 것은 해당 비트를 소유하는 것과 같지 않다: wait_event()가 반환된 직후, rds_send_xmit()은 RDS_IN_XMIT을 다시 획득할 수 있고(rds_ib_recv_refill()는 RDS_RECV_REFILL을 다시 획득할 수 있음) 종료 작업과 동시에 실행될 수 있다. 송신자는 락을 획득한 후 연결 상태를 재확인하지만, 이 재확인은 고전적인 저장 버퍼링 패턴이다: 종료 작업은 상태를 쓰고 비트를 읽으며, 송신자는 비트를 쓰고 상태를 읽는다. acquire_in_xmit()은 단지 획득 연산이므로, 약한 순서 아키텍처에서는 양측이 서로의 쓰기를 놓칠 수 있고, 이로 인해 전송 경로가 전송 링을 초기화하는 동안(e.g. rds_ib_ring_init()) 및 rds_send_path_reset()이 전송 상태를 다시 쓰는 동안 실행될 수 있다. Oracle UEK는 동일한 유형의 충돌을 수정했는데, 이는 rds_ib_sub_signaled()에서 14년간 이어진 BUG_ON()들, 장애 조치 테스트 중 rds_ib_send_cqe_handler()에서의 예상치 못한 연산 코드 및 NULL 역참조 문제였다. 이들은 종료 경로가 fastpath 비트 락을 테스트하는 대신 *획득*하도록 변경하여 해결했다("rds: Make sure transmit path and connection tear-down does not run concurrently"). 단일 워드의 소유권은 RMW 원자성으로 결정되므로 교차 변수 순서 지정이 필요 없다. 여기서도 동일하게 수행한다: 전송 종료를 호출하기 전에 두 락을 모두 획득하고, rds_conn_path_reset() 동안 유지하며, 이후 명시적으로 해제하고 깨운다. 두 락 모두 clear_bit_unlock()으로 해제되므로, 전송 종료에 의한 링 재초기화와 rds_send_path_reset()에 의한 전송 상태 재작성은 다음 acquire_in_xmit() 또는 acquire_refill()이 비트를 클리어로 인식하기 전에 순서가 보장된다. 이 비트들의 fastpath 사용자들인 rds_send_xmit()과 rds_ib_recv_refill()은 trylock 스타일이며 종료가 락을 소유하는 동안 백오프하므로 새로운 락 의존성이 도입되지 않는다. rds_tcp_reset_callbacks()는 다르다: 이전 패치 이후 RDS_IN_XMIT도 획득하며, 블록킹하여 대기하므로 대기 시간이 종료를 포함하게 된다. 이 대기자는 단일 스레드 krdsd 작업 큐에서 rds_tcp_accept_one()으로부터 실행되며, 대기 중 rds_tcp_accept_lock과 t_conn_path_lock을 보유한다. 따라서 경로가 종료되는 동안 SYN이 수락되면 accept 처리가 종료 시간 동안 대기한다. TCP는 rds_tcp_conn_path_shutdown()의 최대 5초 배수 루프로 제한되지만, IB 경로의 rds_ib_conn_path_shutdown() 배수는 제한이 없고 블록킹 대기자도 없다. rds_tcp_reset_callbacks()만이 이 비트들의 블록킹 획득자이며 자신의 TCP 경로에서만 대기한다. fastpath들은 두 전송 모두에서 trylock 및 백오프 방식이므로 긴 IB 배수는 해당 경로의 정지 시간만 연장한다. 창은 좁다: 종료가 경로를 RDS_CONN_DISCONNECTING으로 이동시키기 전에 수락 측 상태 검사가 통과해야 한다. krdsd가 단일 글로벌 작업 큐이므로, 그곳에 대기 중인 다른 모든 작업들 - 다른 연결 및 네트워크 네임스페이스의 accept 처리, 네임스페이스 종료 중 rds_tcp_listen_stop()의 flush_workqueue(rds_wq) - 는 accept 작업자가 대기하는 동안 대기한다. 데드락은 발생하지 않지만 대기들이 서로를 가리킨다: 종료는 비트 소유자가 해제할 때까지 차단되고, 소유자는 krdsd accept 작업자일 수 있다. 소유자는 종료가 소유한 어떤 것도 필요로 하지 않고 완료된다: 동기화는 rds_tcp_reset_callbacks()가 경로의 순서 있는 cp_wq에서 대상 cp_send_w 및 cp_recv_w를 취소하는데, 이들의 유일한 실행 슬롯은 차단된 cp_down_w 자체가 차지하고 있어 최대 대기 상태이며 플러시 없이 취소된다. 이는 cp_wq가 순서가 있다는 가정에 의존하며, 해당 취소 옆에 주석으로 기록되어 있다.
CVE-2026-98068
2026년 9월 25일In the Linux kernel, the following vulnerability has been resolved: net/rds: don't let rds_conn_shutdown() consume a concurrent drop rds_conn_shutdown() finishes by moving the path from RDS_CONN_DISCONNECTING to RDS_CONN_DOWN, and also accepts RDS_CONN_ERROR as the starting state of that final transition, so that a FIN processed in softirq context during the teardown does not derail the shutdown into a noisy error path. But consuming that RDS_CONN_ERROR also consumes the shutdown pass that came with it: rds_conn_path_drop() sets RDS_CONN_ERROR and then queues cp_down_w, and a pass that starts on a path already in RDS_CONN_DOWN is a no-op. For the FIN case that is harmless - the socket the FIN arrived on is the very socket the teardown just released. It is not harmless for a dropper that attached something to the path first. rds_tcp_accept_one() is such a dropper. Its path claim in rds_tcp_accept_one_path() transitions RDS_CONN_DOWN -> RDS_CONN_CONNECTING, and a concurrent drop - a FIN on a previous socket in softirq context, an administrative reset - can put the path into RDS_CONN_ERROR between that claim and the state check that follows, which accepts RDS_CONN_ERROR. The accept then installs the freshly accepted socket with rds_tcp_set_callbacks() while the queued teardown - which sampled tc->t_sock before this socket existed - is still running. rds_connect_path_complete() fails its transition to RDS_CONN_UP and drops the path again, queueing the pass that should reap the socket it just installed. If the in-flight shutdown's final transition consumes that drop's RDS_CONN_ERROR, the queued pass finds the path in RDS_CONN_DOWN and does nothing. The installed socket is never torn down: it sits established with its callbacks armed and its rds_tcp_connection on rds_tcp_tc_list, the peer sees a connection that nothing ever reads, and the path is wedged in RDS_CONN_DOWN until some later event drops it again. Reproduced with widened race windows as an ever-growing receive queue on a socket owned by a path stuck in RDS_CONN_DOWN, with the peer's send path wedged behind it. Make the final transition only DISCONNECTING -> DOWN. If it fails because the path is in RDS_CONN_ERROR, a drop raced the teardown: cancel the reconnect timer and clear RDS_RECONNECT_PENDING - the one piece of the skipped tail that must not be left behind - and return, letting the pass the drop queued finish the job: it tears down whatever attached to the path in the meantime, completes the transition to RDS_CONN_DOWN, and re-arms the reconnect from its own tail. The timer quiesce in that branch matters because the racing drop does not always queue that pass: rds_conn_path_drop() returns without queueing when a destroy is pending - exactly the situation during a netns teardown or module unload, when a FIN on the dying socket is processed while rds_conn_path_destroy() flushes cp_down_w. If the flushed pass is the one that takes this return, no later pass exists, and rds_conn_path_destroy() would find cp_conn_w still armed (WARN_ON) and then free a path whose reconnect timer can still fire. With the cancel in the branch, every exit of a shutdown pass leaves the timer quiesced no matter which pass completes the transition. The FIN case keeps making progress, one pass later and still without noisy logging. Any other state keeps today's rds_conn_path_error() handling; no current cp_state writer can leave a DISCONNECTING path in anything but RDS_CONN_ERROR (every other writer is a cmpxchg from a non-DISCONNECTING state), so that branch is defensive. On kernels without the preceding patches the same hazard exists with the sample-based quiesce; the fix applies there equally.
CVE-2026-98067
2026년 9월 25일In the Linux kernel, the following vulnerability has been resolved: erofs: disable LZ4 rolling decompression for now LZ4 rolling decompression [1] was introduced to reduce the memory footprint of temporary pages: For many cases, it is needed for users to read small data within a compressed extent (pcluster), either due to random small read, or since uptodate folios (typically order-0) cannot be reused for decompression again since decompression algorithm refills already-uptodate folios. Rolling decompression works because LZ4 is LZ77-based and only refers to the most recent 64 KiB of decompressed data, so in theory only a bounded rolling window of temporary pages is needed when decompressing. It can save a lot of temporary memory, e.g. 601,960-byte data can be compressed into a 256k LZ4 compressed extent, which means it needs 146 extra pages per request in the worst case if rolling decompression is disabled. However, the upstream LZ4 implementation is not under EROFS' control: For example, the literal copy memmove() may still **copy long literals backward** on x86 based on the address comparison even when the source and destination ranges do not overlap (IOWs, inline decompression doesn't need to be considered here). That breaks the rolling assumption and makes the optimization broken. Disable it for now to make sure the data correctness first since EROFS is used everywhere now: The rolling window approach can be revived once we either ensure that the official LZ4 code always copies forward for non-overlapping ranges or maintain our own LZ4 implementation in EROFS. The main impact is a higher runtime memory footprint; However, recent commit 0f6273ab4637 ("erofs: add a reserved buffer pool for lz4 decompression") helps mitigate this when enabled but it's still not perfect. [1] https://www.usenix.org/conference/atc19/presentation/gao § 3.3 Decompression
CVE-2026-98066
2026년 9월 25일Linux 커널에서 다음 취약점이 해결되었습니다: ALSA: caiaq: 오류 경로에서 이중 해제가 발생할 가능성 수정 caiaq 드라이버의 자원 관리에서 오류를 처리하기 위해 공통 소멸자 호출에서 자원을 해제하려고 하지만, 다른 패치를 위한 sashiko 검토가 제안한 바와 같이 URB와 같은 일부 오디오 자원이 이미 해제되어 있을 수 있어 이로 인해 이중 해제가 발생할 수 있습니다. 이중 해제를 해결하기 위해 각 위치에서 공통 소멸자 함수를 호출하고 자원 포인터가 초기화되었는지 확인합니다.
CVE-2026-98065
2026년 9월 25일In the Linux kernel, the following vulnerability has been resolved: bpf: Reject key-less BTF for hash maps map_check_btf() allows a key-less BTF (btf_key_type_id == 0) only for maps that have a ->map_check_btf callback, and leaves the actual decision to that callback. Hash maps used to have no ->map_check_btf, so a key-less BTF was rejected outright. That changed when htab and rhtab gained a ->map_check_btf to register a dtor - htab in commit 1df97a7453ee ("bpf: Register dtor for freeing special fields") and rhtab in commit 6905f8601298 ("bpf: Allow special fields in resizable hashtab"). Neither looks at the key, so a key-less hash map now passes map_check_btf() and gets created. Reading it back through bpffs feeds the key type_id 0 into btf_type_seq_show(); btf_type_by_id() returns the void type, kind_ops[BTF_KIND_UNKN] is NULL, and btf_type_show() dereferences it: RIP: 0010:btf_type_show+0x223/0x2e0 kernel/bpf/btf.c:8232 RSP: 0018:ffffc9000399f868 EFLAGS: 00010206 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000005 RSI: 0000000000000000 RDI: 0000000000000028 RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000000 R10: ffffc9000399f970 R11: 0000000000000001 R12: ffffffff9b96b140 R13: ffffc9000399f8e0 R14: ffff88803d393c00 R15: 0000000000000003 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000200000000000 CR3: 000000003d213000 CR4: 0000000000352ef0 DR0: 0000000039ae8f55 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Call Trace: <TASK> btf_type_seq_show_flags+0xca/0x120 kernel/bpf/btf.c:8250 htab_map_seq_show_elem+0x12e/0x350 kernel/bpf/hashtab.c:1669 map_seq_show+0x13d/0x1e0 kernel/bpf/inode.c:293 traverse.part.0.constprop.0+0x107/0x650 fs/seq_file.c:112 traverse fs/seq_file.c:99 [inline] seq_read_iter+0x93f/0x1270 fs/seq_file.c:196 seq_read+0x344/0x4d0 fs/seq_file.c:163 vfs_read+0x1e4/0xb40 fs/read_write.c:572 ksys_pread64 fs/read_write.c:764 [inline] __do_sys_pread64 fs/read_write.c:772 [inline] __se_sys_pread64 fs/read_write.c:769 [inline] __x64_sys_pread64+0x1eb/0x250 fs/read_write.c:769 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x123/0x790 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f Reject a key-less BTF in htab_map_check_btf() and rhtab_map_check_btf(), restoring the previous behavior.
CVE-2026-98064
2026년 9월 25일In the Linux kernel, the following vulnerability has been resolved: bpf: Fix NULL-ptr-deref when showing a void BTF type btf_modifier_show() resolves the modifier and then calls btf_type_ops(t)->show() unconditionally. For the void type (type_id 0, BTF_KIND_UNKN) kind_ops[] has no entry, so ->show is NULL. A "const void" (a modifier resolving to void) cannot be a map key or value - map_check_btf() rejects it because void has no size - so the map dump path does not reach it. But bpf_snprintf_btf() takes a type_id straight from the BPF program, and passing such a "const void" from the vmlinux BTF NULL-derefs: KASAN: null-ptr-deref in range [0x0000000000000028-0x000000000000002f] RIP: 0010:btf_modifier_show (kernel/bpf/btf.c:2914) Call Trace: <TASK> btf_type_show (kernel/bpf/btf.c:8251) btf_type_snprintf_show (kernel/bpf/btf.c:8321) bpf_snprintf_btf (kernel/trace/bpf_trace.c:1047) bpf_prog_test_run_raw_tp (net/bpf/test_run.c:829) __sys_bpf (kernel/bpf/syscall.c:4804) do_syscall_64 (arch/x86/entry/syscall_64.c:94) entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:121) </TASK> Fall back to btf_df_show() when the resolved type has no show op; it emits the "<unsupported kind:N>" placeholder already used for kinds like FWD and FUNC. bpf_snprintf_btf() then returns the length as usual.
CVE-2026-98063
2026년 9월 25일In the Linux kernel, the following vulnerability has been resolved: bpf: Fix NULL-ptr-deref in btf_var_show() btf_var_show() calls btf_type_id_resolve() unconditionally, which dereferences btf->resolved_ids. That is NULL for a base BTF - e.g. the vmlinux BTF that bpf_snprintf_btf() renders against - since base BTF is not resolved during parsing. btf_modifier_show() guards this with 'if (btf->resolved_ids)', but btf_var_show() does not. A BPF program that passes the type_id of a BTF_KIND_VAR from the vmlinux BTF to bpf_snprintf_btf() thus NULL-derefs: KASAN: probably user-memory-access in range [0x46638-0x4663f] RIP: 0010:btf_var_show (kernel/bpf/btf.c:2929) Call Trace: <TASK> btf_type_show (kernel/bpf/btf.c:8259) btf_type_snprintf_show (kernel/bpf/btf.c:8329) bpf_snprintf_btf (kernel/trace/bpf_trace.c:1047) bpf_prog_test_run_raw_tp (net/bpf/test_run.c:829) __sys_bpf (kernel/bpf/syscall.c:4804) do_syscall_64 (arch/x86/entry/syscall_64.c:84) entry_SYSCALL_64_after_hwframe (arch/x86/entry/entry_64.S:121) </TASK> Resolve the var's type directly with btf_type_skip_modifiers() when resolved_ids is NULL, mirroring btf_modifier_show().
CVE-2026-98062
2026년 9월 25일In the Linux kernel, the following vulnerability has been resolved: bpf: Mark signal tracepoint siginfo arguments as scalar The signal_generate and signal_deliver tracepoints declare their info argument as a struct kernel_siginfo pointer. btf_ctx_access() therefore treats it as a trusted pointer for tp_btf programs. Signal delivery also uses SEND_SIG_NOINFO and SEND_SIG_PRIV as special values for this argument. Those values are zero and one respectively, and are not pointers. A tp_btf program can currently dereference either value and fault the kernel. In particular, signal_generate can run from timer interrupt context, turning the fault into a kernel panic. Record both tracepoints in raw_tp_null_args[] and mark argument one as a non-pointer. This preserves scalar access to the cookie while rejecting direct and helper-mediated pointer use. Merely marking it nullable would not suffice because SEND_SIG_PRIV is nonzero.
CVE-2026-98061
2026년 9월 25일In the Linux kernel, the following vulnerability has been resolved: bpf: Reject tail calls directly from callback frames A tail call from a non-zero frame is modeled as a return from that frame. The verifier makes R0 unknown and calls prepare_func_exit() for the taken branch. When the current frame is a synchronous callback, prepare_func_exit() enforces the callback return-value contract and marks R0 precise. Since the tail-call path synthesized R0 rather than deriving it from an instruction, precision backtracking reaches the callback-calling instruction with R0 still requested and triggers the "callback unexpected regs" verifier bug. A CAP_BPF task can therefore cause a WARN and an -EFAULT BPF_PROG_LOAD. Tail calls reachable from callbacks are already rejected later by check_max_stack_depth(). Reject a tail call made directly by a callback before constructing the inconsistent return state, using the existing diagnostic. Tail calls from ordinary subprograms keep their current behavior.
CVE-2026-98060
2026년 9월 25일Linux 커널에서 다음 취약점이 해결되었습니다: bpf: rbtree 콜백에서 탄력적 잠금 작업 거부 __bpf_rbtree_add()는 프로그램이 제공한 비교 콜백에 대한 호출 동안 부모 및 링크 포인터를 유지합니다. 이로 인해 검증기는 루트의 잠금이 콜백 전체에 걸쳐 유지되어야 합니다. 도우미 경로는 bpf_spin_lock() 및 bpf_spin_unlock()에 대해 이 규칙을 강제하지만, 탄력적 잠금 kfunc 인자 경로는 그렇지 않습니다. 탄력적 잠금이 BPF rbtree 루트를 보호할 수 있으므로, 콜백이 루트 잠금을 해제하고 다른 CPU가 진행 중인 트리 순회에서 참조된 노드를 제거·해제하도록 할 수 있습니다. 그런 다음 순회는 해제된 포인터를 사용하여 재개됩니다: rbtree 비교 콜백에서 탄력적 잠금 kfunc를 거부하고, 스핀 잠금 도우미에 대한 기존 정책과 일치시킵니다. 탄력적 잠금으로 보호되는 트리는 비교 콜백이 잠금 상태를 해제하지 않는 한 유효하게 남아 있습니다.
CVE-2026-98059
2026년 9월 25일In the Linux kernel, the following vulnerability has been resolved: bpf: Mark sched_process_wait argument as nullable do_wait() passes wo->wo_pid to the sched_process_wait tracepoint. kernel_wait4() leaves wo_pid NULL for wait4(-1), and kernel_waitid_prepare() does likewise for waitid(P_ALL). btf_ctx_access() currently types argument 0 as PTR_TO_BTF_ID | PTR_TRUSTED. Without PTR_MAYBE_NULL, the verifier accepts an unchecked dereference. Trusted pointer loads have no fault protection, so a wait for any child can then cause a NULL pointer dereference in JITed BPF code. Add sched_process_wait to raw_tp_null_args[] with argument 0 marked nullable. The verifier rejects an unchecked dereference while preserving access after the program checks the pointer for NULL.
CVE-2026-98058
2026년 9월 25일In the Linux kernel, the following vulnerability has been resolved: bpf: Mark syscall helpers as sleepable bpf_sys_bpf() executes the bpf(2) syscall body, which can take mutexes, allocate with GFP_KERNEL, and wait for an RCU grace period. bpf_sys_close() reaches close_fd() and filp_close(), which can sleep as well. Both helpers are limited to BPF_PROG_TYPE_SYSCALL, whose main program is sleepable. That does not make every callback sleepable: a syscall program can register a bpf_timer callback, and the verifier checks that callback in a non-sleepable context while retaining the syscall helper set. Without .might_sleep on the prototypes, such a callback can invoke bpf_sys_bpf() from hrtimer softirq context and trigger a scheduling-while-atomic failure. bpf_sys_close() is exposed through the same missing context check. Set .might_sleep on both prototypes so the existing helper-context check rejects them from timer callbacks and other atomic regions. Calls from the sleepable main body remain valid.
CVE-2026-98057
2026년 9월 25일In the Linux kernel, the following vulnerability has been resolved: ring-buffer: Add checking nr_subbufs to persistent ring buffer validation Sashiko reported that the code was using meta->nr_subbufs without making sure that it matched the nr_pages + 1 on data that was assuming the two were the same. Add a check to the persistent ring buffer validation code to make sure that the saved nr_subbufs matches what we expect.