CVE-2024-53225

Source
https://cve.org/CVERecord?id=CVE-2024-53225
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-53225.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-53225
Downstream
Published
2024-12-27T13:50:14.787Z
Modified
2026-03-20T12:40:50.125497Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
iommu/tegra241-cmdqv: Fix alignment failure at max_n_shift
Details

In the Linux kernel, the following vulnerability has been resolved:

iommu/tegra241-cmdqv: Fix alignment failure at maxnshift

When configuring a kernel with PAGESIZE=4KB, depending on its setting of CONFIGCMAALIGNMENT, VCMDQLOG2SIZEMAX=19 could fail the alignment test and trigger a WARNON: WARNING: at drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c:3646 Call trace: armsmmuinitonequeue+0x15c/0x210 tegra241cmdqvinitstructures+0x114/0x338 armsmmudeviceprobe+0xb48/0x1d90

Fix it by capping maxnshift to CMDQMAXSZ_SHIFT as SMMUv3 CMDQ does.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/53xxx/CVE-2024-53225.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / 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/osv-test-cve-osv-conversion/osv-output/CVE-2024-53225.json"