CVE-2024-40939

net: wwan: iosm: Fix tainted pointer delete is case of region creation fail

State
Published
Severity
Not scored
Published
Jul 12, 2024
Updated
May 11, 2026
Reserved
Jul 12, 2024

Read the record on cve.org

Description

In the Linux kernel, the following vulnerability has been resolved:

net: wwan: iosm: Fix tainted pointer delete is case of region creation fail

In case of region creation fail in ipc_devlink_create_region(), previously created regions delete process starts from tainted pointer which actually holds error code value. Fix this bug by decreasing region index before delete.

Found by Linux Verification Center (linuxtesting.org) with SVACE.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 4dcd183fbd67b105decc8be262311937730ccdbf to before fe394d59cdae81389dbf995e87c83c1acd120597Affected
  • 4dcd183fbd67b105decc8be262311937730ccdbf to before 040d9384870386eb5dc55472ac573ac7756b2050Affected
  • 4dcd183fbd67b105decc8be262311937730ccdbf to before 37a438704d19bdbe246d51d3749b6b3a8fe65afdAffected
  • 4dcd183fbd67b105decc8be262311937730ccdbf to before b0c9a26435413b81799047a7be53255640432547Affected
LinuxLinux
  • 5.16Affected
  • before 5.16Not affected
  • 6.1.95 through 6.1.*Not affected
  • 6.6.35 through 6.6.*Not affected
  • 6.9.6 through 6.9.*Not affected
  • 6.10 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.