{"id":"CVE-2026-53307","state":"PUBLISHED","title":"pinctrl: pinconf-generic: Fully validate 'pinmux' property","description":"In the Linux kernel, the following vulnerability has been resolved:\n\npinctrl: pinconf-generic: Fully validate 'pinmux' property\n\nThe pinconf_generic_parse_dt_pinmux() assumes that the 'pinmux' property\nis not empty when present. This might be not true. With that, the allocator\nwill give a special value in return and not NULL which lead to the crash\nwhen trying to access that (invalid) memory. Fix that by fully validating\n'pinmux' value, including its length.","publishedAt":"2026-06-26T19:41:02.046Z","updatedAt":"2026-06-26T19:41:02.046Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"7112c05fff83e15726dd60a10248b76474e3cdf9","status":"affected","lessThan":"6476aac13805721e16439bd71f0e1703a4154517","versionType":"git"},{"version":"7112c05fff83e15726dd60a10248b76474e3cdf9","status":"affected","lessThan":"b7842b722169359e7ffe4b838d2496e9e72ac996","versionType":"git"},{"version":"7112c05fff83e15726dd60a10248b76474e3cdf9","status":"affected","lessThan":"c98324ea7849b6e5baa1774f71709b375a2c2f9e","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/pinctrl/pinconf-generic.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.15","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.15","versionType":"semver"},{"version":"6.18.33","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.0.10","status":"unaffected","lessThanOrEqual":"7.0.*","versionType":"semver"},{"version":"7.1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/pinctrl/pinconf-generic.c"]}],"references":["https://git.kernel.org/stable/c/6476aac13805721e16439bd71f0e1703a4154517","https://git.kernel.org/stable/c/b7842b722169359e7ffe4b838d2496e9e72ac996","https://git.kernel.org/stable/c/c98324ea7849b6e5baa1774f71709b375a2c2f9e"],"weaknesses":[],"ingestedAt":"2026-10-29T20:12:16.098Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/53xxx/CVE-2026-53307.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-53307","state":"PUBLISHED","datePublished":"2026-06-26T19:41:02.046Z","dateUpdated":"2026-06-26T19:41:02.046Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-06-09T07:44:35.397Z"},"containers":{"cna":{"title":"pinctrl: pinconf-generic: Fully validate 'pinmux' property","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\npinctrl: pinconf-generic: Fully validate 'pinmux' property\n\nThe pinconf_generic_parse_dt_pinmux() assumes that the 'pinmux' property\nis not empty when present. This might be not true. With that, the allocator\nwill give a special value in return and not NULL which lead to the crash\nwhen trying to access that (invalid) memory. Fix that by fully validating\n'pinmux' value, including its length."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"7112c05fff83e15726dd60a10248b76474e3cdf9","status":"affected","lessThan":"6476aac13805721e16439bd71f0e1703a4154517","versionType":"git"},{"version":"7112c05fff83e15726dd60a10248b76474e3cdf9","status":"affected","lessThan":"b7842b722169359e7ffe4b838d2496e9e72ac996","versionType":"git"},{"version":"7112c05fff83e15726dd60a10248b76474e3cdf9","status":"affected","lessThan":"c98324ea7849b6e5baa1774f71709b375a2c2f9e","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/pinctrl/pinconf-generic.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.15","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.15","versionType":"semver"},{"version":"6.18.33","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.0.10","status":"unaffected","lessThanOrEqual":"7.0.*","versionType":"semver"},{"version":"7.1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/pinctrl/pinconf-generic.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/6476aac13805721e16439bd71f0e1703a4154517"},{"url":"https://git.kernel.org/stable/c/b7842b722169359e7ffe4b838d2496e9e72ac996"},{"url":"https://git.kernel.org/stable/c/c98324ea7849b6e5baa1774f71709b375a2c2f9e"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-06-26T19:41:02.046Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.15","versionEndExcluding":"6.18.33"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.15","versionEndExcluding":"7.0.10"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.15","versionEndExcluding":"7.1"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}