CVE-2022-50182
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
18/06/2025
Last modified:
18/06/2025
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
media: imx-jpeg: Align upwards buffer size<br />
<br />
The hardware can support any image size WxH,<br />
with arbitrary W (image width) and H (image height) dimensions.<br />
<br />
Align upwards buffer size for both encoder and decoder.<br />
and leave the picture resolution unchanged.<br />
<br />
For decoder, the risk of memory out of bounds can be avoided.<br />
For both encoder and decoder, the driver will lift the limitation of<br />
resolution alignment.<br />
<br />
For example, the decoder can support jpeg whose resolution is 227x149<br />
the encoder can support nv12 1080P, won&#39;t change it to 1920x1072.