Skip to content
Heist/ feed
Back to feed
UnratedFix available

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

Type: advisorySources: OSV

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.

Products
Kernel
Affected versions
Not specified
Fixed versions
6.1.30, 6.3.4
CVEs
CVE-2023-53561
Confirmed fixed CVEs
Not specified
Updated in this feed
7 Nov 2026, 02:15 UTC · Revision 1

Source evidence

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

core-osv · Original source

Published 4 Oct 2025, 15:17 UTC

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.

osv:CVE-2023-53561

Kernel

Fixed versions: 6.1.30, 6.3.4

Complete source record
{
  "id": "db65052380b4009d0fdfb10d05791453f315696c96f25c262c0bd93504bb08a0",
  "url": "https://osv.dev/vulnerability/CVE-2023-53561",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "net: wwan: iosm: fix NULL pointer dereference when removing device",
    "summary": "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.",
    "evidence": "osv:CVE-2023-53561",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "6.1.30",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.3.4",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2023-53561",
      "aliases": [
        "CVE-2023-53561"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "3670970dd8c661c10c10c300d726f59428eaad32"
                },
                {
                  "fixed": "ee44bacf462db3ec6e4f0dcfa7931e768670d77c"
                },
                {
                  "fixed": "862c6e3e26735247d8a4df41fa2421909c3f4d63"
                },
                {
                  "fixed": "60829145f1e2650b31ebe6a0ec70a9725b38fa2c"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-53561.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.14.0"
                },
                {
                  "fixed": "6.1.30"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.2.0"
                },
                {
                  "fixed": "6.3.4"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-53561.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:49.072962501Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/60829145f1e2650b31ebe6a0ec70a9725b38fa2c",
        "https://git.kernel.org/stable/c/862c6e3e26735247d8a4df41fa2421909c3f4d63",
        "https://git.kernel.org/stable/c/ee44bacf462db3ec6e4f0dcfa7931e768670d77c",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53561.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2023-53561",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53561.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2023-53561",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 517283,
  "published_at": "2025-10-04T15:17:05+00:00"
}