CVE Catalog

CVE-2026-98664

Low risk· EPSS 10%
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.20%

10th percentile - higher than 10% of all known CVEs

Summary

In the Linux kernel, the iio: imu: adis16400 driver has unprotected debugfs reads. The adis16400_serial_number_fops structure is open coded and never calls debugfs_file_get(), so debugfs_remove_recursive() does not wait for a read in progress and unbind frees the iio_dev underneath it. A previous change converted product_id and flash_count to DEFINE_DEBUGFS_ATTRIBUTE but moved all three files to debugfs_create_file_unsafe(). The serial_number file prints three registers and cannot be converted without changing what the file returns. debugfs_create_file() should be used.

Risk Assessment

May lead to use-after-free and kernel crash during concurrent debugfs read and unbind of the adis16400 device.

Recommendation

Update the Linux kernel to a version containing the fix that uses debugfs_create_file() for the serial_number file. Avoid concurrent debugfs reads and unbinding of the device until the update.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

In the Linux kernel, the following vulnerability has been resolved: iio: imu: adis16400: fix unprotected debugfs reads adis16400_serial_number_fops is open coded and never calls debugfs_file_get(), so debugfs_remove_recursive() does not wait for a read in progress and unbind frees the iio_dev underneath it. Commit ae1d37a9bb4b ("iio: imu: adis16400: use DEFINE_DEBUGFS_ATTRIBUTE instead of DEFINE_SIMPLE_ATTRIBUTE") converted product_id and flash_count to DEFINE_DEBUGFS_ATTRIBUTE, which protects itself, but moved all three files to debugfs_create_file_unsafe(). serial_number prints three registers as "%.4x-%.4x-%.4x" and DEFINE_DEBUGFS_ATTRIBUTE() formats a single u64, so it cannot be converted without changing what the file returns. adis16475 and adis16550 already use debugfs_create_file() for their open coded files. Use it here too.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS