{"id":"DEBIAN-CVE-2024-57985","details":"In the Linux kernel, the following vulnerability has been resolved:  firmware: qcom: scm: Cleanup global '__scm' on probe failures  If SCM driver fails the probe, it should not leave global '__scm' variable assigned, because external users of this driver will assume the probe finished successfully.  For example TZMEM parts ('__scm-\u003emempool') are initialized later in the probe, but users of it (__scm_smc_call()) rely on the '__scm' variable.  This fixes theoretical NULL pointer exception, triggered via introducing probe deferral in SCM driver with call trace:    qcom_tzmem_alloc+0x70/0x1ac (P)   qcom_tzmem_alloc+0x64/0x1ac (L)   qcom_scm_assign_mem+0x78/0x194   qcom_rmtfs_mem_probe+0x2d4/0x38c   platform_probe+0x68/0xc8","modified":"2026-09-15T09:03:17.914117436Z","published":"2025-02-27T02:15:11.703Z","upstream":["CVE-2024-57985"],"references":[{"type":"ADVISORY","url":"https://security-tracker.debian.org/tracker/CVE-2024-57985"}],"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.13-1"}]}],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2024-57985.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.13-1"}]}],"ecosystem_specific":{"urgency":"not yet assigned"},"database_specific":{"source":"https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2024-57985.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"}]}