Submeter #558123: RefindPlusRepo RefindPlus v0.14.2.AB Release NULL Pointer Dereferenceinformação

TítuloRefindPlusRepo RefindPlus v0.14.2.AB Release NULL Pointer Dereference
DescriçãoOne potential NPD issue. The location is in Library/RP_ApfsLib /RP_ApfsIo.c#L199 as the InternalApfsTranslateBlock function may return NULL. ```c for (Index = 0; Index < JumpStart->NumExtents || EfiFileSize != 0; ++Index) { BlockIo = InternalApfsTranslateBlock ( // NULL maybe return here. PrivateData, JumpStart->RecordExtents[Index].StartPhysicalAddr, &Lba ); if (JumpStart->RecordExtents[Index].BlockCount > MAX_UINTN || OcOverflowMulUN ((UINTN) JumpStart->RecordExtents[Index].BlockCount, PrivateData->ApfsBlockSize, &ChunkSize) || ChunkSize > EfiFileSize) { FreePool (EfiFile); return EFI_SECURITY_VIOLATION; } Status = BlockIo->ReadBlocks ( // may directly access the NULL here. BlockIo, BlockIo->Media->MediaId, Lba, ChunkSize, ChunkPtr ); if (EFI_ERROR(Status)) { FreePool (EfiFile); return Status; } ```
Fonte⚠️ https://github.com/RefindPlusRepo/RefindPlus/issues/206
Utilizador
 micromilo (UID 84159)
Submissão15/04/2025 09h42 (há 1 Ano)
Moderação26/04/2025 10h39 (11 days later)
EstadoAceite
Entrada VulDB306339 [RefindPlusRepo RefindPlus 0.14.2.AB RP_ApfsIo.c InternalApfsTranslateBlock Negação de Serviço]
Pontos20

Want to stay up to date on a daily basis?

Enable the mail alert feature now!