CVE-2026-90427 iommu/tegra241-cmdqv: Don't fall back to a freed smmu after devm_krealloc()
설명
In the Linux kernel, the following vulnerability has been resolved: iommu/tegra241-cmdqv: Don't fall back to a freed smmu after devm_krealloc() __tegra241_cmdqv_probe() uses devm_krealloc() to grow @smmu into the larger tegra241_cmdqv, which frees the original @smmu once it relocates. A failure after that returned NULL, and the caller then dereferenced the freed @smmu on its fallback path. Return an int and take @smmu by reference instead, then update *smmu to the reallocated pointer after devm_krealloc() succeeds, so the caller and its fallback path both use the live @smmu rather than the freed original.
영향 받는 제품 제품 1개
-
해결 버전 있음
Linux
Linux
영향 받는 버전
- 6.12
해결 버전
- 6.12 미만
- 6.12.114 이상
- 6.18.57 이상
- 7.2.6 이상
참고 자료 4건
- git.kernel.org https://git.kernel.org/stable/c/268cbe3a36ae57a2ec09601f343b92f6f092d505 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/86197679b293f0601c3331d545f99a70a7780aa9 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/d4d05f55e9da646ec03adfa77260eb46f4163749 (새 창)
- git.kernel.org https://git.kernel.org/stable/c/ea2edb27ef2648d8687cd0fc3ec3ba1793436e7e (새 창)