{"id":"CVE-2026-68224","state":"PUBLISHED","title":"media: mali-c55: Fix possible ERR_PTR in enable_streams","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: mali-c55: Fix possible ERR_PTR in enable_streams\n\nThe media_pad_remote_pad_unique() function returns either a valid\npointer or an ERR_PTR() on failure (-ENOTUNIQ if multiple links are\nenabled, -ENOLINK if no connected pad is found). The return value\nwas assigned directly to isp->remote_src and dereferenced in the\nnext line without checking for errors, which could lead to an\nERR_PTR dereference.\n\nAdd proper error checking with IS_ERR() before dereferencing the\npointer. Also set isp->remote_src to NULL on error to maintain\nconsistency with other error paths in the function.","publishedAt":"2026-08-10T12:00:45.474Z","updatedAt":"2026-08-17T05:01:11.903Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"d5f281f3dd2988998daf45f591920c6013a620d8","status":"affected","lessThan":"65d4424275845e9f9012b40b5cbff4572771d768","versionType":"git"},{"version":"d5f281f3dd2988998daf45f591920c6013a620d8","status":"affected","lessThan":"94c6402e423d36a2bd6f62055a65a0d439d84da7","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/media/platform/arm/mali-c55/mali-c55-isp.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.19","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.19","versionType":"semver"},{"version":"7.1.6","status":"unaffected","lessThanOrEqual":"7.1.*","versionType":"semver"},{"version":"7.2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/media/platform/arm/mali-c55/mali-c55-isp.c"]}],"references":["https://git.kernel.org/stable/c/65d4424275845e9f9012b40b5cbff4572771d768","https://git.kernel.org/stable/c/94c6402e423d36a2bd6f62055a65a0d439d84da7"],"weaknesses":[],"ingestedAt":"2026-10-29T20:12:49.727Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/68xxx/CVE-2026-68224.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-68224","state":"PUBLISHED","datePublished":"2026-08-10T12:00:45.474Z","dateUpdated":"2026-08-17T05:01:11.903Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-07-30T09:28:09.375Z"},"containers":{"cna":{"title":"media: mali-c55: Fix possible ERR_PTR in enable_streams","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: mali-c55: Fix possible ERR_PTR in enable_streams\n\nThe media_pad_remote_pad_unique() function returns either a valid\npointer or an ERR_PTR() on failure (-ENOTUNIQ if multiple links are\nenabled, -ENOLINK if no connected pad is found). The return value\nwas assigned directly to isp->remote_src and dereferenced in the\nnext line without checking for errors, which could lead to an\nERR_PTR dereference.\n\nAdd proper error checking with IS_ERR() before dereferencing the\npointer. Also set isp->remote_src to NULL on error to maintain\nconsistency with other error paths in the function."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"d5f281f3dd2988998daf45f591920c6013a620d8","status":"affected","lessThan":"65d4424275845e9f9012b40b5cbff4572771d768","versionType":"git"},{"version":"d5f281f3dd2988998daf45f591920c6013a620d8","status":"affected","lessThan":"94c6402e423d36a2bd6f62055a65a0d439d84da7","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/media/platform/arm/mali-c55/mali-c55-isp.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.19","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.19","versionType":"semver"},{"version":"7.1.6","status":"unaffected","lessThanOrEqual":"7.1.*","versionType":"semver"},{"version":"7.2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/media/platform/arm/mali-c55/mali-c55-isp.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/65d4424275845e9f9012b40b5cbff4572771d768"},{"url":"https://git.kernel.org/stable/c/94c6402e423d36a2bd6f62055a65a0d439d84da7"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-08-17T05:01:11.903Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.19","versionEndExcluding":"7.1.6"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.19","versionEndExcluding":"7.2"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}