총 16,343건
CVE-2026-89534
2026년 9월 12일Linux 커널에서 다음 취약점이 해결되었다: svcrdma: ADDR_CHANGE 교체가 실패할 때 sc_cm_id를 초기화함 svc_rdma_listen_handler()가 RDMA_CM_EVENT_ADDR_CHANGE를 처리할 때, 교체 리스너 cm_id를 생성하고 1을 반환하여 CM 코어에 이전 것을 파괴하도록 알린다. 교체 할당이 실패하면 sc_cm_id는 여전히 CM 코어가 파괴하려는 이전 cm_id를 가리킨다. sc_cm_id의 이후 역참조는 svc_rdma_detach()의 rdma_disconnect() 호출과 같이 해제 후 사용(use-after-free)이다. 실패 경로에서 sc_cm_id를 NULL로 설정하고 svc_rdma_detach()의 rdma_disconnect() 호출을 NULL에 대해 보호하여 서버가 종료될 때 리스너를 안전하게 해체할 수 있도록 한다.
CVE-2026-89533
2026년 9월 12일Linux 커널에서 다음 취약점이 해결되었다: svcrdma: read_chunk_range의 오프셋 산술 연산 수정 svc_rdma_read_chunk_range() 함수는 Read 청크의 세그먼트 리스트를 순회하여 Position-Zero 또는 Call 청크에 대해 바이트 오프셋에서 시작하여 길이만큼의 서브 범위를 생성한다. 세그먼트별 루프에서 두 가지 산술 결함이 발생하여 잘못된 DMA 길이와 u32 언더플로우가 발생한다: pcl_for_each_segment(segment, chunk) { if (offset > segment->rs_length) { offset -= segment->rs_length; continue; } dummy.rs_handle = segment->rs_handle; dummy.rs_length = min_t(u32, length, segment->rs_length) - offset; dummy.rs_offset = segment->rs_offset + offset; 첫째, 건너뛰기 조건에서 '>'를 '>='로 사용해야 한다. 오프셋이 세그먼트의 전체 rs_length와 같을 때, 세그먼트는 완전히 소비되어 건너뛰어야 하지만, 루프가 본문으로 넘어간다. 결과적으로 dummy.rs_length는 min_t(u32, length, rs_length) - rs_length가 되어 length가 rs_length보다 작으면 u32가 거의 UINT_MAX에 가까운 값으로 언더플로우하거나, 그렇지 않으면 0이 된다. 둘째, 길이 계산식에서 '- offset'이 min_t() 결과에서 빼지 않고 segment->rs_length에서 빼져야 한다. 오프셋이 0보다 클 때 세그먼트의 잔여 길이는 rs_length - offset이므로, 잔여 길이에 캡을 적용해야 한다. 현재 괄호 위치에서는 length가 rs_length - offset보다 작으면 세그먼트별 길이가 length - offset이 되어 length가 아닌 값이 되며, 재구성된 청크에서 오프셋 바이트가 조용히 누락된다. 위 경계 조건과 결합하면 u32 언더플로우 경로가 활성화되어 svc_rdma_build_read_segment()에 큰 nr_bvec가 전달되고, svc_rdma_get_rw_ctxt()에서 수 메가바이트 크기의 kmalloc_array_node()가 발생한다. 또한 svc_rdma_read_call_chunk()는 마지막 Read 청크가 Call 청크 끝에 정확히 맞닿을 때 length == 0인 상태로 이 함수를 호출할 수 있다. 수정된 >= 조건에서는 모든 세그먼트가 건너뛰어지고 함수는 초기 -EINVAL을 반환하여 유효한 요청을 거부한다. length가 0일 때 즉시 성공을 반환한다. 또한 요청된 범위가 모두 소비되면 루프를 종료하여 svc_rdma_build_read_segment()에 길이 0 세그먼트가 전달되는 것을 방지한다. '>='를 사용하여 완전히 소비된 세그먼트를 건너뛰고, '- offset'을 min_t() 내부로 이동하여 세그먼트 잔여 길이에 캡을 적용하며, 길이 0 요청에 대해 성공을 반환하고, 요청된 범위가 소비되면 반복을 중단하도록 수정하였다.
CVE-2026-89532
2026년 9월 12일Linux 커널에서 다음 취약점이 해결되었다: svcrdma: 빈 청크에 대한 pcl_for_each_segment 수정 파싱된 청크 목록에 ch_segcount가 0인 청크가 포함된 경우, pcl_for_each_segment는 포함 상한을 &chunk->ch_segments[ch_segcount - 1]로 계산한다. ch_segcount는 u32이므로, 뺄셈이 0xFFFFFFFF로 래핑되어 상한이 ch_segments 플렉스 배열을 훨씬 넘어선 위치에 놓인다. 루프 본문은 이후 sizeof(struct svc_rdma_segment) 간격으로 관련 없는 메모리를 탐색하다가 오류가 발생한다. 제로 세그먼트 카운트 청크는 네트워크에서 도달 가능하다: xdr_check_write_chunk()는 segcount 값이 rc_maxpages보다 큰 경우에만 거부하며, pcl_alloc_write()는 세그먼트 채우기 루프가 실행되기 전에 새로 할당된 청크를 rc_write_pcl/rc_reply_pcl에 연결하므로, 제로 세그먼트를 광고하는 Write 또는 Reply 청크는 목록에 ch_segcount == 0을 남긴다. 전송이 Send-With-Invalidate를 협상한 경우, svc_rdma_get_inv_rkey()는 pcl_for_each_segment로 네 개의 PCL을 모두 반복하며 각 반복에서 segment->rs_handle을 역참조하여, 언더플로우가 범위 밖 읽기 및 일반 보호 오류로 이어진다. xdr_check_write_list / xdr_check_reply_chunk pcl_alloc_write() chunk = pcl_alloc_chunk(...) /* ch_segcount = 0 */ list_add_tail(&chunk->ch_list, &pcl->cl_chunks) /* 와이어 segcount 0에 대해 채우기 루프는 0회 반복 */ svc_rdma_get_inv_rkey() pcl_for_each_chunk(rc_write_pcl) pcl_for_each_segment(segment, chunk) pos <= &ch_segments[0u - 1u] /* 0xFFFFFFFF */ segment->rs_handle /* 범위 밖 읽기 -> 일반 보호 오류 */ 매크로를 ch_segcount를 직접 사용하는 반개방 상한으로 변경하여 수정하였다. ch_segcount == 0인 경우 루프 시작과 끝이 같아 본문이 건너뛰어지고, ch_segcount > 0인 경우 반복 범위는 변경되지 않는다. net/sunrpc/xprtrdma/svc_rdma_recvfrom.c와 net/sunrpc/xprtrdma/svc_rdma_rw.c의 기존 6개 호출 지점 모두 새 상한에서 올바르게 작동하므로 호출자 변경은 필요 없다.
CVE-2026-89531
2026년 9월 12일In the Linux kernel, the following vulnerability has been resolved: svcrdma: Reject connection when transport allocation fails handle_connect_req() returns without action when svc_rdma_create_xprt() fails to allocate the new transport. The CM core returns 0 for CONNECT_REQUEST events, so it does not destroy the new rdma_cm_id. Each allocation failure under memory pressure leaks one rdma_cm_id, and a remote peer driving connection attempts can amplify this. Reject the connection by returning a non-zero status from the CM event handler, which tells the CM core to destroy the orphaned cm_id.
CVE-2026-89530
2026년 9월 12일Linux 커널에서 다음 취약점이 해결되었다: svcrdma: 풀업 버퍼를 오버플로하는 인라인 응답 거부 RPC-over-RDMA 클라이언트는 Write 리스트나 Reply 청크를 제공하지 않고도 NFS READ 페이로드와 같은 응답을 요청할 수 있다. 이러한 응답이 장치의 Send Queue가 지원하는 것보다 더 많은 scatter/gather 항목이 필요할 때, svc_rdma_pull_up_needed()는 풀업을 선택하고 svc_rdma_pull_up_reply_msg()는 전체 응답을 sctxt->sc_xprt_buf에 선형화한다. 이 버퍼는 sc_max_req_size 바이트만큼 크기인데, 이 경로의 응답은 클라이언트 요청에 의해서만 제한되므로 svc_rdma_xb_linearize()가 버퍼 끝을 넘어 복사하여 인접한 슬랩 메모리를 손상시킨다. 그 후 초과 크기의 길이가 sc_sges[0].length에 저장되고 게시되어 장치가 매핑된 영역을 넘어 읽게 된다. SGE 고갈 분기는 버퍼를 초과할 수 있는 유일한 풀업 경로이다: 임계값 분기는 RPCRDMA_PULLUP_THRESH보다 작은 응답만 풀업하며, 장치의 SGE 예산에 맞는 응답은 선형화 없이 직접 전송된다. svc_rdma_pull_up_needed()가 풀업하려는 응답이 sc_max_req_size에 맞지 않을 경우 -E2BIG을 보고하도록 하여 RFC 8166 섹션 4.5.3에 따라 연결을 끊지 않고 ERR_CHUNK로 요청을 실패 처리한다. 도우미 함수는 더 이상 단순한 예/아니오 질문에 답하지 않는다: 이제 풀업, 풀업 없음, 또는 선형화하기에 너무 큰 응답에 대해 -E2BIG을 보고한다. svc_rdma_pull_up_needed()의 이름을 svc_rdma_check_pull_up()으로 변경하여 더 이상 불리언 술어를 의미하지 않도록 한다.
CVE-2026-89529
2026년 9월 12일In the Linux kernel, the following vulnerability has been resolved: svcrdma: Reject oversized Read segments at decode time The RPC/RDMA Read list decoder stores wire-supplied segment lengths without validation. xdr_count_read_segments() checks 4-byte alignment for non-zero position values but does not cap the segment length. An oversized rs_length reaches svc_rdma_build_read_segment(), which derives nr_bvec from it and can drive a large dynamic bvec allocation before verifying that enough rq_pages remain. If the post-allocation page-overrun guard fires, the freshly acquired rw context is not returned, leaking the resource. Reject any segment whose length exceeds the receive context's page budget during Read list decoding, consistent with how xdr_check_write_chunk() bounds Write segment counts against rc_maxpages. Also return the rw context on the existing post-allocation overrun path in svc_rdma_build_read_segment(), keeping that defensive guard balanced.
CVE-2026-89528
2026년 9월 12일Linux 커널에서 다음 취약점이 해결되었다: svcrdma: 페이지 예산을 초과하는 Read 리스트 거부 개별 Read 세그먼트 길이는 디코드 시점에 검증되지만, 요청자가 누적 길이가 rq_pages 배열 예산을 초과하는 여러 세그먼트를 보내는 것을 막지 못한다. 한 세그먼트가 페이지 배열을 정확히 채우면, svc_rdma_build_read_segment()의 런타임 가드가 len이 0에 도달하여 우회된다. 그 후의 세그먼트는 rq_pages[rq_maxpages]의 NULL 센티넬 슬롯에 접근하여 DMA 매핑 중 널 포인터 역참조가 발생한다. 모든 Read 세그먼트의 페이지를 누적하여 총합이 페이지 예산을 초과할 경우 디코드 시점에 메시지를 거부한다.
CVE-2026-89527
2026년 9월 12일In the Linux kernel, the following vulnerability has been resolved: svcrdma: Use svc_xprt_put to free listener on create failure svc_rdma_create() calls kfree(cma_xprt) when svc_rdma_create_listen_id() fails. svc_xprt_init() has already acquired a net namespace reference via get_net_track(); kfree bypasses svc_xprt_free() which releases it. Replace the kfree() with svc_xprt_put() so the kref_init birth reference drops to zero and svc_xprt_free() dispatches svc_rdma_free() to clean up properly. sc_cm_id is still NULL at that point; the preceding patch added the necessary NULL guard in svc_rdma_free(). svc_xprt_free() also drops the module reference via module_put(), but the caller _svc_xprt_create() does the same on xpo_create failure, double-putting the single try_module_get() it acquired. Take a compensating __module_get() before the svc_xprt_put() to keep the count balanced, matching the convention in svc_rdma_accept()'s error path.
CVE-2026-89526
2026년 9월 12일Linux 커널에서 다음 취약점이 해결되었다: svcrdma: 재구성 전에 Read 청크 위치 검증 RPC/RDMA Read 청크 위치 필드는 원격 클라이언트가 제공하며 파싱된 청크 목록에 그대로 저장된다. xdr_count_read_segments()는 4바이트 정렬만 검사하며 위치를 수신된 인라인 본문 길이와 비교하지 않는다. 단일 청크 경로에서 svc_rdma_read_complete_one()은 ch_position에서 헤드와 테일 kvec를 분할한다. 인라인 본문을 넘는 위치는 테일 길이를 언더플로우시켜 인접한 슬랩 메모리를 상위 XDR 디코더에 노출시킨다. 다중 청크 경로에서 svc_rdma_read_multiple_chunks()는 ch_position에서 청크 간 간격 길이를 부호 없는 뺄셈으로 계산한다. 겹치는 Read 청크는 이 뺄셈을 언더플로우시킨다. 인라인 본문을 넘는 최종 위치도 후행 간격 길이를 언더플로우시킨다. svc_rdma_copy_inline_range()는 이후 수신 버퍼를 넘어 요청 페이지로 복사하며, 이 페이지는 Reply 채널을 통해 클라이언트에 반환된다. svc_rdma_copy_inline_range()에서 디코딩된 rc_saved_arg의 인라인 RPC 본문에 대해 인라인 범위 복사를 제한한다. 본문을 넘는 단일 Read 청크를 거부하고, 누적된 읽기 바이트가 다음 청크 위치를 초과하는 다중 청크 목록을 거부한다. 호출-청크 교차 경로에서도 동일한 위치 및 중첩 검사를 적용한다.
CVE-2026-89525
2026년 9월 12일In the Linux kernel, the following vulnerability has been resolved: udf: reject VAT indexes equal to the entry count UDF 1.50 virtual partition mapping uses the VAT as an array of physical block mappings. s_num_entries stores the number of entries in that array, not the highest valid index. The valid VAT indexes are therefore below s_num_entries. udf_get_pblock_virt15() currently rejects only indexes greater than s_num_entries. A crafted image can request index s_num_entries, pass the bounds check, and make the kernel read one entry past the allocated VAT table. Change the check to reject block >= s_num_entries, so the count is handled as an exclusive upper bound. A crafted UDF image reproduced this on origin/master commit 0e35b9b6ec0ffcc5e23cbdec09f5c622ad532b53 with a KASAN slab-out-of-bounds report in udf_get_pblock_virt15(). Trail of Bits has a reproducer that triggers kernel panic demonstrating the bug, and can share it if needed.
CVE-2026-89524
2026년 9월 12일리눅스 커널에서 다음 취약점이 해결되었다: wifi: ath6kl: IE 오프셋을 빼기 전에 연결 요청/응답 길이를 제한함 ath6kl_cfg80211_connect_event()는 assoc_req_len (-= 4)과 assoc_resp_len (-= 6), 두 u8 값에서 고정 IE 오프셋을 빼는데 하한이 없다. 최근에 ath6kl_wmi_connect_event_rx()에 추가된 총합 검사에서는 선언된 길이를 위에서 제한하지만(합이 수신된 이벤트에 맞아야 함), 고정 오프셋보다 짧은 연결 요청/응답은 여기서 언더플로우가 발생한다: u8 값이 약 250으로 래핑되고, cfg80211_connect_result() / cfg80211_roamed()는 그 래핑된 값을 IE 길이로 처리하여 작은 assoc_info 버퍼에서 그만큼 바이트를 nl80211을 통해 사용자 공간으로 복사하여 인접한 슬랩 메모리를 노출시킨다. 빼기 전에 두 길이 모두 오프셋으로 제한한다. 0sec(https://0sec.ai)이 자동 소스 분석을 사용해 발견했으며, 누락된 하한은 소스에서 명확하다. 컴파일 테스트 완료.
CVE-2026-89523
2026년 9월 12일Linux 커널에서 다음 취약점이 해결되었다: wifi: mt76: mt7925: 대기 중인 mlo_pm_work 취소 장치가 해당 시간 내에 리셋, 일시 중지 또는 등록 해제되면, 대기 중인 작업이 여전히 실행되어 이미 해제되었을 수 있는 vif/bss 데이터에 접근하거나 펌웨어가 사용 불가능한 상태에서 MCU 명령을 보낼 수 있다. 모든 관련 종료 및 일시 중지 경로에 cancel_delayed_work_sync(&dev->mlo_pm_work)를 추가하였다: - mt7925_mac_reset_work() (칩 리셋 복구) - mt7925e_unregister_device() (PCIe 바인드 해제) - mt7925_pci_suspend() (PCIe 버스 일시 중지) - mt7925_suspend() (mac80211 일시 중지) - mt7925u_suspend() (USB 버스 / 런타임 일시 중지) 이로써 장치 상태가 무효화되기 전에 작업이 중지되도록 보장한다.
CVE-2026-89522
2026년 9월 12일Linux 커널에서 다음 취약점이 해결되었다: media: staging/ipu7: 프로브 오류 경로에서 비동기 노티파이어 UAF 수정 isys_register_devices()는 isys_notifier_init()을 통해 V4L2 비동기 노티파이어를 등록한다. 이후 isys_fw_log_init()과 같은 프로브 단계가 실패하면 isys_probe()는 out_cleanup 레이블로 점프하는데, 이 레이블은 isys_unregister_devices()만 호출한다. 이 함수는 비디오 장치, 서브장치, V4L2 장치 및 미디어 장치를 해체하지만 비동기 노티파이어를 등록 해제하거나 정리하지 않는다. 그 결과 노티파이어는 전역 notifier_list에 계속 연결된 상태로 남아 있고, 감싸고 있는 struct ipu7_isys가 devres에 의해 해제되어 리스트 손상과 리스트가 다시 탐색될 때 발생하는 해제 후 사용(use-after-free) 문제가 발생한다. 제거 경로는 이미 isys_unregister_devices() 전에 isys_notifier_cleanup()을 호출하여 올바르게 처리하고 있다. 프로브 오류 경로에서도 이를 반영하여 장치가 해체되기 전에 노티파이어가 등록 해제되고 정리되도록 한다.
CVE-2026-89521
2026년 9월 12일Linux 커널에서 다음 취약점이 해결되었다: sched/core: pick_task()가 rq 락을 해제하는 경우 처리 코어 스케줄링의 pick_next_task()는 ->pick_task() 구현이 rq 락을 해제할 수 있을 때 문제가 발생한다. 진입 시 파생된 선택 상태는 락이 지속적으로 유지되는 동안에만 유효하다. 락을 해제할 수 있는 선택이 발생하면, 중첩된 선택이 이를 모두 무효화할 수 있다: 단일 CPU 빠른 경로는 코어가 락 해제 중에 쿠키 처리된 동안 쿠키 처리되지 않은 선택을 커밋할 수 있으며, 중첩된 선택에 의해 강제 유휴(forceidle)가 커밋되면 재시작된 패스의 계산이 왜곡된다. 락을 해제한 후 pick이 RETRY_TASK를 반환하면 전체 선택을 재시작하도록 수정하였다: 상태 파생 위에 단일 재시작 지점이 각 루프별 재시작 레이블을 대체하여, 재시도는 중첩 선택과 계산에 의해 커밋된 상태를 가져오고 강제 유휴를 새 선택처럼 재설정한다. need_sync와 fi_before는 재시도 간에 유지된다. 락 해제 후에도 자신의 rq와 코어 rq 시계가 여전히 업데이트되었는지 프로그램 순서로 판단할 방법이 없으므로 시계 유효성을 다시 파생할 수 없다. 재시작 시 core_clock_updated를 지워서 형제 루프가 코어 rq를 다시 업데이트하게 하고, 무효화된 경우 자신의 rq 시계도 업데이트한다.
CVE-2026-89520
2026년 9월 12일Linux 커널에서 다음 취약점이 해결되었다: sched/core: 코어 스케줄링 플립이 진행 중인 선택을 기다리도록 수정 코어 스케줄링의 pick_next_task()는 공유 코어 전체 락을 한 번 획득하여 모든 형제 rq에 대해 동작한다. rq 락을 해제하는 ->pick_task()는 모든 형제 __lock을 잠시 해제하여 __sched_core_flip(false)가 선택 중간에 완료되고 그 아래에서 rq_lockp()를 다시 바인딩하게 한다. 선택은 분할된 락에서 재개되어 더 이상 보호하지 않는 형제 상태를 건드리며, __schedule()은 절대 획득하지 않은 락을 해제하고 획득한 락을 누수시킨다. 리더의 rq->core_pick_in_flight에서 진행 중인 코어 전체 선택을 계산하고 __sched_core_flip()이 이 카운트가 소진될 때까지 기다리도록 한다. 카운트는 공유 락 하에서만 변경되며, 플립은 샘플링하는 동안 락을 보유하므로 다른 순서 지정은 필요 없다. 선택이 겹치는 동안 대기는 반복될 수 있으나 플립은 샘플 간에 백오프하며 플립은 드문 쿠키 수명 이벤트이다. sched_core_cpu_deactivate()는 카운트를 새 리더로 이동시키는데, 만약 이전에 남겨진 오래된 복사본이 있다면 해당 CPU가 나중에 자체 리더로 복귀할 경우 영구적으로 편향될 것이다.
CVE-2026-89519
2026년 9월 12일In the Linux kernel, the following vulnerability has been resolved: sched_ext: Replace SCX_RQ_BAL_KEEP with a dispatch verdict return SCX_RQ_BAL_KEEP tells the pick to keep running the previous task, a leftover from when balancing and picking were separate operations. An rq-level flag only works while dispatches and picks pair up one to one, which core scheduling breaks: selections interleave through dispatch's lock drops and a pick can consume a stale flag, keeping a task that has since been dequeued. Fixing core scheduling support requires the decision to travel with the dispatch that made it. Make scx_dispatch_sched() and balance_one() return an explicit verdict instead and drop the flag's plumbing from the tools autogen enum headers. Also factor the pick-side invocation, its follow-up queueing and the post-dispatch checks out of do_pick_task_scx() into dispatch_pick(). No functional changes intended. v2: Drop the SCX_RQ_BAL_KEEP plumbing from the tools autogen enum headers as well (Andrea).
CVE-2026-89518
2026년 9월 12일In the Linux kernel, the following vulnerability has been resolved: sched_ext: Fix this_rq() assumptions in dispatch kfuncs Under core scheduling, dispatch runs from within the core-wide pick and can target a sibling rq, so ops.dispatch() may execute on a CPU different from the dispatched rq's. Several kfunc paths assumed the two always coincide: - scx_dsq_move() decided whether an rq lock is held by testing this_rq()'s rq flags and lock-danced accordingly. A dispatch for a sibling took the unlocked-context branch and acquired the source rq lock on top of the already held dispatched rq lock which could deadlock. - scx_bpf_sub_dispatch() dispatched this_rq() with its stashed sub_dispatch_prev, which is NULL when dispatching for a sibling. - finish_dispatch(), scx_bpf_dsq_reenq() and scx_bpf_dsq_nr_queued() resolved SCX_DSQ_LOCAL to this CPU's local DSQ rather than the dispatched rq's. The latter two are callable from other rq-locked operations too, where SCX_DSQ_LOCAL now likewise resolves to the op's rq. This changes behavior also without core scheduling, e.g. for ops.enqueue() running a remote wakeup on the waking CPU, and is intended: which CPU happens to execute an operation is incidental, the op's rq is what it is operating on, and the resolution now matches the insert side where SCX_DSQ_LOCAL dispatches land on the task's rq. Use the rq tracked by scx_locked_rq(), which is set to the dispatched rq around ops invocations and NULL in unlocked contexts.
CVE-2026-89517
2026년 9월 12일In the Linux kernel, the following vulnerability has been resolved: sched_ext: Fix rq->core_pick corruption under core scheduling Core scheduling's pick_next_task() picks what to run on every SMT sibling of the core in a single pass under the shared core-wide rq lock. The selection state is consistent only while the lock is held continuously, so ->pick_task() originally could not release it. However, since 4c95380701f5 ("sched/ext: Fold balance_scx() into pick_task_scx()"), sched_ext runs dispatch from inside the pick and dispatching can drop the rq lock. To support this, pick_next_task() has been updated to restart the whole selection when a pick returns RETRY_TASK after releasing the lock. When selections on the same core interleave through the dropped lock, they corrupt each other's state: one clears the other's rq->core_pick leading to a NULL deref, or invalidates its keep-the-previous-task decision leaving a dequeued task running, which deadlocks the next wakeup and matches the reported hard hangs. A cookied ping-pong load on an SMT machine makes the interleavings frequent and kills the kernel within seconds. Fix it by making the pick return RETRY_TASK whenever dispatch released the rq lock, so that a selection only ever commits picks made under a continuously held lock. The previous patch's rq->scx.lock_drop_seq counts the releases. A dispatch that touched nothing never releases the lock and its verdict, including "nothing to run", stands: retries are bounded, each following a dispatch that actually did something, and an idle CPU does not loop. If another dispatch is already in flight on the rq, skip dispatching and pick from what is already queued locally - the in-flight dispatch has released the lock, so its own selection will retry and re-pick this rq, while returning RETRY_TASK here would only spin on the lock that dispatch needs to finish. Balance callbacks must run in the context that queued them, so they can only be queued on the CPU's own rq. When dispatching for another rq, run the deferred work directly instead - that rq may consume all its picks through the core-sched fast path and never queue the callback itself. The put_prev_task_scx() warning about a runnable task being left behind assumed that dispatch ran as part of the very pick that is switching away. That now only holds on the non-core path, so gate it and drop the cookie-match test, which is always true without core scheduling, from its condition.
CVE-2026-89516
2026년 9월 12일In the Linux kernel, the following vulnerability has been resolved: sched_ext: Don't BUG_ON a destroyed DSQ in process_deferred_reenq_users scx_bpf_dsq_reenq() queues a deferred reenq (dru) that runs from run_deferred(), not ops.dispatch(). If the DSQ is destroyed before the dru runs, process_deferred_reenq_users() sees dsq->id == SCX_DSQ_INVALID and hits the BUG_ON. destroy_dsq() doesn't flush pending drus, so just skip. tj: Read dsq->id once with READ_ONCE(). Reading it separately in the INVALID check and the BUG_ON would leave a window where destroy_dsq() can invalidate the id between the two reads and still trigger the BUG_ON.
CVE-2026-89515
2026년 9월 12일In the Linux kernel, the following vulnerability has been resolved: scsi: core: Fill in DMA padding bytes in scsi_alloc_sgtables() During fuzz testing, the following issue was discovered: BUG: KMSAN: uninit-value in __dma_map_sg_attrs+0x217/0x310 __dma_map_sg_attrs+0x217/0x310 dma_map_sg_attrs+0x4a/0x70 ata_qc_issue+0x9f8/0x1420 __ata_scsi_queuecmd+0x1657/0x1740 ata_scsi_queuecmd+0x79a/0x920 scsi_queue_rq+0x4472/0x4f40 blk_mq_dispatch_rq_list+0x1cca/0x3ee0 __blk_mq_sched_dispatch_requests+0x458/0x630 blk_mq_sched_dispatch_requests+0x15b/0x340 __blk_mq_run_hw_queue+0xe5/0x250 __blk_mq_delay_run_hw_queue+0x138/0x780 blk_mq_run_hw_queue+0x4bb/0x7e0 blk_mq_sched_insert_request+0x2a7/0x4c0 blk_execute_rq+0x497/0x8a0 sg_io+0xbe0/0xe20 scsi_ioctl+0x2b36/0x3c60 sr_block_ioctl+0x319/0x440 blkdev_ioctl+0x80f/0xd70 __se_sys_ioctl+0x219/0x420 __x64_sys_ioctl+0x93/0xe0 x64_sys_call+0x1d6c/0x3ad0 do_syscall_64+0x4c/0xa0 entry_SYSCALL_64_after_hwframe+0x6e/0xd8 Uninit was created at: __alloc_pages+0x5c0/0xc80 alloc_pages+0xe0e/0x1050 blk_rq_map_user_iov+0x2b77/0x6100 blk_rq_map_user_io+0x2fa/0x4d0 sg_io+0xad6/0xe20 scsi_ioctl+0x2b36/0x3c60 sr_block_ioctl+0x319/0x440 blkdev_ioctl+0x80f/0xd70 __se_sys_ioctl+0x219/0x420 __x64_sys_ioctl+0x93/0xe0 x64_sys_call+0x1d6c/0x3ad0 do_syscall_64+0x4c/0xa0 entry_SYSCALL_64_after_hwframe+0x6e/0xd8 Bytes 14-15 of 16 are uninitialized Memory access of size 16 starts at ffff88800cbdb000 When processing the last unaligned element of the scatterlist, it is supplemented with missing bytes in the amount of pad_len. These bytes remain uninitialized, which leads to a problem. Extend last_sg->length by pad_len first, then use sg_zero_buffer() to zero those pad_len bytes. sg_zero_buffer() uses sg_miter internally, which correctly handles sg entries spanning multiple pages and padding that crosses a page boundary. Found by Linux Verification Center (linuxtesting.org) with Syzkaller.