총 16,343건
CVE-2026-90319
2026년 9월 18일In the Linux kernel, the following vulnerability has been resolved: rapidio: clear mport->net when rio_add_net() fails rio_alloc_net() stores the newly allocated rio_net in mport->net before rio_scan_alloc_net() registers the device. If rio_add_net() fails, rio_scan_alloc_net() drops the device reference with put_device(), which releases the rio_net through the device release callback. However, mport->net is left pointing at the freed object. A later mport unregister path can then dereference the dangling mport->net pointer and may try to free the same rio_net again. Clear mport->net in the rio_add_net() failure path, matching the cleanup done for the destID table allocation failure path.
CVE-2026-90318
2026년 9월 18일In the Linux kernel, the following vulnerability has been resolved: fat: release buffer head after rebuilding parent fat_scan_logstart() leaves the matching directory entry's buffer head in sinfo.bh for the caller to release, just like fat_scan(). fat_rebuild_parent() uses the directory entry to rebuild the parent inode for the nostale_ro NFS export path, but does not release sinfo.bh after a successful scan. Release it once fat_build_inode() has consumed the directory entry data.
CVE-2026-90317
2026년 9월 18일Linux 커널에서 다음 취약점이 해결되었다: bpf: 최종 spin unlock 후 RCU 포인터 무효화 슬립 가능한 BPF 프로그램에서 spin lock은 kptr에 대한 유일한 RCU 보호를 제공할 수 있다. 최종 bpf_spin_unlock()은 그 보호를 종료하지만, 검증기는 포인터를 유효한 상태로 남긴다. 다른 CPU가 포인터가 사용되기 전에 객체를 해제할 수 있다. 권한이 제한된 런타임 PoC가 __bpf_get_task_stack()에서 task_struct use-after-free를 유발했다. 락을 해제하기 전에 프로그램이 RCU 보호 컨텍스트에 있는지 기록한다. 락 해제가 최종 RCU 보호 컨텍스트를 벗어날 때만 RCU 보호 포인터를 무효화한다. 이는 슬립 불가능한 프로그램과 명시적 RCU 읽기 측 섹션 내에서 유효한 포인터를 유지한다.
CVE-2026-90316
2026년 9월 18일리눅스 커널에서 다음 취약점이 해결되었다: drm/omap: dsi: isr 테이블을 복사하지 않음 isr에서 항목을 등록 해제할 수 있도록 해당 테이블을 복사했었다. 아무도 그런 방식으로 항목을 등록 해제하지 않는 것으로 보이며, 따라서 도움이 되지 않는다. 그러나 이 isr에 전달되는 스택 할당 객체들이 있는데, 이 객체들이 처리되는 동안 irq가 등록 해제되면 이 객체들에 대해 해제 후 사용(UAF) 가능성이 있으므로, 해당 테이블을 복사하지 않는 것이 더 낫다.
CVE-2026-90315
2026년 9월 18일In the Linux kernel, the following vulnerability has been resolved: PCI/sysfs: Add lockdown checks to legacy I/O and memory handlers Currently, the legacy I/O and memory sysfs handlers do not check security_locked_down(LOCKDOWN_PCI_ACCESS), leaving the legacy_io and legacy_mem files unprotected when the kernel is locked down. Commit eb627e17727e ("PCI: Lock down BAR access when the kernel is locked down") added the check to pci_write_config(), pci_mmap_resource(), and pci_write_resource_io() to prevent userspace from programming DMA-capable hardware that could be used to modify kernel code, but did not cover the legacy handlers. As a result, root can still write arbitrary I/O ports and map the legacy I/O and memory spaces while the kernel is locked down, which is the same capability the lockdown is meant to remove. Add the same check to pci_write_legacy_io(), pci_mmap_legacy_mem(), and pci_mmap_legacy_io(). These generic handlers cover both architectures that define HAVE_PCI_LEGACY (such as Alpha and PowerPC). [bhelgaas: add Link]
CVE-2026-90314
2026년 9월 18일In the Linux kernel, the following vulnerability has been resolved: remoteproc: fix OOB read via signed offset in rsc_table_for_each_entry() table->offset[i] is a u32 from firmware, but was stored into a signed int. A crafted offset like 0xFFFFFFF0 becomes -16, placing hdr 16 bytes before the table buffer. The subsequent avail check was bypassed because the negative int was promoted to a large size_t in the expression "table_sz - offset - sizeof(*hdr)", yielding a large positive avail and letting the out-of-bounds hdr->type read proceed undetected. Store the offset as u32 and validate it with unsigned comparisons before any pointer arithmetic.
CVE-2026-90313
2026년 9월 18일In the Linux kernel, the following vulnerability has been resolved: bpf, cgroup: Fix invalid storage access after __cgroup_bpf_attach failed A potential invalid storage access issue can occur after replacing a cgroup bpf prog. This occurs in the following scenario: 1. prog1 with storage is attached to a cgroup in multi-attach mode. 2. prog1 is replaced with prog2 using BPF_F_REPLACE in multi-attach mode, but fails midway (e.g. in bpf_trampoline_link_cgroup_shim or update_effective_progs). 3. A new prog3 is attached to the cgroup in multi-attach mode. The reason is that __cgroup_bpf_attach overwrites pl->storage with the new storage prior to attachment completion. When attachment fails midway, the cleanup path calls bpf_cgroup_storages_free(new_storage) to free the newly allocated storage, but fails to restore pl->storage back to old_storage. Consequently, the still-active prog1 holds invalid or dangling storage pointers, leading to an invalid memory access when prog1 executes and calls bpf_get_local_storage. Additionally, original pl->flags and cgrp->bpf.flags[atype] are left unrestored. Fix this by saving old_pl_flags, old_storage, and old_flags prior to the update, and properly restoring all of them in the cleanup path on error.
CVE-2026-90312
2026년 9월 18일리눅스 커널에서 다음 취약점이 해결되었다: bpf: load-acquire src 포인터 타입을 로드 전에 확인 check_atomic_load()는 atomic_ptr_type_ok() 전에 check_load_mem()을 호출한다. 자신의 소스 레지스터(dst_reg == src_reg)로 값을 가져오는 load-acquire의 경우, check_load_mem()은 src_reg의 타입을 로드된 값의 타입으로 덮어써서 이후 atomic_ptr_type_ok()가 더 이상 소스 포인터를 인식하지 못하고 허용되지 않는 타입(ctx, pkt, flow_keys, sock)을 거부하지 못한다. bpf_convert_ctx_accesses()가 atomic 로드를 다시 쓰지 않기 때문에, 기본 커널 객체에 대한 원시 접근이 그대로 남아 있다. 목적지 타입은 ctx 접근 자체에서 가져오므로, 예를 들어 struct __sk_buff의 sk 필드에 대한 load-acquire는 레지스터를 PTR_TO_SOCK_COMMON_OR_NULL 타입으로 남기는데, type_is_sk_pointer()도 이 타입과 일치하지 않으며 실제로는 변환되지 않은 struct sk_buff 바이트를 보유한다. NULL 검사가 통과된 후 이것은 단순한 커널 데이터 누출이 아니라 타입 혼동이다. check_reg_arg()로 src_reg를 검증하고 atomic_ptr_type_ok()로 로드 전에 소스 포인터 타입을 다시 확인하여 check_atomic_rmw()를 반영한다. 범위를 벗어난 레지스터 번호는 이미 check_and_resolve_insns()에서 거부되며(커밋 503d21ef8eac ("bpf: Do register range validation early")), 유일한 예외인 is_stack_arg_ldx()는 BPF_LDX | BPF_MEM | BPF_DW를 요구하므로 BPF_ATOMIC 명령어와는 절대 일치하지 않는다. 따라서 atomic_ptr_type_ok()는 레지스터 상태를 범위 밖에서 역참조할 수 없으며, 아래 Fixes 커밋에서 다룬 범위 밖 읽기 문제는 다시 발생하지 않는다(셀프 테스트로도 증명됨).
CVE-2026-90311
2026년 9월 18일In the Linux kernel, the following vulnerability has been resolved: thermal: hwmon: Remove hwmon class device along with its parent The current code creates one hwmon device per thermal zone type and that device is registered under the first thermal zone of the given type. That turns out to be problematic when the thermal zone holding the hwmon device is removed. For example, say that there are two ACPI thermal zones on a system /sys/devices/virtual/thermal/thermal_zone0/ /sys/devices/virtual/thermal/thermal_zone1/ The current code registers a hwmon class device for thermal_zone0 only: /sys/devices/virtual/thermal/thermal_zone0/hwmon0/ because the type is "acpitz" for both of them, but it adds a sysfs attribute that belongs to thermal_zone1 under it: /sys/devices/virtual/thermal/thermal_zone0/hwmon0/temp2_input There is also /sys/devices/virtual/thermal/thermal_zone0/hwmon0/temp1_input which belongs to thermal_zone0. When thermal_zone0 is removed, say because the ACPI thermal driver is unbound from the underlying platform device, thermal_remove_hwmon_sysfs() skips the removal of hwmon0 because of the temp2_input attribute belonging to thermal_zone1 which effectively prevents thermal_zone0 removal from making progress. Address this by making thermal_remove_hwmon_sysfs() remove the entire hwmon class device interface for the given thermal zone type when the thermal zone device holding it is removed. To prevent races with thermal_add_hwmon_sysfs() that may interfere with this, carry out the entire addition and removal of hwmon sysfs interfaces for thermal zones under thermal_hwmon_list_lock. Also adjust the layout of the labels in thermal_add_hwmon_sysfs() to the current kernel coding style to align with the new "unlock" label.
CVE-2026-90309
2026년 9월 18일Linux 커널에서 다음 취약점이 해결되었다: RDMA/erdma: EQ 이벤트를 처리할 때 CQ 참조 유지 EQ 핸들러는 dev->cq_xa에서 CQ를 조회하고 xarray 잠금 밖에서 CQ 완료 또는 오류 콜백을 호출한다. erdma_destroy_cq()는 이전에 예약된 EQ 핸들러가 여전히 CQ를 사용하는 동안 xarray에서 CQ를 삭제하고 큐 버퍼 및 도어벨 레코드를 해제할 수 있다. CQ 참조 카운트를 추가하고 xarray 잠금 하에서 refcount_inc_not_zero()로 참조를 취한다. 파괴 경로 참조를 해제하기 전에 xarray에서 CQ를 제거하고, CQ 리소스를 해제하기 전에 진행 중인 EQ 사용자를 기다린다.
CVE-2026-90308
2026년 9월 18일Linux 커널에서 다음 취약점이 해결되었다: RDMA/erdma: AE 및 CM 처리를 위한 QP 참조 유지 AE QP 치명적 이벤트와 iWARP CM 경로는 dev->qp_xa에서 QP를 로드한 후 xarray 잠금 밖에서 이를 사용하거나 참조한다. erdma_destroy_qp()는 파괴 경로 참조를 해제하고 QP 자원을 해제할 수 있는데, 이때 해당 조회가 진행 중일 수 있다. erdma_qp_get_by_qpn()을 추가하여 xarray 잠금 하에서 kref_get_unless_zero()로 kref를 획득한다. 파괴 경로 참조를 해제하기 전에 QP를 xarray에서 제거하여 파괴가 기존 사용자를 기다리는 동안 새로운 조회가 이를 획득하지 못하도록 한다.
CVE-2026-90307
2026년 9월 18일In the Linux kernel, the following vulnerability has been resolved: RDMA/srp: fix heap information leak on a truncated SRP_CRED_REQ srp_recv_done() passes wc->byte_len to srp_process_rsp(). It passes nothing to srp_process_cred_req() and srp_process_aer_req(), which read fixed-size fields from the receive buffer without checking that those fields were received. The buffer size is max_ti_iu_len, which comes from the login response and is not validated. A target that advertises 8 and then sends an 8-byte SRP_CRED_REQ makes the initiator read req->tag from beyond the end of the buffer. req->tag is copied into the SRP_CRED_RSP and sent back, so those bytes reach the target. SRP_AER_REQ behaves the same way and also reads req->lun. The leak is 8 bytes per response. max_ti_iu_len also decides which slab cache the buffer comes from. With 8 the buffer is a kmalloc-8 object and the read is entirely outside it: BUG: KASAN: slab-out-of-bounds in srp_recv_done+0x172b/0x1aa0 Read of size 8 at addr ffff888104714da8 by task kworker/u8:3/50 which belongs to the cache kmalloc-8 of size 8 The buggy address is located 0 bytes to the right of allocated 8-byte region [ffff888104714da0, ffff888104714da8) Without KASAN the returned bytes are whatever is next in the slab. One run returned ".strtab". rsp->data[3] in srp_process_rsp() has the same problem: only resp_data_len is checked before it is read. Drop a request that is shorter than the structure being parsed, and check byte_len before the tsk_mgmt read.
CVE-2026-90306
2026년 9월 18일In the Linux kernel, the following vulnerability has been resolved: ARM: 9481/2: breakpoint: CFI breakpoints only on demand This removes the stub hw_breakpoint_cfi_handler() from ARM, making it not steal breakpoint type 0x03 (ARM_ENTRY_CFI_BREAKPOINT) unless CFI is actively used in the kernel. When not instrumenting with CFI, or when a breakpoint is issued in userspace, we fall through to return 1 from hw_breakpoint_pending() "unhandled fault" so userspace can make use of this breakpoint. Tested with LKDTM and this command line: echo CFI_FORWARD_PROTO > /sys/kernel/debug/provoke-crash/DIRECT still works as expected.
CVE-2026-90305
2026년 9월 18일In the Linux kernel, the following vulnerability has been resolved: ARM: 9483/1: select HAVE_POSIX_CPU_TIMERS_TASK_WORK Commit c6e61c06d606 ("ARM: 9463/1: Allow to enable RT") enabled PREEMPT_RT on ARM but did not select HAVE_POSIX_CPU_TIMERS_TASK_WORK. This leaves CONFIG_POSIX_CPU_TIMERS_TASK_WORK disabled, so CPU timers expire in hard IRQ context. On PREEMPT_RT this makes run_posix_cpu_timers() take the sleeping sighand->siglock: BUG: sleeping function called from invalid context at spinlock_rt.c:48 rt_spin_lock from lock_task_sighand lock_task_sighand from run_posix_cpu_timers run_posix_cpu_timers from update_process_times ARM handles TIF_NOTIFY_RESUME on all return-to-user paths, including v7-M. ARM32 KVM host support was removed by commit 541ad0150ca4 ("arm: Remove 32bit KVM host support"), so the select need not be conditional on KVM. Select it to defer POSIX CPU timer expiry to task context. Reproduced with setrlimit(RLIMIT_CPU, ...) and a busy loop. The same path is used by setitimer(ITIMER_PROF or ITIMER_VIRTUAL) and POSIX CPU timers created with timer_create().
CVE-2026-90304
2026년 9월 18일In the Linux kernel, the following vulnerability has been resolved: ARM: 9484/1: enable interrupts when unhandled user faults are triggered PREEMPT_RT requires interrupts to be enabled when sending signals. When do_DataAbort()/do_PrefetchAbort() triggers unhandled user faults, that is `inf->fn()` return a non-zero value, and the interrupts are not enabled within the hook function, force_sig_fault() will be called with interrupts disabled. This can be triggered by user programs executing the bkpt instruction, with kernel config CONFIG_PERF_EVENTS=n. Enable interrupts in do_DataAbort()/do_PrefetchAbort() when unhandled user faults are triggered to fix the issue.
CVE-2026-90303
2026년 9월 18일In the Linux kernel, the following vulnerability has been resolved: ARM: 9485/1: mm: acquire mmap write lock around show_pte() for user faults When CONFIG_DEBUG_USER=y, and cmdline "user_debug=31" is set, a user fault may trigger show_pte() without any lock. If another thread in the same process concurrently calls munmap(), the page table pages may be freed while show_pte() is still traversing them, causing a use-after-free in show_pte(). If CONFIG_ARM_LPAE=y, this may cause a kernel panic if the pages table of PMD are freed when show_pte() is running. Acquire mmap_write_lock() around show_pte() for user faults to fix the contention. For user faults, additionally restrict that show_pte() is called only when the addr is a user-space address (addr < TASK_SIZE). This is because the lock of tsk->mm only protects the virtual memory of user address space, furthermore, dumping the page tables of a kernel-space address for user faults is unnecessary and may have security implications. Keep everything unchanged for kernel faults, because the kernel is already in the "oops" state, acquiring a lock may risk a deadlock.
CVE-2026-90302
2026년 9월 18일In the Linux kernel, the following vulnerability has been resolved: ocfs2: synchronize heartbeat callbacks with o2net teardown Patch series "ocfs2: harden heartbeat teardown races". This series fixes two OCFS2 heartbeat/o2net teardown races found by KASAN. This patch (of 2): Heartbeat callbacks stay registered while configfs local-node teardown enters o2net_stop_listening(). A node-down event can still run through o2net_disconnect_node() and o2net_set_nn_state() while teardown is destroying o2net_wq, so the later queue/flush operations can hit a dead workqueue. KASAN has caught this as a slab-use-after-free in __queue_work() with the call chain: KASAN slab-use-after-free in __queue_work+0x56/0xa90 Read of size 4 Call trace: dump_stack_lvl+0x66/0xa0 print_report+0xce/0x630 __queue_work+0x56/0xa90 srso_alias_return_thunk+0x5/0xfbef5 __virt_addr_valid+0x19f/0x330 kasan_report+0xe0/0x110 __queue_delayed_work+0x58/0x1e0 queue_delayed_work_on+0xb4/0xc0 o2net_set_nn_state+0x467/0x840 o2net_disconnect_node+0x7b/0xe0 o2net_hb_node_down_cb+0x54/0x60 o2hb_run_event_list+0x236/0x2d0 o2hb_check_slot+0xad4/0xbc0 lock_release+0xc8/0x290 o2hb_check_slot+0x9ea/0xbc0 trace_hardirqs_on+0x18/0x130 o2hb_do_disk_heartbeat+0x646/0xb30 (fs/ocfs2/cluster/heartbeat.c:1079) __lock_acquire+0x466/0x2260 lockdep_hardirqs_on_prepare+0xea/0x1a0 ktime_get_with_offset+0xe9/0x230 o2hb_thread+0x14e/0x770 kthread+0x1ad/0x1f0 ret_from_fork+0x3c9/0x540 __switch_to+0x2e9/0x730 ret_from_fork_asm+0x1a/0x30 Allocated by task stack: kasan_save_stack+0x33/0x60 kasan_save_track+0x14/0x30 __kasan_kmalloc+0xaa/0xb0 __kmalloc_noprof+0x292/0x760 __alloc_workqueue+0x736/0xc60 alloc_workqueue_noprof+0xb1/0x110 o2net_start_listening+0xe5/0x430 o2nm_node_local_store+0x184/0x310 configfs_write_iter+0x18a/0x210 vfs_write+0x469/0x810 ksys_write+0xd2/0x170 do_syscall_64+0x115/0x6a0 (arch/x86/entry/syscall_64.c:87) entry_SYSCALL_64_after_hwframe+0x77/0x7f Freed by task stack: kasan_save_stack+0x33/0x60 kasan_save_track+0x14/0x30 kasan_save_free_info+0x3b/0x60 __kasan_slab_free+0x5f/0x80 kfree+0x313/0x590 rcu_core+0x4f4/0x1320 handle_softirqs+0x156/0x660 queue_delayed_work_on o2net_set_nn_state o2net_disconnect_node o2net_hb_node_down_cb o2hb_run_event_list Keep heartbeat callbacks registered so quorum state still tracks node state, but stop them from driving o2net reconnect/disconnect work once local teardown starts. Mark the transport offline before destroying o2net_wq, wait for any in-flight heartbeat callback to finish, and delay bring-up replay until the new local node is published through o2nm_this_node(). The replay also has to stay serialized with heartbeat callback delivery. Otherwise a live-node snapshot can be copied, a real hb_down callback can install -ENOTCONN for a peer, and the stale replay can call o2net_hb_node_up() for that same peer and queue reconnect work even though heartbeat is already down. The buggy scenario involves two paths, with each column showing the order within that path: local-node teardown: heartbeat node-down callback: 1. configfs local-off enters 1. o2hb_run_event_list() invokes o2net_stop_listening(). o2net_hb_node_down_cb(). 2. teardown heads for 2. the callback reaches destroy_workqueue(o2net_wq). o2net_disconnect_node() and o2net_set_nn_state(). 3. teardown destroys and NULLs 3. the callback flushes or queues o2net_wq. work through o2net_wq.
CVE-2026-90301
2026년 9월 18일Linux 커널에서 다음 취약점이 해결되었다: ocfs2: o2hb: quiesce negotiate 핸들러 및 타임아웃 작업 Heartbeat 영역은 make_item()이 configfs 영역을 생성하자마자 NEGO_TIMEOUT 및 NEGO_APPROVE o2net 핸들러에 대한 개인 데이터로 struct o2hb_region을 게시한다. 승인 핸들러는 o2hb_arm_timeout()을 호출할 수 있으므로 피어가 dev_store()가 heartbeat 런타임을 구축하기 전에 또는 종료가 해당 런타임을 다시 종료하기 시작한 후에 영역 타임아웃 작업을 건드릴 수 있다. 최종 configfs put은 마지막 진행 중인 o2net 콜백이 핸들러 참조를 떨어뜨릴 때까지 reg를 살아있게 유지해야 한다. o2net_unregister_handler_list()는 향후 핸들러 조회를 차단하지만 이미 o2net_handler_get()을 통과한 sc_rx_work를 기다리지 않는다. 이 드레인은 로컬 리스너 종료도 포함해야 하며, 여기서 o2net 정렬 작업큐는 이미 destroy_workqueue() 내부에 있을 수 있다. 양방향으로 수명 규칙을 수정한다. reg를 o2net 핸들러 테이블을 통해 게시하기 전에 영역 지연 작업을 초기화하고, 새 영역 또는 중지 중인 영역을 hr_stopping으로 비활성화하며, 실패 시작 및 종료 경로에서 heartbeat 스레드가 없어도 두 지연 작업을 모두 조용히 중지한다. 그런 다음 핸들러를 등록 해제하고 핸들러가 볼 수 있는 영역 상태를 종료하기 전에 활성 또는 파괴 중인 o2net 정렬 작업큐가 해제를 기다리도록 하여 reg를 해제한다. 버그 시나리오는 두 경로를 포함하며 각 열은 해당 경로 내 순서를 보여준다: 영역 수명 주기: 늦은 negotiate 콜백: 1. make_item()이 dev_store()가 실행 가능한 heartbeat 컨텍스트를 구축하기 전에 영역 핸들러를 등록한다. 2. 실패한 시작 또는 rmdir이 heartbeat 스레드를 중지하고, 기존 작업을 조용히 중지하며, 최종 configfs 참조를 떨어뜨린다. 3. region_release()는 reg를 해제하기 전에 핸들러가 볼 수 있는 o2net rx 작업을 드레인해야 한다. 1. o2net_process_message()가 reg에 대한 heartbeat 핸들러를 얻는다. 2. 콜백은 조회 잠금이 해제된 후 실행되어 reg를 역참조한다. 3. 승인 또는 타임아웃 경로가 reg의 지연 작업을 큐에 넣으려 하거나 핸들러 등록 해제 후 콜백 본문과 경쟁한다. 4. 콜백 또는 지연 작업은 수명 주기 코드가 영역을 비활성화하고 활성 또는 파괴 중인 o2net 작업큐를 드레인하지 않으면 reg보다 오래 살아남을 수 있다. 검증은 다음 커널 보고서를 재현했다: KASAN slab-use-after-free in __run_timers+0x22c/0x5b0 크기 8의 쓰기 호출 추적: dump_stack_lvl+0x66/0xa0 print_report+0xce/0x630 __run_timers+0x22c/0x5b0 kasan_report+0xe0/0x110 _raw_spin_unlock_irqrestore+0x27/0x60 try_to_wake_up+0x191/0xf70 timer_expire_remote+0xae/0xf0 run_timer_softirq+0x19b/0x1a0 handle_softirqs+0x156/0x660 __irq_exit_rcu+0xc4/0x160 irq_exit_rcu+0xe/0x20 sysvec_apic_timer_interrupt+0x6c/0x80 asm_sysvec_apic_timer_interrupt+0x1a/0x20 작업 스택에 의해 할당됨: kasan_save_stack+0x33/0x60 kasan_save_track+0x14/0x30 __kasan_kmalloc+0xaa/0xb0 o2hb_heartbeat_group_make_item+0x3c/0x600
CVE-2026-90300
2026년 9월 18일In the Linux kernel, the following vulnerability has been resolved: bpf: Clear buf on error in __bpf_get_task_stack Both bpf_get_task_stack and bpf_get_task_stack_sleepable helpers that use __bpf_get_task_stack have buf defined as ARG_PTR_TO_UNINIT_MEM argument and we should initialize the buf on every return path. Adding missing buf memset for __bpf_get_task_stack fail paths. This provides deterministic buffer contents, which is useful when the buffer is used directly as a map key.
CVE-2026-90299
2026년 9월 18일In the Linux kernel, the following vulnerability has been resolved: bpf: Fix sleepable check for tracing/lsm prog When CONFIG_FUNCTION_ERROR_INJECTION is disabled, a sleepable tracing prog is allowed to attach to '__x64_'-alike prefix symbols. It is because the verifier does not verify whether the symbol is a kernel function or a bpf prog. That said, a sleepable tracing prog is allowed to attach to a bpf prog target whose name has '__x64_'-alike prefix. For example, a sleepable fentry prog attaches to a '__x64_sys_nop' XDP prog, and copies buffer from a user pointer with bpf_copy_from_user() helper. After attaching the XDP prog to lo interface, the kernel BUG could be triggered by 'ping -c 1 -W 1 127.0.0.1': [ 3.460756] BUG: sleeping function called from invalid context at kernel/bpf/trampoline.c:1324 Fix it by disallowing sleepable prog always when its target btf is not a kernel's btf.