# CVE-2024-53225: iommu/tegra241-cmdqv: Fix alignment failure at max_n_shift

- Severity: Medium 5.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.20%, higher than 10% of CVEs (2026-12-01)
- Published: 2024-12-27T13:50:14.787Z
- Modified: 2026-06-17T08:08:38.367Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- 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 *)
- linux linux_kernel: from 6.12 before 6.12.2

## Every score

- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/85a1d70b86dbcb84a68e7e4942a5181276945988> (patch)
- <https://git.kernel.org/stable/c/a3799717b881aa0f4e722afb70e7b8ba84ae4f36> (patch)

## Sources

- CVE List: [CVE-2024-53225](https://www.cve.org/CVERecord?id=CVE-2024-53225), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2024-53225](https://nvd.nist.gov/vuln/detail/CVE-2024-53225), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-53225 · Whole record: https://cve.day/CVE-2024-53225.json · Rebuilt by cve.day 2026-11-25T22:58:50.427Z
