media: go7007: fix a memleak in go7007_load_encoder
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 95ef39403f890360a3e48fe550d8e8e5d088ad74 · < f31c1cc37411f5f7bcb266133f9a7e1b4bdf2975| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel's go7007_load_encoder function allocates a firmware buffer that is not freed when the surrounding go structure is freed. This can leak memory during the saa7134_go7007_init call chain; the input does not specify whether an attacker can trigger it or what access would be required.
Engineers running the Linux kernel with the go7007 media component should check their installations; affected versions are not specified.