{"id":"CVE-2023-53561","summary":"net: wwan: iosm: fix NULL pointer dereference when removing device","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nnet: wwan: iosm: fix NULL pointer dereference when removing device\n\nIn suspend and resume cycle, the removal and rescan of device ends\nup in NULL pointer dereference.\n\nDuring driver initialization, if the ipc_imem_wwan_channel_init()\nfails to get the valid device capabilities it returns an error and\nfurther no resource (wwan struct) will be allocated. Now in this\nsituation if driver removal procedure is initiated it would result\nin NULL pointer exception since unallocated wwan struct is dereferenced\ninside ipc_wwan_deinit().\n\nipc_imem_run_state_worker() to handle the called functions return value\nand to release the resource in failure case. It also reports the link\ndown event in failure cases. The user space application can handle this\nevent to do a device reset for restoring the device communication.","modified":"2026-03-20T12:33:13.690970Z","published":"2025-10-04T15:17:05Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53561.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/60829145f1e2650b31ebe6a0ec70a9725b38fa2c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/862c6e3e26735247d8a4df41fa2421909c3f4d63"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ee44bacf462db3ec6e4f0dcfa7931e768670d77c"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53561.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-53561"},{"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":"3670970dd8c661c10c10c300d726f59428eaad32"},{"fixed":"ee44bacf462db3ec6e4f0dcfa7931e768670d77c"},{"fixed":"862c6e3e26735247d8a4df41fa2421909c3f4d63"},{"fixed":"60829145f1e2650b31ebe6a0ec70a9725b38fa2c"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-53561.json"}}],"schema_version":"1.7.5"}