Lucene search

K
cvelistLinuxCVELIST:CVE-2022-48873
HistoryAug 21, 2024 - 6:10 a.m.

CVE-2022-48873 misc: fastrpc: Don't remove map on creater_process and device_release

2024-08-2106:10:04
Linux
www.cve.org
2
linux kernel
fastrpc
create process
device release
use-after-free
vulnerability

EPSS

0

Percentile

5.1%

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

misc: fastrpc: Don’t remove map on creater_process and device_release

Do not remove the map from the list on error path in
fastrpc_init_create_process, instead call fastrpc_map_put, to avoid
use-after-free. Do not remove it on fastrpc_device_release either,
call fastrpc_map_put instead.

The fastrpc_free_map is the only proper place to remove the map.
This is called only after the reference count is 0.

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": "b49f6d83e290",
        "lessThan": "4b5c44e924a5",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "b49f6d83e290",
        "lessThan": "193cd853145b",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "b49f6d83e290",
        "lessThan": "1b7b7bb400dd",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "b49f6d83e290",
        "lessThan": "35ddd482345c",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "b49f6d83e290",
        "lessThan": "5bb96c8f9268",
        "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": "5.2",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "5.2",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.4.230",
        "lessThanOrEqual": "5.4.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.10.165",
        "lessThanOrEqual": "5.10.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.15.90",
        "lessThanOrEqual": "5.15.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.1.8",
        "lessThanOrEqual": "6.1.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.2",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

EPSS

0

Percentile

5.1%