{"id":"CVE-2026-98664","aliases":["CVE-2026-98664"],"related":[],"kind":"vulnerability","state":"published","title":"iio: imu: adis16400: fix unprotected debugfs reads","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\niio: imu: adis16400: fix unprotected debugfs reads\n\nadis16400_serial_number_fops is open coded and never calls\ndebugfs_file_get(), so debugfs_remove_recursive() does not wait for a\nread in progress and unbind frees the iio_dev underneath it.\n\nCommit ae1d37a9bb4b (\"iio: imu: adis16400: use DEFINE_DEBUGFS_ATTRIBUTE\ninstead of DEFINE_SIMPLE_ATTRIBUTE\") converted product_id and\nflash_count to DEFINE_DEBUGFS_ATTRIBUTE, which protects itself, but\nmoved all three files to debugfs_create_file_unsafe().\n\nserial_number prints three registers as \"%.4x-%.4x-%.4x\" and\nDEFINE_DEBUGFS_ATTRIBUTE() formats a single u64, so it cannot be\nconverted without changing what the file returns. adis16475 and\nadis16550 already use debugfs_create_file() for their open coded\nfiles. Use it here too.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\niio: imu: adis16400: fix unprotected debugfs reads\n\nadis16400_serial_number_fops is open coded and never calls\ndebugfs_file_get(), so debugfs_remove_recursive() does not wait for a\nread in progress and unbind frees the iio_dev underneath it.\n\nCommit ae1d37a9bb4b (\"iio: imu: adis16400: use DEFINE_DEBUGFS_ATTRIBUTE\ninstead of DEFINE_SIMPLE_ATTRIBUTE\") converted product_id and\nflash_count to DEFINE_DEBUGFS_ATTRIBUTE, which protects itself, but\nmoved all three files to debugfs_create_file_unsafe().\n\nserial_number prints three registers as \"%.4x-%.4x-%.4x\" and\nDEFINE_DEBUGFS_ATTRIBUTE() formats a single u64, so it cannot be\nconverted without changing what the file returns. adis16475 and\nadis16550 already use debugfs_create_file() for their open coded\nfiles. Use it here too.","source":"cvelist"}],"published":"2026-10-18T15:44:32.940Z","modified":"2026-10-30T13:21:16.930Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"ae1d37a9bb4bd8d9091a40d153143e99b115ee37","fixed":"48bb3c9b4a2fac64cb17c357418ebfbd4c9ac8ff","status":"affected"},{"type":"git","introduced":"ae1d37a9bb4bd8d9091a40d153143e99b115ee37","fixed":"69cc001761894c65a0eef1bb6df911b39d30d71e","status":"affected"},{"type":"git","introduced":"ae1d37a9bb4bd8d9091a40d153143e99b115ee37","fixed":"d32eb2161b452a25b03f915f431bdcb9722cd92c","status":"affected"},{"type":"git","introduced":"ae1d37a9bb4bd8d9091a40d153143e99b115ee37","fixed":"d3078aaef8af4648f94eeafde4b7b36efd9838d1","status":"affected"},{"type":"git","introduced":"ae1d37a9bb4bd8d9091a40d153143e99b115ee37","fixed":"e9b4c00f775a915b759b08bfe2c5e806a8301a59","status":"affected"},{"type":"git","introduced":"ae1d37a9bb4bd8d9091a40d153143e99b115ee37","fixed":"50e8d70ba0743f88afd7e49f9cebd1841ee677f5","status":"affected"},{"type":"git","introduced":"ae1d37a9bb4bd8d9091a40d153143e99b115ee37","fixed":"f501302ebb9e1504162351b951fe3ae331c852ab","status":"affected"},{"type":"git","introduced":"ae1d37a9bb4bd8d9091a40d153143e99b115ee37","fixed":"d94787287a113a1326211647d5e0deed1e9de105","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.8","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.8","status":"unaffected"},{"type":"semver","introduced":"5.10.273","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.224","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.191","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.160","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.113","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.56","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.10","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/48bb3c9b4a2fac64cb17c357418ebfbd4c9ac8ff","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/69cc001761894c65a0eef1bb6df911b39d30d71e","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d32eb2161b452a25b03f915f431bdcb9722cd92c","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d3078aaef8af4648f94eeafde4b7b36efd9838d1","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e9b4c00f775a915b759b08bfe2c5e806a8301a59","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/50e8d70ba0743f88afd7e49f9cebd1841ee677f5","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f501302ebb9e1504162351b951fe3ae331c852ab","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/d94787287a113a1326211647d5e0deed1e9de105","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-98664","url":"https://www.cve.org/CVERecord?id=CVE-2026-98664","licence":"CVE Terms of Use","modified":"2026-10-30T12:38:33.465Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-98664","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98664","licence":"Public domain","modified":"2026-10-30T13:21:16.930Z"}],"updatedAt":"2026-11-25T22:59:45.261Z","epss":{"score":0.0021,"percentile":0.11894,"date":"2026-12-01T12:00:22.000Z"}}