CVE-2024-53225

Source
https://nvd.nist.gov/vuln/detail/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:14Z
Modified
2025-10-17T17:53:11.561085Z
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.

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
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
918eb5c856f6ce4cf93b4b38e4b5e156905c5943
Fixed
a3799717b881aa0f4e722afb70e7b8ba84ae4f36

Affected versions

v6.*

v6.11
v6.11-rc4
v6.11-rc5
v6.11-rc6
v6.11-rc7
v6.12
v6.12-rc1
v6.12-rc2
v6.12-rc3
v6.12-rc4
v6.12-rc5
v6.12-rc6
v6.12-rc7
v6.12.1

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.12.0
Fixed
6.12.2