{"id":"CVE-2024-36015","summary":"ppdev: Add an error check in register_device","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nppdev: Add an error check in register_device\n\nIn register_device, the return value of ida_simple_get is unchecked,\nin witch ida_simple_get will use an invalid index value.\n\nTo address this issue, index should be checked after ida_simple_get. When\nthe index value is abnormal, a warning message should be printed, the port\nshould be dropped, and the value should be recorded.","modified":"2026-04-02T11:59:58.097395Z","published":"2024-05-29T07:35:04.506Z","related":["SUSE-SU-2024:1979-1","SUSE-SU-2024:1983-1","SUSE-SU-2024:2008-1","SUSE-SU-2024:2019-1","SUSE-SU-2024:2135-1","SUSE-SU-2024:2184-1","SUSE-SU-2024:2190-1","SUSE-SU-2024:2203-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/36xxx/CVE-2024-36015.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/5d5b24edad1107a2ffa99058f20f6aeeafeb5d39"},{"type":"WEB","url":"https://git.kernel.org/stable/c/65cd017d43f4319a56747d38308b0a24cf57299e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b65d0410b879af0295d22438a4a32012786d152a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b8c6b83cc3adff3ddf403c8c7063fe6d08b2b9d9"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d32caf51379a4d71db03d3d4d7c22d27cdf7f68b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/df9329247dbbf00f6057e002139ab3fa529ad828"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ec3468221efec6660ff656e9ebe51ced3520fc57"},{"type":"WEB","url":"https://git.kernel.org/stable/c/fbf740aeb86a4fe82ad158d26d711f2f3be79b3e"},{"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/36xxx/CVE-2024-36015.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-36015"},{"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":"9a69645dde1188723d80745c1bc6ee9af2cbe2a7"},{"fixed":"65cd017d43f4319a56747d38308b0a24cf57299e"},{"fixed":"b8c6b83cc3adff3ddf403c8c7063fe6d08b2b9d9"},{"fixed":"d32caf51379a4d71db03d3d4d7c22d27cdf7f68b"},{"fixed":"b65d0410b879af0295d22438a4a32012786d152a"},{"fixed":"df9329247dbbf00f6057e002139ab3fa529ad828"},{"fixed":"ec3468221efec6660ff656e9ebe51ced3520fc57"},{"fixed":"5d5b24edad1107a2ffa99058f20f6aeeafeb5d39"},{"fixed":"fbf740aeb86a4fe82ad158d26d711f2f3be79b3e"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"0"},{"last_affected":"9c2b46e720d5b083268ca0131f513a90696f3a82"},{"last_affected":"762602796be626cbb6b3a6573e00b9ee7db00c97"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-36015.json"}}],"schema_version":"1.7.5"}