5.5medium
iommu/tegra241-cmdqv: Fix alignment failure at max_n_shift
- Severity
- 5.5medium CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.20% (higher than 10% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: iommu/tegra241-cmdqv: Fix alignment failure at max_n_shift When configuring a kernel with PAGE_SIZE=4KB, depending on its setting of CONFIG_CMA_ALIGNMENT, VCMDQ_LOG2SIZE_MAX=19 could fail the alignment test and trigger a WARN_ON: WARNING: at drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c:3646 Call trace: arm_smmu_init_one_queue+0x15c/0x210 tegra241_cmdqv_init_structures+0x114/0x338 arm_smmu_device_probe+0xb48/0x1d90 Fix it by capping max_n_shift to CMDQ_MAX_SZ_SHIFT as SMMUv3 CMDQ does.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from 918eb5c856f6ce4cf93b4b38e4b5e156905c5943 before 85a1d70b86dbcb84a68e7e4942a5181276945988, from 918eb5c856f6ce4cf93b4b38e4b5e156905c5943 before a3799717b881aa0f4e722afb70e7b8ba84ae4f36, 6.12 Not affected: before 6.12, from 6.12.2 up to 6.12.*, from 6.13 up to * | CVE List |
| linux linux_kernel | from 6.12 before 6.12.2 | NVD |
All scores
| CISA-ADP | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVD | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
In the Linux kernel, the following vulnerability has been resolved: iommu/tegra241-cmdqv: Fix alignment failure at max_n_shift When configuring a kernel with PAGE_SIZE=4KB, depending on its setting of CONFIG_CMA_ALIGNMENT, VCMDQ_LOG2SIZE_MAX=19 could fail the alignment test and trigger a WARN_ON: WARNING: at drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c:3646 Call trace: arm_smmu_init_one_queue+0x15c/0x210 tegra241_cmdqv_init_structures+0x114/0x338 arm_smmu_device_probe+0xb48/0x1d90 Fix it by capping max_n_shift to CMDQ_MAX_SZ_SHIFT as SMMUv3 CMDQ does.
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: iommu/tegra241-cmdqv: Se corrige el error de alineación en max_n_shift Al configurar un kernel con PAGE_SIZE=4KB, dependiendo de su configuración de CONFIG_CMA_ALIGNMENT, VCMDQ_LOG2SIZE_MAX=19 podría fallar la prueba de alineación y generar un WARN_ON: ADVERTENCIA: en drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c:3646 Rastreo de llamadas: arm_smmu_init_one_queue+0x15c/0x210 tegra241_cmdqv_init_structures+0x114/0x338 arm_smmu_device_probe+0xb48/0x1d90 Se soluciona limitando max_n_shift a CMDQ_MAX_SZ_SHIFT como lo hace SMMUv3 CMDQ.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-53225 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2024-53225 changed 2026-06-17 | Public domain |