{"id":"CVE-2026-138951","sourceIdentifier":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","published":"2026-11-30T14:17:56.420","lastModified":"2026-11-30T14:17:56.420","vulnStatus":"Received","cveTags":[],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\niio: accel: adxl313: 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\nadxl313_spi_probe() dereferences chip_data to select the regmap\nconfiguration, causing a NULL pointer dereference.\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 selecting the configuration."}],"affected":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","affectedData":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","programFiles":["drivers/iio/accel/adxl313_spi.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"d6e3ee74d16f2faef0cbe0251071076e0654e68a","lessThan":"880a85d01493cc5c4fa24c8a3a8a6bfa91e30f72","versionType":"git","status":"affected"},{"version":"d6e3ee74d16f2faef0cbe0251071076e0654e68a","lessThan":"5381f1c9be61b7da2844ba118978959e5fd1694b","versionType":"git","status":"affected"},{"version":"d6e3ee74d16f2faef0cbe0251071076e0654e68a","lessThan":"30dc79cebd92896dd9f0ea8525811d27e7a8b6e6","versionType":"git","status":"affected"},{"version":"d6e3ee74d16f2faef0cbe0251071076e0654e68a","lessThan":"defd4c0b29f1cd17caa5feebac33fc5fdf4e1916","versionType":"git","status":"affected"}]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","programFiles":["drivers/iio/accel/adxl313_spi.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"6.11","status":"affected"},{"version":"0","lessThan":"6.11","versionType":"semver","status":"unaffected"},{"version":"6.12.117","lessThanOrEqual":"6.12.*","versionType":"semver","status":"unaffected"},{"version":"6.18.63","lessThanOrEqual":"6.18.*","versionType":"semver","status":"unaffected"},{"version":"7.3.4","lessThanOrEqual":"7.3.*","versionType":"semver","status":"unaffected"},{"version":"7.4-rc1","lessThanOrEqual":"*","versionType":"original_commit_for_fix","status":"unaffected"}]}]}],"metrics":{},"references":[{"url":"https://git.kernel.org/stable/c/30dc79cebd92896dd9f0ea8525811d27e7a8b6e6","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/5381f1c9be61b7da2844ba118978959e5fd1694b","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/880a85d01493cc5c4fa24c8a3a8a6bfa91e30f72","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/defd4c0b29f1cd17caa5feebac33fc5fdf4e1916","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"}]}