CVE-2021-46962

Source
https://cve.org/CVERecord?id=CVE-2021-46962
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-46962.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2021-46962
Downstream
Related
Published
2024-02-27T19:04:06.960Z
Modified
2026-03-13T05:16:30.071072Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
Summary
[none]
Details

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

mmc: uniphier-sd: Fix a resource leak in the remove function

A 'tmiommchostfree()' call is missing in the remove function, in order to balance a 'tmiommchostalloc()' call in the probe. This is done in the error handling path of the probe, but not in the remove function.

Add the missing call.

References

Affected packages

Git /

Affected ranges

Database specific

unresolved_ranges
[
    {
        "events": [
            {
                "introduced": "4.20"
            },
            {
                "fixed": "5.4.118"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "5.5"
            },
            {
                "fixed": "5.10.36"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "5.11"
            },
            {
                "fixed": "5.11.20"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "5.12"
            },
            {
                "fixed": "5.12.3"
            }
        ]
    }
]
source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-46962.json"