CVE-2022-49819

MEDIUM

Linux Kernel 5.19-6.0.9 - Use-After-Free in octeon_ep Device Setup

Title source: llm
STIX 2.1

Description

In the Linux kernel, the following vulnerability has been resolved: octeon_ep: fix potential memory leak in octep_device_setup() When occur unsupported_dev and mbox init errors, it did not free oct->conf and iounmap() oct->mmio[i].hw_addr. That would trigger memory leak problem. Add kfree() for oct->conf and iounmap() for oct->mmio[i].hw_addr under unsupported_dev and mbox init errors to fix the problem.

Scores

CVSS v3 5.5
EPSS 0.0014
EPSS Percentile 3.6%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Details

CWE
CWE-401
Status published
Products (9)
linux/Kernel 5.19.0 - 6.0.10linux
Linux/Linux < 5.19
Linux/Linux 5.19
Linux/Linux 6.0.10 - 6.0.*
Linux/Linux 6.1
Linux/Linux 862cd659a6fbac664f1fcdd7149046040a7a7e9c - 67b65a0db8a7fdad43159819f41335497a4bb04f
Linux/Linux 862cd659a6fbac664f1fcdd7149046040a7a7e9c - e4041be97b15302ebfffda8bbd45f3b2d096048f
linux/linux_kernel 6.1 rc1 (5 CPE variants)
linux/linux_kernel 5.19 - 6.0.10
Published May 01, 2025
Tracked Since Feb 18, 2026