{"id":"CVE-2024-38627","summary":"stm class: Fix a double free in stm_register_device()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nstm class: Fix a double free in stm_register_device()\n\nThe put_device(&stm-\u003edev) call will trigger stm_device_release() which\nfrees \"stm\" so the vfree(stm) on the next line is a double free.","modified":"2026-11-13T04:02:59.560992445Z","published":"2024-06-21T10:18:18.912Z","related":["ALSA-2024:5101","ALSA-2024:5102","SUSE-SU-2024:2360-1","SUSE-SU-2024:2372-1","SUSE-SU-2024:2381-1","SUSE-SU-2024:2394-1","SUSE-SU-2024:2561-1","SUSE-SU-2024:2571-1","SUSE-SU-2024:2896-1","SUSE-SU-2024:2939-1","SUSE-SU-2024:2973-1","SUSE-SU-2025:20008-1","SUSE-SU-2025:20028-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/38xxx/CVE-2024-38627.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/370c480410f60b90ba3e96abe73ead21ec827b20"},{"type":"WEB","url":"https://git.kernel.org/stable/c/3df463865ba42b8f88a590326f4c9ea17a1ce459"},{"type":"WEB","url":"https://git.kernel.org/stable/c/4bfd48bb6e62512b9c392c5002c11e1e3b18d247"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6cc30ef8eb6d8f8d6df43152264bbf8835d99931"},{"type":"WEB","url":"https://git.kernel.org/stable/c/713fc00c571dde4af3db2dbd5d1b0eadc327817b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7419df1acffbcc90037f6b5a2823e81389659b36"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a0450d3f38e7c6c0a7c0afd4182976ee15573695"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d782a2db8f7ac49c33b9ca3e835500a28667d1be"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/38xxx/CVE-2024-38627.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-38627"},{"type":"PACKAGE","url":"https://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":"389b6699a2aa0b457aa69986e9ddf39f3b4030fd"},{"fixed":"6cc30ef8eb6d8f8d6df43152264bbf8835d99931"},{"fixed":"a0450d3f38e7c6c0a7c0afd4182976ee15573695"},{"fixed":"713fc00c571dde4af3db2dbd5d1b0eadc327817b"},{"fixed":"7419df1acffbcc90037f6b5a2823e81389659b36"},{"fixed":"4bfd48bb6e62512b9c392c5002c11e1e3b18d247"},{"fixed":"370c480410f60b90ba3e96abe73ead21ec827b20"},{"fixed":"d782a2db8f7ac49c33b9ca3e835500a28667d1be"},{"fixed":"3df463865ba42b8f88a590326f4c9ea17a1ce459"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"b0351a51ffda593b2b1b35dd0c00a73505edb256"}]}],"versions":["v4.4.302","v4.4.301","v4.4.300","v4.4.299","v4.4.298","v4.4.297","v4.4.296","v4.4.295","v4.4.294","v4.4.293","v4.4.292","v4.4.291","v4.4.290","v4.4.289","v4.4.288","v4.4.287","v4.4.286","v4.4.285","v4.4.284","v4.4.283","v4.4.282","v4.4.281","v4.4.280","v4.4.279","v4.4.278","v4.4.277","v4.4.276","v4.4.275","v4.4.274","v4.4.273","v4.4.272","v4.4.271","v4.4.270","v4.4.269","v4.4.268","v4.4.267","v4.4.266","v4.4.265","v4.4.264","v4.4.263","v4.4.262","v4.4.261","v4.4.260","v4.4.259","v4.4.258","v4.4.257","v4.4.256","v4.4.255","v4.4.254","v4.4.253","v4.4.252","v4.4.251","v4.4.250","v4.4.249","v4.4.248","v4.4.247","v4.4.246","v4.4.245","v4.4.244","v4.4.243","v4.4.242","v4.4.241","v4.4.240","v4.4.239","v4.4.238","v4.4.237","v4.4.236","v4.4.235","v4.4.234","v4.4.233","v4.4.232","v4.4.231","v4.4.230","v4.4.229","v4.4.228","v4.4.227","v4.4.226","v4.4.225","v4.4.224","v4.4.223","v4.4.222","v4.4.221","v4.4.220","v4.4.219","v4.4.218","v4.4.217","v4.4.216","v4.4.215","v4.4.214","v4.4.213","v4.4.212","v4.4.211","v4.4.210","v4.4.209","v4.4.208","v4.4.207","v4.4.206","v4.4.205","v4.4.204","v4.4.203","v4.4.202","v4.4.201","v4.4.200","v4.4.199","v4.4.198","v4.4.197","v4.4.196","v4.4.195","v4.4.194","v4.4.193","v4.4.192","v4.4.191","v4.4.190","v4.4.189","v4.4.188","v4.4.187","v4.4.186","v4.4.185","v4.4.184","v4.4.183","v4.4.182","v4.4.181","v4.4.180","v4.4.179","v4.4.178"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-38627.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.4.178"},{"fixed":"4.5"}]},{"type":"ECOSYSTEM","events":[{"introduced":"4.7.0"},{"fixed":"4.19.316"}]},{"type":"ECOSYSTEM","events":[{"introduced":"4.20.0"},{"fixed":"5.4.278"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.5.0"},{"fixed":"5.10.219"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.161"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.93"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.33"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.9.4"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-38627.json"}}],"schema_version":"1.9.2"}