ghsa-52fr-53gv-g23j
Vulnerability from github
Published
2025-05-01 15:31
Modified
2025-05-01 15:31
Details
In the Linux kernel, the following vulnerability has been resolved:
fscrypt: fix keyring memory leak on mount failure
Commit d7e7b9af104c ("fscrypt: stop using keyrings subsystem for fscrypt_master_key") moved the keyring destruction from __put_super() to generic_shutdown_super() so that the filesystem's block device(s) are still available. Unfortunately, this causes a memory leak in the case where a mount is attempted with the test_dummy_encryption mount option, but the mount fails after the option has already been processed.
To fix this, attempt the keyring destruction in both places.
{ "affected": [], "aliases": [ "CVE-2022-49897" ], "database_specific": { "cwe_ids": [], "github_reviewed": false, "github_reviewed_at": null, "nvd_published_at": "2025-05-01T15:16:14Z", "severity": null }, "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nfscrypt: fix keyring memory leak on mount failure\n\nCommit d7e7b9af104c (\"fscrypt: stop using keyrings subsystem for\nfscrypt_master_key\") moved the keyring destruction from __put_super() to\ngeneric_shutdown_super() so that the filesystem\u0027s block device(s) are\nstill available. Unfortunately, this causes a memory leak in the case\nwhere a mount is attempted with the test_dummy_encryption mount option,\nbut the mount fails after the option has already been processed.\n\nTo fix this, attempt the keyring destruction in both places.", "id": "GHSA-52fr-53gv-g23j", "modified": "2025-05-01T15:31:52Z", "published": "2025-05-01T15:31:52Z", "references": [ { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-49897" }, { "type": "WEB", "url": "https://git.kernel.org/stable/c/0b1747653b102c555bac745ebe5ca86cdd20e43f" }, { "type": "WEB", "url": "https://git.kernel.org/stable/c/29997a6fa60de1de2fa0de471e7652efa6e95868" }, { "type": "WEB", "url": "https://git.kernel.org/stable/c/ccd30a476f8e864732de220bd50e6f372f5ebcab" }, { "type": "WEB", "url": "https://git.kernel.org/stable/c/cff805b1518f38d57866065343db2285f2dcd5ab" } ], "schema_version": "1.4.0", "severity": [] }
Loading...
Loading...
- 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.