{"id":"DEBIAN-CVE-2024-56697","details":"In the Linux kernel, the following vulnerability has been resolved:  drm/amdgpu: Fix the memory allocation issue in amdgpu_discovery_get_nps_info()  Fix two issues with memory allocation in amdgpu_discovery_get_nps_info() for mem_ranges:   - Add a check for allocation failure to avoid dereferencing a null    pointer.   - As suggested by Christophe, use kvcalloc() for memory allocation,    which checks for multiplication overflow.  Additionally, assign the output parameters nps_type and range_cnt after the kvcalloc() call to prevent modifying the output parameters in case of an error return.","modified":"2026-09-15T09:03:17.223984499Z","published":"2024-12-28T10:15:16.043Z","upstream":["CVE-2024-56697"],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2024-56697"}],"affected":[{"package":{"name":"linux","ecosystem":"Debian:13","purl":"pkg:deb/debian/linux?arch=source&distro=trixie"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.12.3-1"}]}],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2024-56697.json"}},{"package":{"name":"linux","ecosystem":"Debian:14","purl":"pkg:deb/debian/linux?arch=source&distro=forky"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.12.3-1"}]}],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2024-56697.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"}]}