Public mode

No access to your tenant or devices. Every item links to its source. What this means

Sources need attention Customize Public modeDiscuss ChangeIntel on Discord

usb: gadget: f_ecm: Refactor bind path to use __free()

CVSS 3.1 7.8 HIGHCheck source for fixed versionsKEV status unknown

cve-program · CVE-2025-40093

Published

In the Linux kernel, the following vulnerability has been resolved: usb: gadget: f_ecm: Refactor bind path to use __free() After an bind/unbind cycle, the ecm->notify_req is left stale. If a subsequent bind fails, the unified error label attempts to free this stale request, leading to a NULL pointer dereference when accessing ep->ops->free_request. Refactor the error handling in the bind path to use the __free() automatic cleanup mechanism.

Read the publisher's advisory

Affected versions, risk and source history

cve-program · CVE-2025-40093

Published

Linux

Vendor product

Publisher's version information

Shown as published. These rules are not interpreted as NuGet package version ranges.

{
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/usb/gadget/function/f_ecm.c"
                    ],
                    "versions": [
                        {
                            "version": "da741b8c56d612b5dd26ffa31341911a5fea23ee",
                            "lessThan": "d3745aaef19198d0c81637a7dd50ef53c4f879b7",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "da741b8c56d612b5dd26ffa31341911a5fea23ee",
                            "lessThan": "070f341d86cf2c098d63e484a86c7c1d2696a868",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "da741b8c56d612b5dd26ffa31341911a5fea23ee",
                            "lessThan": "15b9faf53ba8719700596e7ef78879ce200e8c2e",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "da741b8c56d612b5dd26ffa31341911a5fea23ee",
                            "lessThan": "4630c68bade82f087eaaab22e9a361da2f18d139",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "da741b8c56d612b5dd26ffa31341911a5fea23ee",
                            "lessThan": "42988380ac67c76bb9dff8f77d7ef3eefd50b7b5",
                            "status": "affected",
                            "versionType": "git"
                        }
                    ]
                }

Linux

Vendor product

Publisher's version information

Shown as published. These rules are not interpreted as NuGet package version ranges.

{
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/usb/gadget/function/f_ecm.c"
                    ],
                    "versions": [
                        {
                            "version": "2.6.27",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "2.6.27",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.1.158",
                            "lessThanOrEqual": "6.1.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.6.114",
                            "lessThanOrEqual": "6.6.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.12.55",
                            "lessThanOrEqual": "6.12.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.17.5",
                            "lessThanOrEqual": "6.17.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.18",
                            "lessThanOrEqual": "*",
                            "status": "unaffected",
                            "versionType": "original_commit_for_fix"
                        }
                    ]
                }

Original source record · Cite this exact observation · Complete original publisher JSON

ChangeIntel

An IT change radar: releases, security, known issues, retirements, documentation changes, and service status from public sources. Every item links to supporting evidence; dates and statuses can change after they are read.

Sources read 22 Nov 23:56 UTC · 274 of 275 readable · 270 fully read · documentation 469/469 current