CVE-2023-53050

Source
https://cve.org/CVERecord?id=CVE-2023-53050
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-53050.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2023-53050
Downstream
Published
2025-05-02T15:55:06.355Z
Modified
2026-02-24T11:29:46.313513Z
Summary
thunderbolt: Fix memory leak in margining
Details

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

thunderbolt: Fix memory leak in margining

Memory for the usb4->margining needs to be relased for the upstream port of the router as well, even though the debugfs directory gets released with the router device removal. Fix this.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53050.json"
}
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
d0f1e0c2a6990922818d6616a48d3d92bb7ddac1
Fixed
f390095bbd131ec2dfb29792d9f6fd0f0656bfc0
Fixed
0b357b360e671688f9bf38ff94300515b68bc247
Fixed
acec726473822bc6b585961f4ca2a11fa7f28341

Affected versions

v6.*
v6.0
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.12
v6.1.13
v6.1.14
v6.1.15
v6.1.16
v6.1.17
v6.1.18
v6.1.19
v6.1.2
v6.1.20
v6.1.21
v6.1.3
v6.1.4
v6.1.5
v6.1.6
v6.1.7
v6.1.8
v6.1.9
v6.2
v6.2-rc1
v6.2-rc2
v6.2-rc3
v6.2-rc4
v6.2-rc5
v6.2-rc6
v6.2-rc7
v6.2-rc8
v6.2.1
v6.2.2
v6.2.3
v6.2.4
v6.2.5
v6.2.6
v6.2.7
v6.2.8
v6.3-rc1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-53050.json"
vanir_signatures
[
    {
        "id": "CVE-2023-53050-075d0b6b",
        "digest": {
            "length": 203.0,
            "function_hash": "217030031462783830785301798568209819092"
        },
        "signature_type": "Function",
        "target": {
            "file": "drivers/thunderbolt/debugfs.c",
            "function": "margining_switch_remove"
        },
        "signature_version": "v1",
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@acec726473822bc6b585961f4ca2a11fa7f28341",
        "deprecated": false
    },
    {
        "id": "CVE-2023-53050-0c2edf55",
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "203627054677347828985011033727858514755",
                "59665730127601410522664955969074261451",
                "292777738586399603772175442175046294963",
                "145259068434556436625702222471796994371",
                "219284973050523719148407746430465279642",
                "208911274755107606599479663024466184739",
                "310056328663918410548393799007237074951",
                "340043020023236221310625203639614849932",
                "317054978145692993252215533574113126007",
                "255416892335488384970040889604824800366",
                "303546564743073588942060464022267543465",
                "215130223093689765824608216104845173523",
                "180584609031669789525468214634575974782",
                "225278389013965804117440523768868649434",
                "108712162459261132236188716409324024575"
            ]
        },
        "signature_type": "Line",
        "target": {
            "file": "drivers/thunderbolt/debugfs.c"
        },
        "signature_version": "v1",
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@f390095bbd131ec2dfb29792d9f6fd0f0656bfc0",
        "deprecated": false
    },
    {
        "id": "CVE-2023-53050-1ea355da",
        "digest": {
            "length": 203.0,
            "function_hash": "217030031462783830785301798568209819092"
        },
        "signature_type": "Function",
        "target": {
            "file": "drivers/thunderbolt/debugfs.c",
            "function": "margining_switch_remove"
        },
        "signature_version": "v1",
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0b357b360e671688f9bf38ff94300515b68bc247",
        "deprecated": false
    },
    {
        "id": "CVE-2023-53050-4e107c44",
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "203627054677347828985011033727858514755",
                "59665730127601410522664955969074261451",
                "292777738586399603772175442175046294963",
                "145259068434556436625702222471796994371",
                "219284973050523719148407746430465279642",
                "208911274755107606599479663024466184739",
                "310056328663918410548393799007237074951",
                "340043020023236221310625203639614849932",
                "317054978145692993252215533574113126007",
                "255416892335488384970040889604824800366",
                "303546564743073588942060464022267543465",
                "215130223093689765824608216104845173523",
                "180584609031669789525468214634575974782",
                "225278389013965804117440523768868649434",
                "108712162459261132236188716409324024575"
            ]
        },
        "signature_type": "Line",
        "target": {
            "file": "drivers/thunderbolt/debugfs.c"
        },
        "signature_version": "v1",
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@acec726473822bc6b585961f4ca2a11fa7f28341",
        "deprecated": false
    },
    {
        "id": "CVE-2023-53050-67bac88d",
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "203627054677347828985011033727858514755",
                "59665730127601410522664955969074261451",
                "292777738586399603772175442175046294963",
                "145259068434556436625702222471796994371",
                "219284973050523719148407746430465279642",
                "208911274755107606599479663024466184739",
                "310056328663918410548393799007237074951",
                "340043020023236221310625203639614849932",
                "317054978145692993252215533574113126007",
                "255416892335488384970040889604824800366",
                "303546564743073588942060464022267543465",
                "215130223093689765824608216104845173523",
                "180584609031669789525468214634575974782",
                "225278389013965804117440523768868649434",
                "108712162459261132236188716409324024575"
            ]
        },
        "signature_type": "Line",
        "target": {
            "file": "drivers/thunderbolt/debugfs.c"
        },
        "signature_version": "v1",
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0b357b360e671688f9bf38ff94300515b68bc247",
        "deprecated": false
    },
    {
        "id": "CVE-2023-53050-9c5dc657",
        "digest": {
            "length": 350.0,
            "function_hash": "185876006490385577403255051037947940549"
        },
        "signature_type": "Function",
        "target": {
            "file": "drivers/thunderbolt/debugfs.c",
            "function": "margining_port_remove"
        },
        "signature_version": "v1",
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@f390095bbd131ec2dfb29792d9f6fd0f0656bfc0",
        "deprecated": false
    },
    {
        "id": "CVE-2023-53050-b952b44e",
        "digest": {
            "length": 350.0,
            "function_hash": "185876006490385577403255051037947940549"
        },
        "signature_type": "Function",
        "target": {
            "file": "drivers/thunderbolt/debugfs.c",
            "function": "margining_port_remove"
        },
        "signature_version": "v1",
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@acec726473822bc6b585961f4ca2a11fa7f28341",
        "deprecated": false
    },
    {
        "id": "CVE-2023-53050-e6d8949b",
        "digest": {
            "length": 350.0,
            "function_hash": "185876006490385577403255051037947940549"
        },
        "signature_type": "Function",
        "target": {
            "file": "drivers/thunderbolt/debugfs.c",
            "function": "margining_port_remove"
        },
        "signature_version": "v1",
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0b357b360e671688f9bf38ff94300515b68bc247",
        "deprecated": false
    },
    {
        "id": "CVE-2023-53050-ec689068",
        "digest": {
            "length": 203.0,
            "function_hash": "217030031462783830785301798568209819092"
        },
        "signature_type": "Function",
        "target": {
            "file": "drivers/thunderbolt/debugfs.c",
            "function": "margining_switch_remove"
        },
        "signature_version": "v1",
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@f390095bbd131ec2dfb29792d9f6fd0f0656bfc0",
        "deprecated": false
    }
]

Git / github.com/gregkh/linux

Affected versions

v6.*
v6.1
v6.1.1
v6.1.10
v6.1.11
v6.1.12
v6.1.13
v6.1.14
v6.1.15
v6.1.16
v6.1.17
v6.1.18
v6.1.19
v6.1.2
v6.1.20
v6.1.21
v6.1.3
v6.1.4
v6.1.5
v6.1.6
v6.1.7
v6.1.8
v6.1.9
v6.2
v6.2-rc1
v6.2-rc2
v6.2-rc3
v6.2-rc4
v6.2-rc5
v6.2-rc6
v6.2-rc7
v6.2-rc8
v6.2.1
v6.2.2
v6.2.3
v6.2.4
v6.2.5
v6.2.6
v6.2.7
v6.2.8

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-53050.json"