CVE-2021-47514

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

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

devlink: fix netns refcount leak in devlinknlcmd_reload()

While preparing my patch series adding netns refcount tracking, I spotted bugs in devlinknlcmd_reload()

Some error paths forgot to release a refcount on a netns.

To fix this, we can reduce the scope of getnet()/putnet() section around the call to devlink_reload().

References

Affected packages

Git /

Affected ranges

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-47514.json"
unresolved_ranges
[
    {
        "events": [
            {
                "introduced": "5.10"
            },
            {
                "fixed": "5.10.85"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "5.11"
            },
            {
                "fixed": "5.15.8"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "5.16-rc1"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "5.16-rc2"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "5.16-rc3"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "5.16-rc4"
            }
        ]
    }
]