CVE-2024-27074: media: go7007: fix a memleak in go7007_load_encoder

Description

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.

Classification

CVE ID: CVE-2024-27074

Affected Products

Vendor: Linux

Product: Linux

Exploit Prediction Scoring System (EPSS)

EPSS Score: 0.04% (probability of being exploited)

EPSS Percentile: 5.08% (scored less or equal to compared to others)

EPSS Date: 2025-02-04 (when was this score calculated)

References

https://git.kernel.org/stable/c/7f11dd3d165b178e738fe73dfeea513e383bedb5
https://git.kernel.org/stable/c/291cda0b805fc0d6e90d201710311630c8667159
https://git.kernel.org/stable/c/b49fe84c6cefcc1c2336d793b53442e716c95073
https://git.kernel.org/stable/c/790fa2c04dfb9f095ec372bf17909424d6e864b3
https://git.kernel.org/stable/c/e04d15c8bb3e111dd69f98894acd92d63e87aac3
https://git.kernel.org/stable/c/f31c1cc37411f5f7bcb266133f9a7e1b4bdf2975
https://git.kernel.org/stable/c/d43988a23c32588ccd0c74219637afb96cd78661
https://git.kernel.org/stable/c/7405a0d4442792988e9ae834e7d84f9d163731a4
https://git.kernel.org/stable/c/b9b683844b01d171a72b9c0419a2d760d946ee12

Timeline