CVE-2023-53561
JSON

5.5medium

net: wwan: iosm: fix NULL pointer dereference when removing device

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.15% (higher than 4% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: net: wwan: iosm: fix NULL pointer dereference when removing device In suspend and resume cycle, the removal and rescan of device ends up in NULL pointer dereference. During driver initialization, if the ipc_imem_wwan_channel_init() fails to get the valid device capabilities it returns an error and further no resource (wwan struct) will be allocated. Now in this situation if driver removal procedure is initiated it would result in NULL pointer exception since unallocated wwan struct is dereferenced inside ipc_wwan_deinit(). ipc_imem_run_state_worker() to handle the called functions return value and to release the resource in failure case. It also reports the link down event in failure cases. The user space application can handle this event to do a device reset for restoring the device communication.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 3670970dd8c661c10c10c300d726f59428eaad32 before ee44bacf462db3ec6e4f0dcfa7931e768670d77c, from 3670970dd8c661c10c10c300d726f59428eaad32 before 862c6e3e26735247d8a4df41fa2421909c3f4d63, from 3670970dd8c661c10c10c300d726f59428eaad32 before 60829145f1e2650b31ebe6a0ec70a9725b38fa2c, 5.14
Not affected: before 5.14, from 6.1.30 up to 6.1.*, from 6.3.4 up to 6.3.*, from 6.4 up to *
CVE List
linux linux_kernelfrom 5.14 before 6.1.30, from 6.2 before 6.3.4, 6.4NVD

Classification

CWE-476

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2023-53561 changed 2026-11-05CVE Terms of Use
NVDCVE-2023-53561 changed 2026-11-05Public domain