media: i2c: alvium: fix critical pointer access in alvium_ctrl_init
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
media: i2c: alvium: fix critical pointer access in alvium_ctrl_init
The current implementation of alvium_ctrl_init creates several controls in function alvium_ctrl_init and uses the returned pointer without check. That can cause write access over NULL-pointer for several controls. The reworked code checks the pointers before adding flags.
From the CVE record · Linux
The Linux kernel’s alvium_ctrl_init function can use a control pointer without checking whether it is NULL, causing a write through that pointer. The input does not specify how this condition can be triggered or whether access or user interaction is required.
Engineers running the Linux kernel with the alvium media I2C driver should check their installations; affected versions are not specified.