총 16,343건
CVE-2026-89594
2026년 9월 12일Linux 커널에서 다음 취약점이 해결되었다: hsi: omap_ssi_core: SSI 컨트롤러 장치에 대한 누락된 DMA 마스크 설정 수정 OMAP SSI 드라이버는 hsi_alloc_controller()를 통해 할당된 합성 HSI 컨트롤러 장치를 사용하며, 이는 일반 OF/플랫폼 장치 초기화 경로를 거치지 않는다. 그 결과, 내장된 struct device는 기본적으로 DMA 마스크가 초기화되어 있지 않다. 최근 DMA API 강화 변경 이후, dma_map_sg() 및 관련 헬퍼들은 유효한 dma_mask가 존재해야 하며, 그렇지 않으면 드라이버가 DMA 매핑 작업 시 충돌하거나 경고를 발생시킬 수 있다. 이 문제를 해결하기 위해 SSI 컨트롤러 장치에 대해 명시적으로 DMA 마스크를 초기화하고, 하드웨어 기능에 맞는 32비트 DMA 마스크를 설정한다.
CVE-2026-89593
2026년 9월 12일Linux 커널에서 다음 취약점이 해결되었다: hugetlb: mapcount가 0일 때만 언매핑 중 예약을 조정하도록 변경 df7a6d1f6405 이후로 __unmap_hugepage_range는 예약을 조정할 수 있다. 부모와 자식 모두에 매핑된 folio의 경우, 부모가 먼저 범위를 언매핑하면 예약 조정이 예약된 카운트의 언더플로를 초래한다. 자식이 범위를 언매핑하면 카운트가 복원된다. __unmap_hugepage_range()를 변경하여 예약을 조정하기 전에 mapcount를 확인하도록 하였다.
CVE-2026-89592
2026년 9월 12일In the Linux kernel, the following vulnerability has been resolved: accel/rocket: fix NULL dereference and integer overflow in rocket_job_push() rocket_job_push() allocates a temporary array to hold all input and output GEM object pointers: bos = kvmalloc_array(job->in_bo_count + job->out_bo_count, sizeof(void *), GFP_KERNEL); memcpy(bos, job->in_bos, job->in_bo_count * sizeof(void *)); memcpy(&bos[job->in_bo_count], job->out_bos, ...); Two bugs exist: 1. Missing NULL check: if kvmalloc_array() fails, bos is NULL and the subsequent memcpy() dereferences it, causing a kernel NULL pointer dereference. 2. Integer overflow: in_bo_count and out_bo_count are both u32, set directly from userspace-supplied in_bo_handle_count and out_bo_handle_count with no prior validation. Their sum is computed in u32 arithmetic and can wrap to a smaller value, causing the allocation count passed to kvmalloc_array() to be smaller than intended. Subsequent uses still operate on the original counts when copying and locking objects, which may lead to out-of-bounds accesses on the temporary array. Fix by using check_add_overflow() to detect count overflow before the allocation, and adding a NULL check on the allocation result.
CVE-2026-89591
2026년 9월 12일In the Linux kernel, the following vulnerability has been resolved: accel/rocket: initialize job domain before cleanup paths rocket_ioctl_submit_job() releases rjob through rocket_job_put() on allocation error paths. rocket_job_cleanup() unconditionally calls rocket_iommu_domain_put(job->domain), but job->domain is assigned only after task copying and BO lookups. A failure before that assignment can therefore clean up a job with a NULL domain pointer. Take the per-file domain reference before the first error path can release rjob. Also clear rjob->tasks after freeing it in rocket_copy_tasks(), so the common cleanup path cannot free the task array again after a task-copy error.
CVE-2026-89590
2026년 9월 12일In the Linux kernel, the following vulnerability has been resolved: accel/rocket: Fix error path handling in rocket_job_run() In rocket_job_run(), after taking an extra fence reference for job->done_fence via dma_fence_get(), the error paths have three bugs: - The dma_fence reference held by job->done_fence is never released, causing a reference leak. - pm_runtime_get_sync() increments the usage counter even on failure, but the error path does not decrement it, leaking the runtime PM reference and preventing the NPU from suspending. - A valid but unsignaled fence is returned to the DRM scheduler, which triggers WARN("Fence ... released with pending signals!") when the scheduler drops its reference. Fix by replacing pm_runtime_get_sync() with pm_runtime_resume_and_get() which auto-balances the usage counter on failure, releasing both fence references on error, and returning ERR_PTR(ret) instead of the unsignaled fence. [tomeu: Refactored error paths to use consolidated goto labels]
CVE-2026-89589
2026년 9월 12일In the Linux kernel, the following vulnerability has been resolved: acpi/apei/ghes: Use raw_spinlock_t for CXL CPER work locks The CXL CPER work registration and unregistration helpers acquire cxl_cper_work_lock and cxl_cper_prot_err_work_lock with a spinlock guard(), which leaves local interrupts enabled. The corresponding post paths (cxl_cper_post_event(), cxl_cper_post_prot_err()) execute in hard IRQ context (they are called from the GHES error notification path) and acquire the same locks with an irqsave guard(). If a CPU is holding one of these locks via a spinlock guard() when a GHES interrupt arrives on the same CPU, the IRQ handler spins on the held lock waiting for it to release, while the lock holder is preempted by the IRQ. The result is a deadlock. Convert both locks from spinlock_t to raw_spinlock_t and use guard() at all call sites. On PREEMPT_RT kernels spinlock_t is backed by rt_mutex and sleeping from hard IRQ context is not permitted; raw_spinlock_t is safe in both contexts. Add WARN_ONCE to both register functions to surface double-registration bugs at runtime. Restructure both unregister functions to clear the global work pointer under the lock before calling cancel_work_sync(), closing the window where a CPER interrupt could schedule work on a pointer about to be freed. Add kfifo_reset() after cancel_work_sync() so stale entries are not replayed on next module load. Both kfifos are single-consumer: only one work_struct is registered at a time, enforced by the WARN_ONCE guard in the register functions. kfifo_reset() is safe outside the lock because cancel_work_sync() has already quiesced the consumer, and no new consumer can register until the current module exit completes and a fresh module init runs. Remove the redundant cancel_work_sync() call from cxl_ras_exit() and cxl_pci_driver_exit(). The CPER unregister functions now quiesce the work internally.
CVE-2026-89588
2026년 9월 12일Linux 커널에서 다음 취약점이 해결되었다: ACPI: APEI: GHES: 헤더 이후 ARM 섹션 길이 계산 수정 ghes_handle_arm_hw_error() 함수에서, (err + 1)로 cper_sec_proc_arm 헤더를 건너뛴 후, 남은 길이를 sizeof(err) (포인터 크기)로 줄였으나, 이는 sizeof(*err) (구조체 크기)여야 했다. 이로 인해 cper_arm_err_info 레코드에 대해 남은 바이트 수가 과대평가되어 err_info_num이 error_data_length에 비해 충분히 클 경우 파서가 CPER 섹션을 넘어 읽을 수 있다. 길이 계산이 포인터 이동과 이전의 sizeof(*err) 크기 검사와 일치하도록 sizeof(*err)를 사용한다.
CVE-2026-89587
2026년 9월 12일Linux 커널에서 다음 취약점이 해결되었다: ACPI: pfr_update: query_capability() 함수의 스택 버퍼 오버플로 수정 query_capability() 함수는 펌웨어 _DSM이 반환하는 네 개의 ACPI 버퍼 객체를 memcpy를 사용하여 struct pfru_update_cap_info 내 고정 크기 u8[16] 필드로 복사한다. memcpy(&cap_hdr->code_type, elements[CAP_CODE_TYPE_IDX].buffer.pointer, elements[CAP_CODE_TYPE_IDX].buffer.length); 동일한 패턴이 drv_type, platform_id, oem_id에도 반복된다. 펌웨어가 이들 필드 중 어느 하나에 대해 buffer.length > 16을 반환하면, memcpy가 대상 배열을 넘어 쓰기를 수행한다. struct pfru_update_cap_info는 pfru_ioctl() 내에서 스택에 할당된다. 7.2-rc6에서 KASAN으로 확인된 결과, DSM이 64바이트 버퍼를 반환할 때 세 건의 스택 범위 밖 쓰기 보고가 생성되며, 쓰기는 cap_hdr의 [64, 156) 프레임 창을 넘어 인접한 스택 레드존까지 44바이트에 달한다. 도우미 포인터를 out_obj->package.elements로 도입하고 이를 사용하여 복사 전에 각 버퍼 길이를 대상 필드 크기와 비교 검증하며, 펌웨어가 과도한 크기의 버퍼를 제공하면 -EINVAL을 반환하도록 한다.
CVE-2026-89586
2026년 9월 12일Linux 커널에서 다음 취약점이 해결되었다: ata: libata-scsi: 2048바이트보다 큰 섹터 크기에 대한 DSM TRIM 수정 ata_scsi_write_same_xlat() 함수는 UNMAP 비트가 설정된 SCSI WRITE SAME 명령을 ATA DATA SET MANAGEMENT TRIM 명령으로 변환한다. TRIM 디스크립터는 ata_format_dsm_trim_descr() 함수에 의해 2048바이트 크기의 ata_scsi_rbuf 임시 버퍼에 생성되며, 복사된 바이트 수는 호출자에 의해 논리 섹터 크기와 비교된다: size = ata_format_dsm_trim_descr(scmd, trmax, block, n_block); if (size != len) /* len == sdp->sector_size */ goto invalid_param_len; ata_format_dsm_trim_descr() 함수는 복사 길이를 ATA_SCSI_RBUF_SIZE(2048)로 제한한다. 논리 섹터 크기가 이보다 큰 장치(예: sector_size가 4096인 4Kn 장치)의 경우, 이 함수는 2048보다 큰 값을 반환할 수 없으며 호출자는 sector_size를 반환할 것으로 기대한다. 따라서 비교는 항상 실패하여 모든 TRIM 요청이 "Parameter list length error"로 거부되고, 시도할 때마다 WARN_ON()이 발생한다. 이로 인해 TRIM/디스크카드는 이러한 장치에서 완전히 작동하지 않는다. 디스크립터 크기가 논리 섹터 크기에서 잘못 설정되었다. DSM TRIM 페이로드는 512바이트 페이지 목록이며, 각 페이지는 최대 ATA_MAX_TRIM_RNUM(64) LBA 범위 항목을 포함하고 논리 섹터 크기와 무관하다. Block Limits VPD 페이지는 이미 최대 WRITE SAME 길이로 단일 페이지(65535 * ATA_MAX_TRIM_RNUM 논리 블록)를 광고하므로 블록 계층은 한 페이지를 초과하는 요청을 보내지 않는다. 논리 섹터 크기와 무관하게 정확히 하나의 512바이트 페이지를 생성하고 해당 페이지만 전송한다(COUNT == 1). 512바이트 섹터 장치의 경우 변경 사항이 없으며, 더 큰 논리 섹터를 가진 장치는 이제 모든 TRIM 실패 대신 정상 작동한다.
CVE-2026-89585
2026년 9월 12일Linux 커널에서 다음 취약점이 해결되었다: auxdisplay: charlcd: 등록 실패 시 백라이트 작업 취소 CONFIG_CHARLCD_BL_FLASH가 설정된 경우, charlcd_init()은 charlcd_register()가 misc_register()를 호출하기 전에 bl_work를 예약한다. 등록에 실패하면 호출자는 지연 작업이 여전히 해당 주소를 포함하고 있는 동안 charlcd 객체를 해제한다. 지연 작업을 취소하고 백라이트를 끄기 위해 charlcd_deinit()을 추가하였다. 이를 등록 롤백과 정상 등록 해제 모두에 사용한다.
CVE-2026-89584
2026년 9월 12일Linux 커널에서 다음 취약점이 해결되었다: block: 추출 중 사용자 공간 벡터 검증 bio 기반 드라이버는 반드시 정렬 분할을 확인하지 않으며, 스태킹 블록 드라이버는 bio 제출 후 감지된 정렬 불일치를 항상 처리하지 않는다. bio가 iov_iter에서 생성될 때 장치의 dma_alignment에 대해 사용자 벡터를 검증하여 초기에 정렬 불일치가 있으면 -EINVAL로 거부한다.
CVE-2026-89583
2026년 9월 12일리눅스 커널에서 다음 취약점이 해결되었다: Bluetooth: eir: eir_get_service_data() 함수의 범위 밖 읽기(OOB read) 수정 eir_get_service_data() 함수는 UUID가 일치하는 서비스 데이터 필드를 찾기 위해 광고 데이터를 탐색한다. 불일치 시 다음과 같이 진행한다: eir += dlen; eir_len -= dlen; eir_get_data() 함수는 dlen을 필드의 데이터 길이로 보고하지만, 필드는 길이와 타입 바이트를 포함하여 dlen + 2 바이트에 걸쳐 있으며, 서비스 데이터가 아닌 필드를 건너뛸 경우 더 길어진다. 포인터는 다음 필드에 정확히 위치하지만 eir_len은 그렇지 않으며, 이 부족분이 필드를 거치면서 누적되어 eir_get_data()가 버퍼 끝을 넘어 "필드"의 길이와 타입 바이트를 읽게 된다. ISO 방송 싱크의 경우 해당 버퍼는 hcon->le_per_adv_data[]이며, 원격 방송자의 주기적 광고 보고서에서 채워진다. 불일치하는 서비스 데이터 필드가 가득 찬 PA 페이로드는 배열을 벗어나 struct hci_conn의 나머지 부분으로 넘어간다. BAA UUID와 일치하는 이동된 필드는 iso_pi(sk)->base에 해당 바이트를 위치시키며, 사용자 공간은 getsockopt(BT_ISO_BASE)를 통해 이를 읽는다. 각 반복마다 버퍼 끝에서 eir_len을 재계산한다.
CVE-2026-89582
2026년 9월 12일In the Linux kernel, the following vulnerability has been resolved: bnx2x: fix double free in bnx2x_init_firmware() error path bnx2x_init_firmware() frees bp->init_ops, bp->init_data and bp->init_ops_offsets in its error path without setting them to NULL. The cleanup function bnx2x_release_firmware() frees the same three pointers unconditionally, so if init_firmware fails and release_firmware is later called (e.g. from __bnx2x_remove or through the function state machine), all three are freed a second time. Set each pointer to NULL after kfree() in the error path so that the subsequent kfree(NULL) in bnx2x_release_firmware() is a safe no-op.
CVE-2026-89581
2026년 9월 12일리눅스 커널에서 다음 취약점이 해결되었다: bpf, x86: 확장 레지스터로의 CPU별 주소 해상도 수정 CPU별 주소 MOV의 목적지는 ModRM.reg에 인코딩되며, 이는 REX.R에 의해 확장되지만, REX 접두사는 add_1mod()로 생성되어 REX.B를 설정한다. REX.B는 ModRM.rm과 SIB.base를 확장하며, 이 명령어는 베이스 없이 disp32로 메모리를 주소 지정하므로 이 비트는 전혀 영향을 미치지 않고 높은 레지스터 비트가 단순히 손실된다. 따라서 모든 is_ereg() 목적지는 잘못된 레지스터로 해석되어, 낮은 3비트를 공유하는 레지스터 중 하나를 선택한다: R5 -> RAX R7 -> RBP R8 -> RSI R9 -> RDI reg2hex가 0인 BPF_REG_5의 경우, 생성된 65 49 03 04 25 <off> add %gs:<off>,%rax 는 per-CPU 오프셋을 R8 대신 RAX에 더한다. 목적지는 조정되지 않은 주소를 유지하고 RAX가 덮어써져, 프로그램은 per-CPU로 만들어지지 않은 포인터를 역참조한다: BUG: unable to handle page fault for address: 0000607e386a8894 RIP: bpf_prog_707837aafd2aa9ae_update_percpu_data+0x93/0xc9 Call Trace: __bpf_prog_test_run_raw_tp+0x2dc/0x7d0 __flush_smp_call_function_queue+0x1e9/0xc80 Kernel panic - not syncing: Fatal exception in interrupt R5는 네 개 중 가장 경미하며, 스크래치 레지스터와 별칭되어 저장 시 오류가 발생한다. R7은 RBP와 별칭되어 프레임 포인터를 손상시키고, R8과 R9는 인자 레지스터와 별칭된다. add_2mod()를 사용하여 레지스터가 REX.R을 통해 전달되도록 하여, add_2reg()가 ModRM.reg에 배치하는 방식과 emit_priv_frame_ptr()가 R9에 대해 동일한 명령어에 0x4c를 하드코딩하는 방식을 일치시킨다. 확장되지 않은 레지스터에 대한 인코딩은 변경되지 않았다. 이 문제는 BPF_GCC CI(자체 테스트가 BPF_GCC로 빌드됨)를 부활시키려 할 때 나타났다. clang은 각 per-CPU 접근 전에 주소를 R1에 다시 로드하므로 목적지가 확장 레지스터가 되는 일이 없어 이 문제가 눈에 띄지 않았다. GCC는 여러 per-CPU 주소를 동시에 유지하며, test_progs-bpf_gcc는 .percpu 변수의 주소가 R5에 들어가는 global_percpu_data/init에서 커널 패닉을 발생시킨다.
CVE-2026-89580
2026년 9월 12일Linux 커널에서 다음 취약점이 해결되었다: bpf: __bpf_get_stack에서 선점 비활성화 get_perf_callchain()은 CPU별 perf_callchain_entry 버퍼를 반환하고 반환 전에 put_callchain_entry()를 통해 재귀 슬롯을 해제하므로, __bpf_get_stack()이 이를 사용하는 동안 항목이 예약된 상태로 유지되지 않는다. 선점 가능한 BPF 프로그램(예: PREEMPT 커널에서 migrate_disable() 하에 실행되지만 preempt_disable()은 하지 않는 비수면(raw) 트레이스포인트 프로그램)은 항목을 얻은 후 복사하기 전 사이에 스케줄 아웃될 수 있다. 같은 CPU에서 스케줄된 다른 작업이 동일한 CPU별 버퍼를 재사용하여 trace->nr을 더 큰 값으로 덮어쓴다. copy_len은 부풀려진 trace->nr에서 계산되어 호출자의 버퍼를 초과할 수 있으며, memcpy()와 build_id 경로에서 범위 밖 쓰기가 발생한다. 여기서 취한 rcu_read_lock()만으로는 이를 방지하지 못한다. 이는 may_fault 경로에서만 취해지고, CONFIG_PREEMPT_RCU 하에서는 선점을 비활성화하지 않으며; 단지 perf의 callchain 버퍼 배열을 유지할 뿐이며 다른 작업이 항목을 재사용하는 것을 막지 못한다. 호출자의 버퍼에 복사하기 전과 callchain 항목을 얻는 동안 선점을 비활성화하여 항목이 재사용되지 못하게 하고 trace->nr이 max_depth로 제한되도록 한다. Build ID 해상도는 오류가 발생할 수 있으므로 선점이 다시 활성화된 후로 연기된다; 그때는 이미 명령어 포인터가 buf에 복사되어 있으므로 개인 복사본에 대해서만 작동한다. 참고로, preempt_disable()은 rcu_read_lock()이 제공한 버퍼 수명 보장도 포함하는데, 선점 비활성화 구간은 callchain 버퍼의 call_rcu() 회수를 위한 RCU 읽기 측 임계 구간이기 때문이다. [ 변경된 수정: 커밋 ]
CVE-2026-89579
2026년 9월 12일리눅스 커널에서 다음 취약점이 해결되었다: bpf: 32비트 커널에서 블룸 필터 크기 조정 및 인덱싱 강화 bloom_map_alloc() 함수는 계산된 비트맵이 U32_MAX 대체 케이스에 도달할 때 두 가지 32비트 특정 문제를 가진다. 첫째, BITS_TO_BYTES(U32_MAX)는 32비트 산술로 평가된다. DIV_ROUND_UP에 의해 수행된 덧셈이 오버플로우되어, 맵은 고정 크기 블룸 필터 객체만 할당하고 bitset_mask == U32_MAX 상태를 유지한다. 이후 업데이트는 할당된 객체를 넘어 쓸 수 있다. 둘째, 할당 크기만 수정하는 것은 충분하지 않다. 블룸 해시는 u32이지만 set_bit()는 부호 있는 long 비트 번호를 받고 x86의 test_bit()는 결국 인덱스를 variable_test_bit(long, ...)에 전달한다. 32비트 커널에서 [0x80000000, U32_MAX] 범위의 해시는 음수 비트 오프셋이 된다. x86의 bt/bts 명령어는 메모리 오퍼랜드와 함께 제공된 기준을 기준으로 이 오프셋을 해석하므로, bitset_mask == U32_MAX인 맵은 전체 512 MiB 비트맵을 할당한 후에도 bloom->bitset 이전 영역을 읽거나 쓸 수 있다. U32_MAX 대체 케이스는 유지하되, 각 해시를 test_bit() 또는 set_bit() 호출 전에 워드 포인터와 워드 내 비트 번호로 분리한다. bitops 인자는 항상 [0, BITS_PER_LONG - 1] 범위에 있고, BIT_WORD(h)는 전체 비트맵에서 의도한 워드를 선택한다. 최종 크기를 bpf_map_area_alloc()에 전달하기 전에 (u64)bitset_mask + 1에서 비트셋 크기를 계산한다. 이는 원래의 할당 부족 문제를 수정하고 할당된 저장소를 주소 지정 가능한 비트셋과 일치시킨다. 익스플로잇 참고: CAP_BPF 권한이 있는 바이너리를 사용하여 32비트 x86 커널에서 이 할당 부족 버그를 이용한 로컬 권한 상승이 가능하다.
CVE-2026-89578
2026년 9월 12일In the Linux kernel, the following vulnerability has been resolved: dm-io: clone the source bio instead of copying its biovec For DM_IO_BIO requests, do_region() built each destination bio by walking the source bio's biovec and re-adding the pages one at a time, tracking the remaining transfer in sectors. The vector lengths are byte granular and need not be sector aligned (e.g. a misaligned O_DIRECT buffer split across pages), so the sector-based accounting could lose a sub-sector fragment: to_sector() truncated the remainder and the outer loop spun forever submitting empty bios, hanging the I/O. There is no need to rebuild the biovec at all. The destination reads into (or writes from) exactly the same pages as the source bio, so the bio can simply clone the source's biovec with bio_alloc_clone() and remap it to the target device. The clone inherits the source's iterator and alignment, and the block layer splits it to the target's limits on submission, so the whole region maps to a single cloned bio with no manual page copying or sector accounting. This removes the per-page copy path (and its open-coded bvec dpages helpers) for bio-backed I/O and fixes the hang on misaligned direct I/O to a dm-mirror device. Page-list, vma and kmem sources keep the existing copy path.
CVE-2026-89577
2026년 9월 12일In the Linux kernel, the following vulnerability has been resolved: dm-io: report non-retryable errors separatedly The error codes BLK_STS_NOTSUPP and BLK_STS_INVAL should not cause leg failure on dm-raid1. This patch changes the interface to dm-io, so that it reports two error bitmaps - error_bits and unsup_bits. The unsup_bit bitmap tracks BLK_STS_NOTSUPP or BLK_STS_INVAL errors, the error_bits bitmap tracks all the other errors. dm-raid1 is changed so that it won't fail a leg if it receives an error in the unsup_bits bitmap. This patch (with 62dc37a819a5) fixes misbehavior if the user uses unaligned bio vectors on dm-raid1.
CVE-2026-89576
2026년 9월 12일In the Linux kernel, the following vulnerability has been resolved: dm-era: fix shadowed superblock leak on take-snap failure metadata_take_snap() bumps the live superblock refcount and then dm_tm_shadow_block() allocates a new block for the metadata snapshot. If the subsequent dm_sm_inc_block() of writeset_tree_root or era_array_root fails, the function only unlocks the clone and returns. The newly allocated shadow block is never returned to the metadata space map, so each failed take-snap permanently leaks one metadata block. Free the clone with dm_sm_dec_block() on those error paths, matching the final step of metadata_drop_snap().
CVE-2026-89575
2026년 9월 12일In the Linux kernel, the following vulnerability has been resolved: dm raid1: reserve space for NUL-terminator in build_constructor_string() Reserve space for the termination NUL after the maximum 20 decimal digits of a long long value to avoid buffer overflow in sprintf().