{"id":"CVE-2026-143005","state":"PUBLISHED","title":"iio: sx9310: use the data of the I2C table","description":"In the Linux kernel, the following vulnerability has been resolved:\n\niio: sx9310: use the data of the I2C table\n\nsx9310_check_whoami() takes the chip information from\ndevice_get_match_data(), which only looks at the OF and ACPI tables, and\ndereferences it. For a client which was bound through the i2c_device_id\ntable, for instance one created with\n\n  echo sx9310 0x28 > /sys/bus/i2c/devices/i2c-1/new_device\n\nit returns NULL, and the kernel oopses as soon as something at that address\nanswers the read of the WHOAMI register.\n\nThe I2C table has the same pointers. Use i2c_get_match_data(), which falls\nback to it.","publishedAt":"2026-12-03T09:17:38.026Z","updatedAt":"2026-12-03T09:17:38.026Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"21fd3b1373f65c6a9d910642ecef194a077d1624","status":"affected","lessThan":"24555050238e0fc5c0f1940d5615fab9d9ef0241","versionType":"git"},{"version":"21fd3b1373f65c6a9d910642ecef194a077d1624","status":"affected","lessThan":"ad748865961323995365369347f19f6968ea90a9","versionType":"git"},{"version":"21fd3b1373f65c6a9d910642ecef194a077d1624","status":"affected","lessThan":"522324d3dababe79bd254867588e81b176bb8ac7","versionType":"git"},{"version":"21fd3b1373f65c6a9d910642ecef194a077d1624","status":"affected","lessThan":"f3fc8718af9189aad13a2ad7f5b256475bb14b21","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/iio/proximity/sx9310.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.7","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.7","versionType":"semver"},{"version":"6.12.120","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.66","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.7","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc4","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/iio/proximity/sx9310.c"]}],"references":["https://git.kernel.org/stable/c/24555050238e0fc5c0f1940d5615fab9d9ef0241","https://git.kernel.org/stable/c/ad748865961323995365369347f19f6968ea90a9","https://git.kernel.org/stable/c/522324d3dababe79bd254867588e81b176bb8ac7","https://git.kernel.org/stable/c/f3fc8718af9189aad13a2ad7f5b256475bb14b21"],"weaknesses":[],"ingestedAt":"2026-12-03T09:26:06.073Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/143xxx/CVE-2026-143005.json","commit":"9fd484e43f2e14021809e195d28c1172759faad0","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-143005","state":"PUBLISHED","datePublished":"2026-12-03T09:17:38.026Z","dateUpdated":"2026-12-03T09:17:38.026Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-12-03T03:10:28.342Z"},"containers":{"cna":{"title":"iio: sx9310: use the data of the I2C table","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\niio: sx9310: use the data of the I2C table\n\nsx9310_check_whoami() takes the chip information from\ndevice_get_match_data(), which only looks at the OF and ACPI tables, and\ndereferences it. For a client which was bound through the i2c_device_id\ntable, for instance one created with\n\n  echo sx9310 0x28 > /sys/bus/i2c/devices/i2c-1/new_device\n\nit returns NULL, and the kernel oopses as soon as something at that address\nanswers the read of the WHOAMI register.\n\nThe I2C table has the same pointers. Use i2c_get_match_data(), which falls\nback to it."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"21fd3b1373f65c6a9d910642ecef194a077d1624","status":"affected","lessThan":"24555050238e0fc5c0f1940d5615fab9d9ef0241","versionType":"git"},{"version":"21fd3b1373f65c6a9d910642ecef194a077d1624","status":"affected","lessThan":"ad748865961323995365369347f19f6968ea90a9","versionType":"git"},{"version":"21fd3b1373f65c6a9d910642ecef194a077d1624","status":"affected","lessThan":"522324d3dababe79bd254867588e81b176bb8ac7","versionType":"git"},{"version":"21fd3b1373f65c6a9d910642ecef194a077d1624","status":"affected","lessThan":"f3fc8718af9189aad13a2ad7f5b256475bb14b21","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/iio/proximity/sx9310.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.7","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.7","versionType":"semver"},{"version":"6.12.120","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.66","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.7","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc4","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/iio/proximity/sx9310.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/24555050238e0fc5c0f1940d5615fab9d9ef0241"},{"url":"https://git.kernel.org/stable/c/ad748865961323995365369347f19f6968ea90a9"},{"url":"https://git.kernel.org/stable/c/522324d3dababe79bd254867588e81b176bb8ac7"},{"url":"https://git.kernel.org/stable/c/f3fc8718af9189aad13a2ad7f5b256475bb14b21"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-12-03T09:17:38.026Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.7","versionEndExcluding":"6.12.120"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.7","versionEndExcluding":"6.18.66"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.7","versionEndExcluding":"7.3.7"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.7","versionEndExcluding":"7.4-rc4"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}