{"id":"CVE-2022-50512","aliases":["CVE-2022-50512"],"related":[],"kind":"vulnerability","state":"published","title":"ext4: fix potential memory leak in ext4_fc_record_regions()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\next4: fix potential memory leak in ext4_fc_record_regions()\n\nAs krealloc may return NULL, in this case 'state->fc_regions' may not be\nfreed by krealloc, but 'state->fc_regions' already set NULL. Then will\nlead to 'state->fc_regions' memory leak.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\next4: fix potential memory leak in ext4_fc_record_regions()\n\nAs krealloc may return NULL, in this case 'state->fc_regions' may not be\nfreed by krealloc, but 'state->fc_regions' already set NULL. Then will\nlead to 'state->fc_regions' memory leak.","source":"cvelist"}],"published":"2025-10-07T15:19:08.854Z","modified":"2026-06-17T05:23:41.867Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-401"],"affected":[{"ranges":[{"type":"git","introduced":"8016e29f4362e285f0f7e38fadc61a5b7bdfdfa2","fixed":"2cfb769d60a2a57eb3566765428b6131cd16dcfe","status":"affected"},{"type":"git","introduced":"8016e29f4362e285f0f7e38fadc61a5b7bdfdfa2","fixed":"417b0455a0b6d0f60a2930592731d1f8340e24be","status":"affected"},{"type":"git","introduced":"8016e29f4362e285f0f7e38fadc61a5b7bdfdfa2","fixed":"a4058b869e6c5e517c79e30532a350d0f3115c3e","status":"affected"},{"type":"git","introduced":"8016e29f4362e285f0f7e38fadc61a5b7bdfdfa2","fixed":"518566e71ad86b7c2f1bf6d9caee9588bb7ac158","status":"affected"},{"type":"git","introduced":"8016e29f4362e285f0f7e38fadc61a5b7bdfdfa2","fixed":"7069d105c1f15c442b68af43f7fde784f3126739","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.10","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.10","status":"unaffected"},{"type":"semver","introduced":"5.10.150","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.75","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"5.19.17","lastAffected":"5.19.*","status":"unaffected"},{"type":"semver","introduced":"6.0.3","lastAffected":"6.0.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.1","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.10","fixed":"5.10.150"},{"status":"affected","introduced":"5.11","fixed":"5.15.75"},{"status":"affected","introduced":"5.16","fixed":"5.19.17"},{"status":"affected","introduced":"6.0","fixed":"6.0.3"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/2cfb769d60a2a57eb3566765428b6131cd16dcfe","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/417b0455a0b6d0f60a2930592731d1f8340e24be","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a4058b869e6c5e517c79e30532a350d0f3115c3e","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/518566e71ad86b7c2f1bf6d9caee9588bb7ac158","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7069d105c1f15c442b68af43f7fde784f3126739","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-50512","url":"https://www.cve.org/CVERecord?id=CVE-2022-50512","licence":"CVE Terms of Use","modified":"2026-05-11T19:20:51.832Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-50512","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-50512","licence":"Public domain","modified":"2026-06-17T05:23:41.867Z"}],"updatedAt":"2026-11-25T22:58:21.249Z","epss":{"score":0.00159,"percentile":0.05315,"date":"2026-12-01T12:00:22.000Z"}}