{"id":"CVE-2025-38025","summary":"iio: adc: ad7606: check for NULL before calling sw_mode_config()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\niio: adc: ad7606: check for NULL before calling sw_mode_config()\n\nCheck that the sw_mode_config function pointer is not NULL before\ncalling it. Not all buses define this callback, which resulted in a NULL\npointer dereference.","modified":"2026-03-20T12:42:37.835617Z","published":"2025-06-18T09:28:31.302Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38025.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/5257d80e22bf27009d6742e4c174f42cfe54e425"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c28ad63aa55eaadad2b1793b90bfbe7296cc03ba"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38025.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-38025"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"e571c1902116a376c96e59639820662d7d6a13da"},{"fixed":"c28ad63aa55eaadad2b1793b90bfbe7296cc03ba"},{"fixed":"5257d80e22bf27009d6742e4c174f42cfe54e425"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-38025.json"}}],"schema_version":"1.7.5"}