{"id":"CVE-2024-53061","summary":"media: s5p-jpeg: prevent buffer overflows","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: s5p-jpeg: prevent buffer overflows\n\nThe current logic allows word to be less than 2. If this happens,\nthere will be buffer overflows, as reported by smatch. Add extra\nchecks to prevent it.\n\nWhile here, remove an unused word = 0 assignment.","modified":"2026-04-02T12:22:43.244726Z","published":"2024-11-19T17:22:32.189Z","related":["SUSE-SU-2024:4313-1","SUSE-SU-2024:4314-1","SUSE-SU-2024:4315-1","SUSE-SU-2024:4316-1","SUSE-SU-2024:4317-1","SUSE-SU-2024:4318-1","SUSE-SU-2024:4345-1","SUSE-SU-2024:4346-1","SUSE-SU-2024:4364-1","SUSE-SU-2024:4367-1","SUSE-SU-2024:4376-1","SUSE-SU-2024:4387-1","SUSE-SU-2024:4388-1","SUSE-SU-2025:0035-1","SUSE-SU-2025:20163-1","SUSE-SU-2025:20164-1","SUSE-SU-2025:20246-1","SUSE-SU-2025:20247-1","USN-7276-1","USN-7277-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/53xxx/CVE-2024-53061.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/14a22762c3daeac59a5a534e124acbb4d7a79b3a"},{"type":"WEB","url":"https://git.kernel.org/stable/c/784bc785a453eb2f8433dd62075befdfa1b2d6fd"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a930cddfd153b5d4401df0c01effa14c831ff21e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c5f6fefcda8fac8f082b6c5bf416567f4e100c51"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c85db2d4432de4ff9d97006691ce2dcb5bda660e"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c951a0859fdacf49a2298b5551a7e52b95ff6f51"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e5117f6e7adcf9fd7546cdd0edc9abe4474bc98b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/f54e8e1e39dacccebcfb9a9a36f0552a0a97e2ef"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/53xxx/CVE-2024-53061.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-53061"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"6c96dbbc2aa9f5b4aed8792989d69eae22bf77c4"},{"fixed":"c5f6fefcda8fac8f082b6c5bf416567f4e100c51"},{"fixed":"e5117f6e7adcf9fd7546cdd0edc9abe4474bc98b"},{"fixed":"f54e8e1e39dacccebcfb9a9a36f0552a0a97e2ef"},{"fixed":"a930cddfd153b5d4401df0c01effa14c831ff21e"},{"fixed":"c85db2d4432de4ff9d97006691ce2dcb5bda660e"},{"fixed":"784bc785a453eb2f8433dd62075befdfa1b2d6fd"},{"fixed":"c951a0859fdacf49a2298b5551a7e52b95ff6f51"},{"fixed":"14a22762c3daeac59a5a534e124acbb4d7a79b3a"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-53061.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}