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-50474

published

macintosh: fix possible memory leak in macio_add_one_device()

Published
04 Oct 2025, 15:16:35 UTC
Updated
11 May 2026, 19:20:11 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux1fa5ae857bb14f6046205171d98506d8112dd74e to < 3a866ff6fc2232c8e393cdb55ffb8ce947349e03 · 1fa5ae857bb14f6046205171d98506d8112dd74e to < aa9054267366ff0a382d403d17728e21951ddbb9 · 1fa5ae857bb14f6046205171d98506d8112dd74e to < 35858b87a943917fa30172aa4bf01ce7adbcb42c · 1fa5ae857bb14f6046205171d98506d8112dd74e to < b29a2f1dd33ae9b94821ab2f4d398b9081786748 · 1fa5ae857bb14f6046205171d98506d8112dd74e to < 2ac0a7059b7bcbed35bfffa34a82c9a9e99638ef · 1fa5ae857bb14f6046205171d98506d8112dd74e to < 19ded60b40e86b0903c8d5bd0161437ed5107a8b · 1fa5ae857bb14f6046205171d98506d8112dd74e to < ca765257feb89dacf604ced9cd233db5f865dee0 · 1fa5ae857bb14f6046205171d98506d8112dd74e to < 76837e7f6b30da72ad59f56291e22804a219e015 · 1fa5ae857bb14f6046205171d98506d8112dd74e to < 5ca86eae55a2f006e6c1edd2029b2cacb6979515 · Other versions: unaffected Affected Not stated Linux
Linux — Linux2.6.30 (affected) · 0 to < 2.6.30 (unaffected · semver) · 4.9.337 through 4.9.* (unaffected · semver) · 4.14.303 through 4.14.* (unaffected · semver) · 4.19.270 through 4.19.* (unaffected · semver) · 5.4.229 through 5.4.* (unaffected · semver) · 5.10.163 through 5.10.* (unaffected · semver) · 5.15.86 through 5.15.* (unaffected · semver) · 6.0.16 through 6.0.* (unaffected · semver) · 6.1.2 through 6.1.* (unaffected · semver) · 6.2 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluationALAS2-2023-1932 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.10-2023-026 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.15-2023-012 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 Release evaluationALAS2KERNEL-5.4-2023-042 Fixed Not stated Amazon Linux assessment
Amazon Linux AL2 kernelaarch64 Listed in advisory Not stated ALAS2-2023-1932
Amazon Linux AL2 kernelaarch64 Listed in advisory Not stated ALAS2KERNEL-5.10-2023-026
Show 15 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2 kernelaarch64 Listed in advisory Not stated ALAS2KERNEL-5.15-2023-012
Amazon Linux AL2 kernelaarch64 Listed in advisory Not stated ALAS2KERNEL-5.4-2023-042
Amazon Linux AL2 kerneli686 Listed in advisory Not stated ALAS2-2023-1932
Amazon Linux AL2 kerneli686 Listed in advisory Not stated ALAS2KERNEL-5.10-2023-026
Amazon Linux AL2 kerneli686 Listed in advisory Not stated ALAS2KERNEL-5.15-2023-012
Amazon Linux AL2 kerneli686 Listed in advisory Not stated ALAS2KERNEL-5.4-2023-042
Amazon Linux AL2 kernelsrc Listed in advisory Not stated ALAS2-2023-1932
Amazon Linux AL2 kernelsrc Listed in advisory Not stated ALAS2KERNEL-5.10-2023-026
Amazon Linux AL2 kernelsrc Listed in advisory Not stated ALAS2KERNEL-5.15-2023-012
Amazon Linux AL2 kernelsrc Listed in advisory Not stated ALAS2KERNEL-5.4-2023-042
Amazon Linux AL2 kernelx86_64 Listed in advisory Not stated ALAS2-2023-1932
Amazon Linux AL2 kernelx86_64 Listed in advisory Not stated ALAS2KERNEL-5.10-2023-026
Amazon Linux AL2 kernelx86_64 Listed in advisory Not stated ALAS2KERNEL-5.15-2023-012
Amazon Linux AL2 kernelx86_64 Listed in advisory Not stated ALAS2KERNEL-5.4-2023-042

Description

In the Linux kernel, the following vulnerability has been resolved: macintosh: fix possible memory leak in macio_add_one_device() Afer commit 1fa5ae857bb1 ("driver core: get rid of struct device's bus_id string array"), the name of device is allocated dynamically. It needs to be freed when of_device_register() fails. Call put_device() to give up the reference that's taken in device_initialize(), so that it can be freed in kobject_cleanup() when the refcount hits 0. macio device is freed in macio_release_dev(), so the kfree() can be removed.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

4

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 1fa5ae857bb14f6046205171d98506d8112dd74e to < 3a866ff6fc2232c8e393cdb55ffb8ce947349e03 (affected · git)1fa5ae857bb14f6046205171d98506d8112dd74e to < aa9054267366ff0a382d403d17728e21951ddbb9 (affected · git)1fa5ae857bb14f6046205171d98506d8112dd74e to < 35858b87a943917fa30172aa4bf01ce7adbcb42c (affected · git)1fa5ae857bb14f6046205171d98506d8112dd74e to < b29a2f1dd33ae9b94821ab2f4d398b9081786748 (affected · git)1fa5ae857bb14f6046205171d98506d8112dd74e to < 2ac0a7059b7bcbed35bfffa34a82c9a9e99638ef (affected · git)1fa5ae857bb14f6046205171d98506d8112dd74e to < 19ded60b40e86b0903c8d5bd0161437ed5107a8b (affected · git)1fa5ae857bb14f6046205171d98506d8112dd74e to < ca765257feb89dacf604ced9cd233db5f865dee0 (affected · git)1fa5ae857bb14f6046205171d98506d8112dd74e to < 76837e7f6b30da72ad59f56291e22804a219e015 (affected · git)1fa5ae857bb14f6046205171d98506d8112dd74e to < 5ca86eae55a2f006e6c1edd2029b2cacb6979515 (affected · git)Default: unaffected Linux · cna
Linux Linux 2.6.30 (affected)0 to < 2.6.30 (unaffected · semver)4.9.337 through 4.9.* (unaffected · semver)4.14.303 through 4.14.* (unaffected · semver)4.19.270 through 4.19.* (unaffected · semver)5.4.229 through 5.4.* (unaffected · semver)5.10.163 through 5.10.* (unaffected · semver)5.15.86 through 5.15.* (unaffected · semver)6.0.16 through 6.0.* (unaffected · semver)6.1.2 through 6.1.* (unaffected · semver)6.2 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

9

Provider assertions

1

Linux · cna

macintosh: fix possible memory leak in macio_add_one_device()

Provenance

Schema
5.2
Searchable
yes
Content hash
a7f18b35db2033cd97d429c29c277ae8abd865265842c8bee803720e26bdeb19
Ingested
23 Sep 2026, 08:04:48 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