CVE-2022-49867

net: wwan: iosm: fix memory leak in ipc_wwan_dellink

State
Published
Severity
5.5 Medium
Published
May 1, 2025
Updated
May 11, 2026
Reserved
May 1, 2025

Read the record on cve.org

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().

Scores

CVSSScoreVectorSource
3.15.5 MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HCISA-ADP

Weaknesses

  • CWE-401 Missing Release of Memory after Effective Lifetime

Affected Products

ProductVersions
LinuxLinux
  • 2a54f2c7793409736f2e5ea101e050b3f1997088 to before 2ce2348c2858d723f7fe389dead9b43b08e0944eAffected
  • 2a54f2c7793409736f2e5ea101e050b3f1997088 to before 128514b51a5ba2c82f9e4a106f1c10423907618aAffected
  • 2a54f2c7793409736f2e5ea101e050b3f1997088 to before f25caaca424703d5a0607310f0452f978f1f78d9Affected
LinuxLinux
  • 5.14Affected
  • before 5.14Not affected
  • 5.15.79 through 5.15.*Not affected
  • 6.0.9 through 6.0.*Not affected
  • 6.1 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.