{"id":"CVE-2024-53225","summary":"iommu/tegra241-cmdqv: Fix alignment failure at max_n_shift","details":"In the Linux kernel, the following vulnerability has been resolved:\n\niommu/tegra241-cmdqv: Fix alignment failure at max_n_shift\n\nWhen configuring a kernel with PAGE_SIZE=4KB, depending on its setting of\nCONFIG_CMA_ALIGNMENT, VCMDQ_LOG2SIZE_MAX=19 could fail the alignment test\nand trigger a WARN_ON:\n    WARNING: at drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c:3646\n    Call trace:\n     arm_smmu_init_one_queue+0x15c/0x210\n     tegra241_cmdqv_init_structures+0x114/0x338\n     arm_smmu_device_probe+0xb48/0x1d90\n\nFix it by capping max_n_shift to CMDQ_MAX_SZ_SHIFT as SMMUv3 CMDQ does.","modified":"2026-04-02T12:23:03.047127Z","published":"2024-12-27T13:50:14.787Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/53xxx/CVE-2024-53225.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/85a1d70b86dbcb84a68e7e4942a5181276945988"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a3799717b881aa0f4e722afb70e7b8ba84ae4f36"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/53xxx/CVE-2024-53225.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-53225"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"918eb5c856f6ce4cf93b4b38e4b5e156905c5943"},{"fixed":"85a1d70b86dbcb84a68e7e4942a5181276945988"},{"fixed":"a3799717b881aa0f4e722afb70e7b8ba84ae4f36"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-53225.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"}]}