Lucene search

K
cveLinuxCVE-2024-40939
HistoryJul 12, 2024 - 1:15 p.m.

CVE-2024-40939

2024-07-1213:15:16
Linux
web.nvd.nist.gov
34
linux kernel
net wwan iosm
vulnerability
region creation fail
ipc_devlink_create_region
delete process
tainted pointer
svace

AI Score

6.7

Confidence

Low

EPSS

0

Percentile

15.9%

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.

Affected configurations

Vulners
Node
linuxlinux_kernelRange5.166.1.95
OR
linuxlinux_kernelRange6.2.06.6.35
OR
linuxlinux_kernelRange6.7.06.9.6
OR
linuxlinux_kernelRange6.10.0
VendorProductVersionCPE
linuxlinux_kernel*cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

CNA Affected

[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "drivers/net/wwan/iosm/iosm_ipc_devlink.c"
    ],
    "versions": [
      {
        "version": "4dcd183fbd67",
        "lessThan": "fe394d59cdae",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "4dcd183fbd67",
        "lessThan": "040d93848703",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "4dcd183fbd67",
        "lessThan": "37a438704d19",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "4dcd183fbd67",
        "lessThan": "b0c9a2643541",
        "status": "affected",
        "versionType": "git"
      }
    ]
  },
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "affected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "drivers/net/wwan/iosm/iosm_ipc_devlink.c"
    ],
    "versions": [
      {
        "version": "5.16",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "5.16",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.1.95",
        "lessThanOrEqual": "6.1.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.6.35",
        "lessThanOrEqual": "6.6.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.9.6",
        "lessThanOrEqual": "6.9.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.10",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

AI Score

6.7

Confidence

Low

EPSS

0

Percentile

15.9%