CVE-2022-48709

Source
https://nvd.nist.gov/vuln/detail/CVE-2022-48709
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-48709.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2022-48709
Downstream
Related
Published
2024-05-21T15:22:50Z
Modified
2025-10-15T15:03:01.265239Z
Summary
ice: switch: fix potential memleak in ice_add_adv_recipe()
Details

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

ice: switch: fix potential memleak in iceaddadv_recipe()

When iceaddspecialwords() fails, the 'rm' is not released, which will lead to a memory leak. Fix this up by going to 'errunroll' label.

Compile tested only.

References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
8b032a55c1bd5d47527263445aba9dc45144b00d
Fixed
47f4ff6f23f00f5501ff2d7054c1a37c170a7aa0
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
8b032a55c1bd5d47527263445aba9dc45144b00d
Fixed
4a606ce68426c88ff2563382b33cc34f3485fe57

Affected versions

v5.*

v5.15
v5.15-rc7
v5.16
v5.16-rc1
v5.16-rc2
v5.16-rc3
v5.16-rc4
v5.16-rc5
v5.16-rc6
v5.16-rc7
v5.16-rc8
v5.17
v5.17-rc1
v5.17-rc2
v5.17-rc3
v5.17-rc4
v5.17-rc5
v5.17-rc6
v5.17-rc7
v5.17-rc8
v5.18
v5.18-rc1
v5.18-rc2
v5.18-rc3
v5.18-rc4
v5.18-rc5
v5.18-rc6
v5.18-rc7
v5.19
v5.19-rc1
v5.19-rc2
v5.19-rc3
v5.19-rc4
v5.19-rc5
v5.19-rc6
v5.19-rc7
v5.19-rc8

v6.*

v6.0
v6.0-rc1
v6.0-rc2
v6.0-rc3
v6.0-rc4
v6.0-rc5
v6.0-rc6
v6.0-rc7
v6.1
v6.1-rc1
v6.1-rc2
v6.1-rc3
v6.1-rc4
v6.1-rc5
v6.1-rc6
v6.1-rc7
v6.1-rc8
v6.1.1
v6.1.10
v6.1.11
v6.1.2
v6.1.3
v6.1.4
v6.1.5
v6.1.6
v6.1.7
v6.1.8
v6.1.9
v6.2-rc1
v6.2-rc2
v6.2-rc3
v6.2-rc4
v6.2-rc5
v6.2-rc6

Database specific

vanir_signatures

[
    {
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "160855712489733279448931469481701002112",
                "309781341512227939931013987691576631635",
                "262923896920195691706856631056082427455",
                "244612807868656453538909356984604403081"
            ]
        },
        "id": "CVE-2022-48709-4fab080c",
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4a606ce68426c88ff2563382b33cc34f3485fe57",
        "signature_version": "v1",
        "deprecated": false,
        "target": {
            "file": "drivers/net/ethernet/intel/ice/ice_switch.c"
        },
        "signature_type": "Line"
    },
    {
        "digest": {
            "function_hash": "252950430949350815926073128829067278229",
            "length": 3047.0
        },
        "id": "CVE-2022-48709-554ac0bf",
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4a606ce68426c88ff2563382b33cc34f3485fe57",
        "signature_version": "v1",
        "deprecated": false,
        "target": {
            "function": "ice_add_adv_recipe",
            "file": "drivers/net/ethernet/intel/ice/ice_switch.c"
        },
        "signature_type": "Function"
    },
    {
        "digest": {
            "function_hash": "252950430949350815926073128829067278229",
            "length": 3047.0
        },
        "id": "CVE-2022-48709-87b90518",
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@47f4ff6f23f00f5501ff2d7054c1a37c170a7aa0",
        "signature_version": "v1",
        "deprecated": false,
        "target": {
            "function": "ice_add_adv_recipe",
            "file": "drivers/net/ethernet/intel/ice/ice_switch.c"
        },
        "signature_type": "Function"
    },
    {
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "160855712489733279448931469481701002112",
                "309781341512227939931013987691576631635",
                "262923896920195691706856631056082427455",
                "244612807868656453538909356984604403081"
            ]
        },
        "id": "CVE-2022-48709-d0360327",
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@47f4ff6f23f00f5501ff2d7054c1a37c170a7aa0",
        "signature_version": "v1",
        "deprecated": false,
        "target": {
            "file": "drivers/net/ethernet/intel/ice/ice_switch.c"
        },
        "signature_type": "Line"
    }
]

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.12