Skip to content
CVE PROGRAM SOURCE RECORD5.5 Medium

CVE-2022-49867

net: wwan: iosm: fix memory leak in ipc_wwan_dellink

Description

In the Linux kernel, the following vulnerability has been resolved: net: wwan: iosm: fix memory leak in ipc_wwan_dellink IOSM driver registers network device without setting the needs_free_netdev flag, and does NOT call free_netdev() when unregisters network device, which causes a memory leak. This patch sets needs_free_netdev to true when registers network device, which makes netdev subsystem call free_netdev() automatically after unregister_netdevice().

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 2a54f2c7793409736f2e5ea101e050b3f1997088 to < 2ce2348c2858d723f7fe389dead9b43b08e0944eaffected
  • 2a54f2c7793409736f2e5ea101e050b3f1997088 to < 128514b51a5ba2c82f9e4a106f1c10423907618aaffected
  • 2a54f2c7793409736f2e5ea101e050b3f1997088 to < f25caaca424703d5a0607310f0452f978f1f78d9affected

Linux Linux

Default version status: affected

  • 5.14affected
  • 0 to < 5.14unaffected
  • 5.15.79 to ≤ 5.15.*unaffected
  • 6.0.9 to ≤ 6.0.*unaffected
  • 6.1 to ≤ *unaffected

References