{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-138958","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2026-11-30T13:22:15.905Z","datePublished":"2026-11-30T13:26:33.588Z","dateUpdated":"2026-11-30T13:26:33.588Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-11-30T13:26:33.588Z"},"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\niio: adc: ad7768-1: reject devices without match data\n\nSPI driver_override allows a device to bind to this driver without\nmatching either the OF or SPI device ID table. In that case,\nspi_get_device_match_data() returns NULL.\n\nad7768_probe() later dereferences the returned chip information to\ninitialize the IIO channels and device name, causing a NULL pointer\ndereference.\n\nCommit 572a00852635 (\"iio: dac: ad5686: missing NULL check on match\ndata\") fixed the same driver_override issue in another SPI driver.\nReject devices without match data before continuing the probe."}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/iio/adc/ad7768-1.c"],"versions":[{"version":"fa087f5babbc24db76d5b24073216fa2d7d7b57d","lessThan":"38702d00195c5f2aedc474d06b5c5e4e2052198e","status":"affected","versionType":"git"},{"version":"fa087f5babbc24db76d5b24073216fa2d7d7b57d","lessThan":"e29630bd463eb40e2e86fe45a565fb1d636ac822","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/iio/adc/ad7768-1.c"],"versions":[{"version":"7.0","status":"affected"},{"version":"0","lessThan":"7.0","status":"unaffected","versionType":"semver"},{"version":"7.3.4","lessThanOrEqual":"7.3.*","status":"unaffected","versionType":"semver"},{"version":"7.4-rc1","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"7.0","versionEndExcluding":"7.3.4"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"7.0","versionEndExcluding":"7.4-rc1"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/38702d00195c5f2aedc474d06b5c5e4e2052198e"},{"url":"https://git.kernel.org/stable/c/e29630bd463eb40e2e86fe45a565fb1d636ac822"}],"title":"iio: adc: ad7768-1: reject devices without match data","x_generator":{"engine":"bippy-1.2.0"}}}}