A logic error in the smmu_get_mair_idx function of smmu.c can cause incorrect memory attributes to be applied to direct memory access mappings. This flaw may lead to local information disclosure without requiring additional execution privileges or user interaction.