Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2022-50170

published

kunit: executor: Fix a memory leak on failure in kunit_filter_tests

Published
18 Jun 2025, 11:03:23 UTC
Updated
23 May 2026, 15:23:47 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linuxbd8b222a0002872bb229f6c755672a093ef93ea4 to < a8a7e3ced362b88b659ab54239990196ff975982 · a02353f491622e49c7ddedc6a6dc4f1d6ed2150a to < 7d69764fa3442c7615a75c6b5c02eaa1f274bccf · a02353f491622e49c7ddedc6a6dc4f1d6ed2150a to < 94681e289bf5d10c9db9db143d1a22d8717205c5 · 80cf4932c2545bc231e933d869511008c36af1e0 · 5.18.3 to < 5.18.18 · 5.17.14 to < 5.18 · Other versions: unaffected Affected Not stated Linux
Linux — Linux5.19 (affected) · 0 to < 5.19 (unaffected · semver) · 5.18.18 through 5.18.* (unaffected · semver) · 5.19.2 through 5.19.* (unaffected · semver) · 6.0 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment

Description

In the Linux kernel, the following vulnerability has been resolved: kunit: executor: Fix a memory leak on failure in kunit_filter_tests It's possible that memory allocation for 'filtered' will fail, but for the copy of the suite to succeed. In this case, the copy could be leaked. Properly free 'copy' in the error case for the allocation of 'filtered' failing. Note that there may also have been a similar issue in kunit_filter_subsuites, before it was removed in "kunit: flatten kunit_suite*** to kunit_suite** in .kunit_test_suites". This was reported by clang-analyzer via the kernel test robot, here: https://lore.kernel.org/all/[email protected]/ And by smatch via Dan Carpenter and the kernel test robot: https://lore.kernel.org/all/[email protected]/

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

No normalized assessments.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux bd8b222a0002872bb229f6c755672a093ef93ea4 to < a8a7e3ced362b88b659ab54239990196ff975982 (affected · git)a02353f491622e49c7ddedc6a6dc4f1d6ed2150a to < 7d69764fa3442c7615a75c6b5c02eaa1f274bccf (affected · git)a02353f491622e49c7ddedc6a6dc4f1d6ed2150a to < 94681e289bf5d10c9db9db143d1a22d8717205c5 (affected · git)80cf4932c2545bc231e933d869511008c36af1e0 (affected · git)5.18.3 to < 5.18.18 (affected · semver)5.17.14 to < 5.18 (affected · semver)Default: unaffected Linux · cna
Linux Linux 5.19 (affected)0 to < 5.19 (unaffected · semver)5.18.18 through 5.18.* (unaffected · semver)5.19.2 through 5.19.* (unaffected · semver)6.0 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

3

Provider assertions

1

Linux · cna

kunit: executor: Fix a memory leak on failure in kunit_filter_tests

Provenance

Schema
5.2
Searchable
yes
Content hash
ccbe8b4640be4646bd5b89a958caed99ff73207ec8e18f87222fa13906c998a9
Ingested
23 Sep 2026, 08:04:39 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected