{"id":"CVE-2025-38612","aliases":["CVE-2025-38612"],"related":[],"kind":"vulnerability","state":"published","title":"staging: fbtft: fix potential memory leak in fbtft_framebuffer_alloc()","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nstaging: fbtft: fix potential memory leak in fbtft_framebuffer_alloc()\n\nIn the error paths after fb_info structure is successfully allocated,\nthe memory allocated in fb_deferred_io_init() for info->pagerefs is not\nfreed. Fix that by adding the cleanup function on the error path.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nstaging: fbtft: fix potential memory leak in fbtft_framebuffer_alloc()\n\nIn the error paths after fb_info structure is successfully allocated,\nthe memory allocated in fb_deferred_io_init() for info->pagerefs is not\nfreed. Fix that by adding the cleanup function on the error path.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: staging: fbtft: se corrige una posible fuga de memoria en fbtft_framebuffer_alloc(). En las rutas de error, tras la asignación correcta de la estructura fb_info, la memoria asignada en fb_deferred_io_init() para info-&gt;pagerefs no se libera. Para solucionar esto, se añade la función de limpieza en la ruta de error.","source":"nvd"}],"published":"2025-08-19T17:03:54.797Z","modified":"2026-06-17T09:17:12.857Z","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":"c296d5f9957c03994a699d6739c27d4581a9f6c7","fixed":"83ea0c7b8d12c67f6c4703d6c458627a7fc45fc0","status":"affected"},{"type":"git","introduced":"c296d5f9957c03994a699d6739c27d4581a9f6c7","fixed":"c3b1c45c48117ed4d8797ee89d1155f16b72d490","status":"affected"},{"type":"git","introduced":"c296d5f9957c03994a699d6739c27d4581a9f6c7","fixed":"3290f62f23fae05f2ec34085eb86dfb3648ef91f","status":"affected"},{"type":"git","introduced":"c296d5f9957c03994a699d6739c27d4581a9f6c7","fixed":"6f9e2cf9e9c1a891a683329af35bb33ed9d38b5f","status":"affected"},{"type":"git","introduced":"c296d5f9957c03994a699d6739c27d4581a9f6c7","fixed":"b31cf6f7716a5d3e4461763f32d812acdaec6e74","status":"affected"},{"type":"git","introduced":"c296d5f9957c03994a699d6739c27d4581a9f6c7","fixed":"a3177955f8da3c826a18b75e54881e2e9a9c96f1","status":"affected"},{"type":"git","introduced":"c296d5f9957c03994a699d6739c27d4581a9f6c7","fixed":"6771f121ae87490ddc19eabb7450383af9e01b6d","status":"affected"},{"type":"git","introduced":"c296d5f9957c03994a699d6739c27d4581a9f6c7","fixed":"47b3d6e8921bbb7b65c2dab8eaa8864901848c1c","status":"affected"},{"type":"git","introduced":"c296d5f9957c03994a699d6739c27d4581a9f6c7","fixed":"eb2cb7dab60f9be0b435ac4a674255429a36d72c","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.0","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.0","status":"unaffected"},{"type":"semver","introduced":"5.4.297","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.241","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.190","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.148","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.102","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.42","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.15.10","lastAffected":"6.15.*","status":"unaffected"},{"type":"semver","introduced":"6.16.1","lastAffected":"6.16.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.17","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":"4.0","fixed":"5.4.297"},{"status":"affected","introduced":"5.5","fixed":"5.10.241"},{"status":"affected","introduced":"5.11","fixed":"5.15.190"},{"status":"affected","introduced":"5.16","fixed":"6.1.148"},{"status":"affected","introduced":"6.2","fixed":"6.6.102"},{"status":"affected","introduced":"6.7","fixed":"6.12.42"},{"status":"affected","introduced":"6.13","fixed":"6.15.10"},{"status":"affected","introduced":"6.16","fixed":"6.16.1"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"11.0"}],"vendor":"debian","product":"debian_linux","cpe":"cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/83ea0c7b8d12c67f6c4703d6c458627a7fc45fc0","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/c3b1c45c48117ed4d8797ee89d1155f16b72d490","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3290f62f23fae05f2ec34085eb86dfb3648ef91f","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6f9e2cf9e9c1a891a683329af35bb33ed9d38b5f","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b31cf6f7716a5d3e4461763f32d812acdaec6e74","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a3177955f8da3c826a18b75e54881e2e9a9c96f1","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6771f121ae87490ddc19eabb7450383af9e01b6d","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/47b3d6e8921bbb7b65c2dab8eaa8864901848c1c","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/eb2cb7dab60f9be0b435ac4a674255429a36d72c","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html","tags":["third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-38612","url":"https://www.cve.org/CVERecord?id=CVE-2025-38612","licence":"CVE Terms of Use","modified":"2026-05-11T21:31:34.829Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-38612","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-38612","licence":"Public domain","modified":"2026-06-17T09:17:12.857Z"}],"updatedAt":"2026-11-25T22:59:02.775Z","epss":{"score":0.00207,"percentile":0.11389,"date":"2026-12-01T12:00:22.000Z"}}