{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2023-53170",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2025-09-15T13:59:19.064Z",
        "datePublished": "2025-09-15T14:04:03.446Z",
        "dateUpdated": "2026-08-05T09:12:54.214Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-08-05T09:12:54.214Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nnet: dsa: Removed unneeded of_node_put in felix_parse_ports_node\n\nRemove unnecessary of_node_put from the continue path to prevent\nchild node from being released twice, which could avoid resource\nleak or other unexpected issues."
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "version": "3.1",
                        "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
                        "baseScore": 7.8,
                        "baseSeverity": "HIGH"
                    },
                    "scenarios": [
                        {
                            "lang": "en",
                            "value": "AV:L - The bug is in felix_parse_ports_node during DSA switch setup, reached only via local PCI/platform probe (felix_pci_probe/ocelot_ext_probe → dsa_register_switch → felix_setup → felix_parse_dt). There is no network or packet path to this DT-parsing code.\nAC:L - On affected VSC7512 deployments (ports with OCELOT_PORT_MODE_NONE in the vulnerable window) whose DT still lists those ports with a phy-mode, the extra of_node_put on the continue path runs deterministically every probe with no race or attacker-uncontrollable timing requirement.\nPR:L - The double put occurs automatically during boot-time driver probe on that hardware/DT configuration with no capability check on the parse path; per the higher-severity reading used for similar probe-time of_node_put underflow bugs, a basic local user is treated as sufficient rather than requiring real root to create the condition.\nUI:N - Probe and DT port parsing run as part of normal driver initialization; no victim action such as mounting a filesystem or opening a device is required.\nS:U - The corrupted object is a kernel device_node/kobject and any resulting underflow or use-after-free remains inside the kernel's own security authority; no VM, IOMMU, or sandbox boundary is crossed.\nC:H - The unbalanced of_node_put drives the device_node kobject to refcount zero, producing a zombie kobject (and on OF_DYNAMIC/overlay platforms a free-while-referenced device_node), which is a use-after-free read primitive; of_node_release also dump_stacks kernel addresses. Use-after-free is scored High for confidentiality.\nI:H - A device_node/kobject left at refcount zero or freed while still linked in the tree is a heap-spray target whose fields can be overwritten, converting the underflow into an arbitrary-write and control-flow hijack primitive. Use-after-free is scored High for integrity.\nA:H - The second put hits refcount_warn_saturate() (\"refcount_t: underflow; use-after-free\"), which is fatal under panic_on_warn, and the resulting corrupted/zombie kobject causes kernel oopses even when not fully exploited."
                        }
                    ]
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/net/dsa/ocelot/felix.c"
                    ],
                    "versions": [
                        {
                            "version": "de879a016a94a670fafeb3eb03b3d5803d81ab37",
                            "lessThan": "7ead10b44b79ce8bfcd51e749d54e009de5f511a",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "de879a016a94a670fafeb3eb03b3d5803d81ab37",
                            "lessThan": "04499f28b40bfc24f20b0e2331008bb90a54a6cf",
                            "status": "affected",
                            "versionType": "git"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/net/dsa/ocelot/felix.c"
                    ],
                    "versions": [
                        {
                            "version": "6.3",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "6.3",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.4.5",
                            "lessThanOrEqual": "6.4.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.5",
                            "lessThanOrEqual": "*",
                            "status": "unaffected",
                            "versionType": "original_commit_for_fix"
                        }
                    ]
                }
            ],
            "cpeApplicability": [
                {
                    "nodes": [
                        {
                            "operator": "OR",
                            "negate": false,
                            "cpeMatch": [
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.3",
                                    "versionEndExcluding": "6.4.5"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.3",
                                    "versionEndExcluding": "6.5"
                                }
                            ]
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://git.kernel.org/stable/c/7ead10b44b79ce8bfcd51e749d54e009de5f511a"
                },
                {
                    "url": "https://git.kernel.org/stable/c/04499f28b40bfc24f20b0e2331008bb90a54a6cf"
                }
            ],
            "title": "net: dsa: Removed unneeded of_node_put in felix_parse_ports_node",
            "x_generator": {
                "engine": "bippy-1.2.0"
            }
        }
    }
}