{"id":"CVE-2025-38612","summary":"staging: fbtft: fix potential memory leak in fbtft_framebuffer_alloc()","details":"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-\u003epagerefs is not\nfreed. Fix that by adding the cleanup function on the error path.","modified":"2026-03-20T12:42:56.567439Z","published":"2025-08-19T17:03:54.797Z","related":["MGASA-2025-0234","MGASA-2025-0235","SUSE-SU-2025:03272-1","SUSE-SU-2025:03290-1","SUSE-SU-2025:03301-1","SUSE-SU-2025:03382-1","SUSE-SU-2025:03602-1","SUSE-SU-2025:03633-1","SUSE-SU-2025:03634-1","SUSE-SU-2025:20653-1","SUSE-SU-2025:20669-1","SUSE-SU-2025:20739-1","SUSE-SU-2025:20756-1","SUSE-SU-2025:21074-1","SUSE-SU-2025:21139-1","SUSE-SU-2025:21179-1","openSUSE-SU-2025:20081-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38612.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/3290f62f23fae05f2ec34085eb86dfb3648ef91f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/47b3d6e8921bbb7b65c2dab8eaa8864901848c1c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6771f121ae87490ddc19eabb7450383af9e01b6d"},{"type":"WEB","url":"https://git.kernel.org/stable/c/6f9e2cf9e9c1a891a683329af35bb33ed9d38b5f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/83ea0c7b8d12c67f6c4703d6c458627a7fc45fc0"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a3177955f8da3c826a18b75e54881e2e9a9c96f1"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b31cf6f7716a5d3e4461763f32d812acdaec6e74"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c3b1c45c48117ed4d8797ee89d1155f16b72d490"},{"type":"WEB","url":"https://git.kernel.org/stable/c/eb2cb7dab60f9be0b435ac4a674255429a36d72c"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00008.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38612.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-38612"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"c296d5f9957c03994a699d6739c27d4581a9f6c7"},{"fixed":"83ea0c7b8d12c67f6c4703d6c458627a7fc45fc0"},{"fixed":"c3b1c45c48117ed4d8797ee89d1155f16b72d490"},{"fixed":"3290f62f23fae05f2ec34085eb86dfb3648ef91f"},{"fixed":"6f9e2cf9e9c1a891a683329af35bb33ed9d38b5f"},{"fixed":"b31cf6f7716a5d3e4461763f32d812acdaec6e74"},{"fixed":"a3177955f8da3c826a18b75e54881e2e9a9c96f1"},{"fixed":"6771f121ae87490ddc19eabb7450383af9e01b6d"},{"fixed":"47b3d6e8921bbb7b65c2dab8eaa8864901848c1c"},{"fixed":"eb2cb7dab60f9be0b435ac4a674255429a36d72c"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-38612.json"}}],"schema_version":"1.7.5"}