In the Linux kernel, the following vulnerability has been resolved:
drm/amd/amdgpu: Fix potential ioremap() memory leaks in
amdgpu_device_init() This ensures that the memory mapped by ioremap for
adev->rmmio, is properly handled in amdgpu_device_init(). If the function
exits early due to an error, the memory is unmapped. If the function
completes successfully, the memory remains mapped. Reported by smatch:
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c:4337 amdgpu_device_init() warn:
‘adev->rmmio’ from ioremap() not released on lines:
4035,4045,4051,4058,4068,4337
OS | Version | Architecture | Package | Version | Filename |
---|---|---|---|---|---|
ubuntu | 20.04 | noarch | linux | < any | UNKNOWN |
ubuntu | 22.04 | noarch | linux | < any | UNKNOWN |
ubuntu | 24.04 | noarch | linux | < any | UNKNOWN |
ubuntu | 20.04 | noarch | linux-aws | < any | UNKNOWN |
ubuntu | 22.04 | noarch | linux-aws | < any | UNKNOWN |
ubuntu | 24.04 | noarch | linux-aws | < any | UNKNOWN |
ubuntu | 20.04 | noarch | linux-aws-5.15 | < any | UNKNOWN |
ubuntu | 22.04 | noarch | linux-aws-6.5 | < any | UNKNOWN |
ubuntu | 20.04 | noarch | linux-azure | < any | UNKNOWN |
ubuntu | 22.04 | noarch | linux-azure | < any | UNKNOWN |
git.kernel.org/linus/eb4f139888f636614dab3bcce97ff61cefc4b3a7 (6.9-rc1)
git.kernel.org/stable/c/14ac934db851642ea8cd1bd4121c788a8899ef69
git.kernel.org/stable/c/aa665c3a2aca2ffe31b9645bda278e96dfc3b55c
git.kernel.org/stable/c/c5f9fe2c1e5023fa096189a8bfba6420aa035587
git.kernel.org/stable/c/eb4f139888f636614dab3bcce97ff61cefc4b3a7
launchpad.net/bugs/cve/CVE-2024-35928
nvd.nist.gov/vuln/detail/CVE-2024-35928
security-tracker.debian.org/tracker/CVE-2024-35928
www.cve.org/CVERecord?id=CVE-2024-35928