{"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-04-16T04:31:03.448370483Z","published":"2024-06-21T10:18:18.912Z","related":["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":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/38xxx/CVE-2024-38627.json","cna_assigner":"Linux"},"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":"0"},{"last_affected":"b0351a51ffda593b2b1b35dd0c00a73505edb256"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-38627.json"}}],"schema_version":"1.7.5"}