{"id":"CVE-2022-49163","published":"2025-02-26T01:55:24Z","modified":"2026-08-05T08:54:10Z","title":"media: imx-jpeg: fix a bug of accessing array out of bounds","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: imx-jpeg: fix a bug of accessing array out of bounds\n\nWhen error occurs in parsing jpeg, the slot isn't acquired yet, it may\nbe the default value MXC_MAX_SLOTS.\nIf the driver access the slot using the incorrect slot number, it will\naccess array out of bounds.\nThe result is the driver will change num_domains, which follows\nslot_data in struct mxc_jpeg_dev.\nThen the driver won't detach the pm domain at rmmod, which will lead to\nkernel panic when trying to insmod again.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00308,"percentile":0.1606,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/02f9f97d54ffc85b50ad77f5b1f3c8f69cd17747","tags":[]},{"url":"https://git.kernel.org/stable/c/20c8b90430c5d6c4a3936eaa7c35aac670581487","tags":[]},{"url":"https://git.kernel.org/stable/c/e209e6db2e527db6a93b14c2deedf969caca78fc","tags":[]},{"url":"https://git.kernel.org/stable/c/97558d170a1236280407e8d29a7d095d2c2ed554","tags":[]}],"priority":{"score":8.2,"factors":[{"name":"EPSS percentile","points":3.21},{"name":"CVSS severity","points":4.97}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 2db16c6ed72ce644d5639b3ed15e5817442db4ba, < 02f9f97d54ffc85b50ad77f5b1f3c8f69cd17747",">= 2db16c6ed72ce644d5639b3ed15e5817442db4ba, < 20c8b90430c5d6c4a3936eaa7c35aac670581487",">= 2db16c6ed72ce644d5639b3ed15e5817442db4ba, < e209e6db2e527db6a93b14c2deedf969caca78fc",">= 2db16c6ed72ce644d5639b3ed15e5817442db4ba, < 97558d170a1236280407e8d29a7d095d2c2ed554"]},{"vendor":"Linux","product":"Linux","versions":["5.13"]}],"euvd":{"id":"EUVD-2022-55062","exploited":false,"provenance":"source"}}