Lucene search

K
cveLinuxCVE-2024-46741
HistorySep 18, 2024 - 8:15 a.m.

CVE-2024-46741

2024-09-1808:15:03
Linux
web.nvd.nist.gov
6
linux kernel
vulnerability
fastrpc
double free fix
cve-2024-46741

AI Score

6.7

Confidence

High

EPSS

0

Percentile

16.4%

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

misc: fastrpc: Fix double free of ‘buf’ in error path

smatch warning:
drivers/misc/fastrpc.c:1926 fastrpc_req_mmap() error: double free of ‘buf’

In fastrpc_req_mmap() error path, the fastrpc buffer is freed in
fastrpc_req_munmap_impl() if unmap is successful.

But in the end, there is an unconditional call to fastrpc_buf_free().
So the above case triggers the double free of fastrpc buf.

Affected configurations

Vulners
Node
linuxlinux_kernelRange6.26.6.51
OR
linuxlinux_kernelRange6.7.06.10.10
OR
linuxlinux_kernelRange6.11.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/misc/fastrpc.c"
    ],
    "versions": [
      {
        "version": "72fa6f7820c4",
        "lessThan": "f77dc8a75859",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "72fa6f7820c4",
        "lessThan": "bfc1704d909d",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "72fa6f7820c4",
        "lessThan": "e8c276d4dc0e",
        "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/misc/fastrpc.c"
    ],
    "versions": [
      {
        "version": "6.2",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "6.2",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.6.51",
        "lessThanOrEqual": "6.6.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.10.10",
        "lessThanOrEqual": "6.10.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.11",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

AI Score

6.7

Confidence

High

EPSS

0

Percentile

16.4%

Related for CVE-2024-46741