5.5 CVE-2024-27074

Enriched by CISA Patch
 

In the Linux kernel, the following vulnerability has been resolved: media: go7007: fix a memleak in go7007_load_encoder In go7007_load_encoder, bounce(i.e. go->boot_fw), is allocated without a deallocation thereafter. After the following call chain: saa7134_go7007_init |-> go7007_boot_encoder |-> go7007_load_encoder |-> kfree(go) go is freed and thus bounce is leaked.
https://nvd.nist.gov/vuln/detail/CVE-2024-27074

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

416baaa9-dc9f-4396-8d5f-8c081fb06d67 Patch

af854a3a-2127-422b-91ae-364da2661108 Patch

https://git.kernel.org/stable/c/291cda0b805fc0d6e90d201710311630c8667159
Patch
https://git.kernel.org/stable/c/7405a0d4442792988e9ae834e7d84f9d163731a4
Patch
https://git.kernel.org/stable/c/790fa2c04dfb9f095ec372bf17909424d6e864b3
Patch
https://git.kernel.org/stable/c/7f11dd3d165b178e738fe73dfeea513e383bedb5
Patch
https://git.kernel.org/stable/c/b49fe84c6cefcc1c2336d793b53442e716c95073
Patch
https://git.kernel.org/stable/c/b9b683844b01d171a72b9c0419a2d760d946ee12
Patch
https://git.kernel.org/stable/c/d43988a23c32588ccd0c74219637afb96cd78661
Patch
https://git.kernel.org/stable/c/e04d15c8bb3e111dd69f98894acd92d63e87aac3
Patch
https://git.kernel.org/stable/c/f31c1cc37411f5f7bcb266133f9a7e1b4bdf2975
Patch
https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html
Patch
https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html
Patch


 

AFFECTED (from MITRE)


Vendor Product Versions
Linux Linux
  • 95ef39403f890360a3e48fe550d8e8e5d088ad74 < 7f11dd3d165b178e738fe73dfeea513e383bedb5 [affected]
  • 95ef39403f890360a3e48fe550d8e8e5d088ad74 < 291cda0b805fc0d6e90d201710311630c8667159 [affected]
  • 95ef39403f890360a3e48fe550d8e8e5d088ad74 < b49fe84c6cefcc1c2336d793b53442e716c95073 [affected]
  • 95ef39403f890360a3e48fe550d8e8e5d088ad74 < 790fa2c04dfb9f095ec372bf17909424d6e864b3 [affected]
  • 95ef39403f890360a3e48fe550d8e8e5d088ad74 < e04d15c8bb3e111dd69f98894acd92d63e87aac3 [affected]
  • 95ef39403f890360a3e48fe550d8e8e5d088ad74 < f31c1cc37411f5f7bcb266133f9a7e1b4bdf2975 [affected]
  • 95ef39403f890360a3e48fe550d8e8e5d088ad74 < d43988a23c32588ccd0c74219637afb96cd78661 [affected]
  • 95ef39403f890360a3e48fe550d8e8e5d088ad74 < 7405a0d4442792988e9ae834e7d84f9d163731a4 [affected]
  • 95ef39403f890360a3e48fe550d8e8e5d088ad74 < b9b683844b01d171a72b9c0419a2d760d946ee12 [affected]
Linux Linux
  • 3.10 [affected]
  • < 3.10 [unaffected]
  • 4.19.311 ≤ 4.19.* [unaffected]
  • 5.4.273 ≤ 5.4.* [unaffected]
  • 5.10.214 ≤ 5.10.* [unaffected]
  • 5.15.153 ≤ 5.15.* [unaffected]
  • 6.1.83 ≤ 6.1.* [unaffected]
  • 6.6.23 ≤ 6.6.* [unaffected]
  • 6.7.11 ≤ 6.7.* [unaffected]
  • 6.8.2 ≤ 6.8.* [unaffected]
  • 6.9 ≤ * [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:*:*:*:*:*:*:*:* >= 3.10 < 4.19.311
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* >= 4.20 < 5.4.273
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* >= 5.5 < 5.10.214
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* >= 5.11 < 5.15.153
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* >= 5.16 < 6.1.83
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* >= 6.2 < 6.6.23
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* >= 6.7 < 6.7.11
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* >= 6.8 < 6.8.2
Configuration 2
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*


REMEDIATION


Patch

Url
https://git.kernel.org/stable/c/291cda0b805fc0d6e90d201710311630c8667159
https://git.kernel.org/stable/c/7405a0d4442792988e9ae834e7d84f9d163731a4
https://git.kernel.org/stable/c/790fa2c04dfb9f095ec372bf17909424d6e864b3
https://git.kernel.org/stable/c/7f11dd3d165b178e738fe73dfeea513e383bedb5
https://git.kernel.org/stable/c/b49fe84c6cefcc1c2336d793b53442e716c95073
https://git.kernel.org/stable/c/b9b683844b01d171a72b9c0419a2d760d946ee12
https://git.kernel.org/stable/c/d43988a23c32588ccd0c74219637afb96cd78661
https://git.kernel.org/stable/c/e04d15c8bb3e111dd69f98894acd92d63e87aac3
https://git.kernel.org/stable/c/f31c1cc37411f5f7bcb266133f9a7e1b4bdf2975
https://git.kernel.org/stable/c/291cda0b805fc0d6e90d201710311630c8667159
https://git.kernel.org/stable/c/7405a0d4442792988e9ae834e7d84f9d163731a4
https://git.kernel.org/stable/c/790fa2c04dfb9f095ec372bf17909424d6e864b3
https://git.kernel.org/stable/c/7f11dd3d165b178e738fe73dfeea513e383bedb5
https://git.kernel.org/stable/c/b49fe84c6cefcc1c2336d793b53442e716c95073
https://git.kernel.org/stable/c/b9b683844b01d171a72b9c0419a2d760d946ee12
https://git.kernel.org/stable/c/d43988a23c32588ccd0c74219637afb96cd78661
https://git.kernel.org/stable/c/e04d15c8bb3e111dd69f98894acd92d63e87aac3
https://git.kernel.org/stable/c/f31c1cc37411f5f7bcb266133f9a7e1b4bdf2975
https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html
https://lists.debian.org/debian-lts-announce/2024/06/msg00020.html


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