5.5 CVE-2025-38612

Enriched by CISA Patch
 

In the Linux kernel, the following vulnerability has been resolved: staging: fbtft: fix potential memory leak in fbtft_framebuffer_alloc() In the error paths after fb_info structure is successfully allocated, the memory allocated in fb_deferred_io_init() for info->pagerefs is not freed. Fix that by adding the cleanup function on the error path.
https://nvd.nist.gov/vuln/detail/CVE-2025-38612

Categories

CWE-401 : Missing Release of Memory after Effective Lifetime
The product does not sufficiently track and release allocated memory after it has been used, making the memory unavailable for reallocation and reuse. Fuzz testing (fuzzing) is a powerful technique for generating large numbers of diverse inputs - either randomly or algorithmically - and dynamically invoking the code with those inputs. Even with random inputs, it is often capable of generating unexpected results such as crashes, memory corruption, or resource consumption. Fuzzing effectively produces repeatable test cases that clearly indicate bugs, which helps developers to diagnose the issues. Automated static analysis, commonly referred to as Static Application Security Testing (SAST), can find some instances of this weakness by analyzing source code (or binary/compiled code) without having to execute it. Typically, this is done by building a model of data flow and control flow, then searching for potentially-vulnerable patterns that connect "sources" (origins of input) with "sinks" (destinations where the data interacts with external components, a lower layer such as the OS, etc.) Use an abstraction library to abstract away risky APIs. Not a complete solution. The Boehm-Demers-Weiser Garbage Collector or valgrind can be used to detect leaks in code. Memory leak because function does not free() an element of a data structure. Memory leak when counter variable is not decremented. chain: reference count is not decremented, leading to memory leak in OS by sending ICMP packets. Kernel uses wrong function to release a data structure, preventing data from being properly tracked by other code. Memory leak via unknown manipulations as part of protocol test suite. Memory leak via a series of the same command.

References


 

AFFECTED (from MITRE)


Vendor Product Versions
Linux Linux
  • c296d5f9957c03994a699d6739c27d4581a9f6c7 < 83ea0c7b8d12c67f6c4703d6c458627a7fc45fc0 [affected]
  • c296d5f9957c03994a699d6739c27d4581a9f6c7 < c3b1c45c48117ed4d8797ee89d1155f16b72d490 [affected]
  • c296d5f9957c03994a699d6739c27d4581a9f6c7 < 3290f62f23fae05f2ec34085eb86dfb3648ef91f [affected]
  • c296d5f9957c03994a699d6739c27d4581a9f6c7 < 6f9e2cf9e9c1a891a683329af35bb33ed9d38b5f [affected]
  • c296d5f9957c03994a699d6739c27d4581a9f6c7 < b31cf6f7716a5d3e4461763f32d812acdaec6e74 [affected]
  • c296d5f9957c03994a699d6739c27d4581a9f6c7 < a3177955f8da3c826a18b75e54881e2e9a9c96f1 [affected]
  • c296d5f9957c03994a699d6739c27d4581a9f6c7 < 6771f121ae87490ddc19eabb7450383af9e01b6d [affected]
  • c296d5f9957c03994a699d6739c27d4581a9f6c7 < 47b3d6e8921bbb7b65c2dab8eaa8864901848c1c [affected]
  • c296d5f9957c03994a699d6739c27d4581a9f6c7 < eb2cb7dab60f9be0b435ac4a674255429a36d72c [affected]
Linux Linux
  • 4.0 [affected]
  • < 4.0 [unaffected]
  • 5.4.297 ≤ 5.4.* [unaffected]
  • 5.10.241 ≤ 5.10.* [unaffected]
  • 5.15.190 ≤ 5.15.* [unaffected]
  • 6.1.148 ≤ 6.1.* [unaffected]
  • 6.6.102 ≤ 6.6.* [unaffected]
  • 6.12.42 ≤ 6.12.* [unaffected]
  • 6.15.10 ≤ 6.15.* [unaffected]
  • 6.16.1 ≤ 6.16.* [unaffected]
  • 6.17 ≤ * [unaffected]
© 2022 The MITRE Corporation. This work is reproduced and distributed with the permission of The MITRE Corporation.

CPE

cpe start end
Configuration 1
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* >= 4.0 < 5.4.297
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* >= 5.5 < 5.10.241
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* >= 5.11 < 5.15.190
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* >= 5.16 < 6.1.148
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* >= 6.2 < 6.6.102
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* >= 6.7 < 6.12.42
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* >= 6.13 < 6.15.10
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* >= 6.16 < 6.16.1
Configuration 2
cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*


REMEDIATION


Patch

Url
https://git.kernel.org/stable/c/3290f62f23fae05f2ec34085eb86dfb3648ef91f
https://git.kernel.org/stable/c/47b3d6e8921bbb7b65c2dab8eaa8864901848c1c
https://git.kernel.org/stable/c/6771f121ae87490ddc19eabb7450383af9e01b6d
https://git.kernel.org/stable/c/6f9e2cf9e9c1a891a683329af35bb33ed9d38b5f
https://git.kernel.org/stable/c/83ea0c7b8d12c67f6c4703d6c458627a7fc45fc0
https://git.kernel.org/stable/c/a3177955f8da3c826a18b75e54881e2e9a9c96f1
https://git.kernel.org/stable/c/b31cf6f7716a5d3e4461763f32d812acdaec6e74
https://git.kernel.org/stable/c/c3b1c45c48117ed4d8797ee89d1155f16b72d490
https://git.kernel.org/stable/c/eb2cb7dab60f9be0b435ac4a674255429a36d72c


EXPLOITS


Exploit-db.com

id description date
No known exploits

POC Github

Url
No known exploits

Other Nist (github, ...)

Url
No known exploits


CAPEC


Common Attack Pattern Enumerations and Classifications

id description severity
No entry