Skip to main content
Network Thinking Solutions Logo

CVE-2022-50474

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.

All CVEs
CVE-2022-50474Published 10/4/2025

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.

Vendor advisory
CVSS5.5Medium

Overview

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.

Published
10/4/2025
Last modified
6/17/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
≥ 2.6.30, < 4.9.337

Verify advisory

Source
linux kernel
linux
≥ 4.10, < 4.14.303

Verify advisory

Source
linux kernel
linux
≥ 4.15, < 4.19.270

Verify advisory

Source
linux kernel
linux
≥ 4.20, < 5.4.229

Verify advisory

Source
linux kernel
linux
≥ 5.5, < 5.10.163

Verify advisory

Source
linux kernel
linux
≥ 5.11, < 5.15.86

Verify advisory

Source
linux kernel
linux
≥ 5.16, < 6.0.16

Verify advisory

Source
linux kernel
linux
≥ 6.1, < 6.1.2

Verify advisory

Source
Linux
Linux
≥ 1fa5ae857bb14f6046205171d98506d8112dd74e, < 3a866ff6fc2232c8e393cdb55ffb8ce947349e03

Verify advisory

Source
Linux
Linux
≥ 1fa5ae857bb14f6046205171d98506d8112dd74e, < aa9054267366ff0a382d403d17728e21951ddbb9

Verify advisory

Source
Linux
Linux
≥ 1fa5ae857bb14f6046205171d98506d8112dd74e, < 35858b87a943917fa30172aa4bf01ce7adbcb42c

Verify advisory

Source
Linux
Linux
≥ 1fa5ae857bb14f6046205171d98506d8112dd74e, < b29a2f1dd33ae9b94821ab2f4d398b9081786748

Verify advisory

Source
Linux
Linux
≥ 1fa5ae857bb14f6046205171d98506d8112dd74e, < 2ac0a7059b7bcbed35bfffa34a82c9a9e99638ef

Verify advisory

Source
Linux
Linux
≥ 1fa5ae857bb14f6046205171d98506d8112dd74e, < 19ded60b40e86b0903c8d5bd0161437ed5107a8b

Verify advisory

Source
Linux
Linux
≥ 1fa5ae857bb14f6046205171d98506d8112dd74e, < ca765257feb89dacf604ced9cd233db5f865dee0

Verify advisory

Source
Linux
Linux
≥ 1fa5ae857bb14f6046205171d98506d8112dd74e, < 76837e7f6b30da72ad59f56291e22804a219e015

Verify advisory

Source
Linux
Linux
≥ 1fa5ae857bb14f6046205171d98506d8112dd74e, < 5ca86eae55a2f006e6c1edd2029b2cacb6979515

Verify advisory

Source
Linux
Linux
2.6.30

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 5.5. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.