ghsa-pgjf-j2hp-qqxv
Vulnerability from github
Published
2025-05-20 18:30
Modified
2025-05-20 18:30
VLAI Severity ?
Details
In the Linux kernel, the following vulnerability has been resolved:
ksmbd: fix memory leak in parse_lease_state()
The previous patch that added bounds check for create lease context introduced a memory leak. When the bounds check fails, the function returns NULL without freeing the previously allocated lease_ctx_info structure.
This patch fixes the issue by adding kfree(lreq) before returning NULL in both boundary check cases.
{ "affected": [], "aliases": [ "CVE-2025-37962" ], "database_specific": { "cwe_ids": [], "github_reviewed": false, "github_reviewed_at": null, "nvd_published_at": "2025-05-20T16:15:34Z", "severity": null }, "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nksmbd: fix memory leak in parse_lease_state()\n\nThe previous patch that added bounds check for create lease context\nintroduced a memory leak. When the bounds check fails, the function\nreturns NULL without freeing the previously allocated lease_ctx_info\nstructure.\n\nThis patch fixes the issue by adding kfree(lreq) before returning NULL\nin both boundary check cases.", "id": "GHSA-pgjf-j2hp-qqxv", "modified": "2025-05-20T18:30:57Z", "published": "2025-05-20T18:30:56Z", "references": [ { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-37962" }, { "type": "WEB", "url": "https://git.kernel.org/stable/c/2148d34371b06dac696c0497a98a6bf905a51650" }, { "type": "WEB", "url": "https://git.kernel.org/stable/c/829e19ef741d9e9932abdc3bee5466195e0852cf" }, { "type": "WEB", "url": "https://git.kernel.org/stable/c/af9e2d4732a548db8f6f5a90c2c20a789a3d7240" }, { "type": "WEB", "url": "https://git.kernel.org/stable/c/eb4447bcce915b43b691123118893fca4f372a8f" }, { "type": "WEB", "url": "https://git.kernel.org/stable/c/facf22c1a394c1e023dab5daf9a494f722771e1c" } ], "schema_version": "1.4.0", "severity": [] }
Loading…
Loading…
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.
Loading…
Loading…