In the Linux kernel, the following vulnerability has been resolved: iio: imu: adis16400: fix unprotected debugfs reads adis16400_serial_number_fops… (CVE-2026-98664)
Description
A vulnerability in the Linux kernel's iio: imu: adis16400 driver involved unprotected debugfs reads due to improper handling of debugfs file operations. The issue was that adis16400_serial_number_fops did not call debugfs_file_get(), causing debugfs_remove_recursive() to not wait for ongoing reads before unbinding and freeing the device, potentially leading to use-after-free conditions. The vulnerability was fixed by changing the debugfs file creation method to debugfs_create_file(), aligning with other similar drivers and ensuring proper protection of debugfs reads.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Linux kernel vulnerability CVE-2026-98664 affected the iio: imu: adis16400 driver where the serial number debugfs file operations were not properly protected. Specifically, adis16400_serial_number_fops was open coded and did not invoke debugfs_file_get(), so debugfs_remove_recursive() could proceed without waiting for reads in progress, allowing the device to be unbound and freed underneath an active read operation. This was due to the use of debugfs_create_file_unsafe() for all three debugfs files after a commit that converted product_id and flash_count to DEFINE_DEBUGFS_ATTRIBUTE, which self-protects. The fix involved switching the serial_number debugfs file creation to debugfs_create_file(), consistent with other drivers like adis16475 and adis16550, thereby protecting against concurrent access issues.
Potential Impact
The vulnerability could lead to a use-after-free condition when debugfs reads occur concurrently with device unbinding, potentially causing kernel memory corruption or system instability. No known exploits in the wild have been reported. The impact is limited to systems running the affected Linux kernel driver with debugfs enabled and accessible.
Mitigation Recommendations
A fix has been implemented in the Linux kernel source code by changing the debugfs file creation method for the serial_number file to debugfs_create_file(), which properly protects debugfs reads. Users should update to the fixed Linux kernel version containing this patch. No additional mitigations are indicated by the vendor advisory.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-w4fg-xq8w-gq57
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-98664"]
Threat ID: 6ad520ac2cdf04f656993a3d
Added to database: 10/18/2026, 19:40:28 UTC
Last enriched: 10/18/2026, 22:29:20 UTC
Last updated: 10/19/2026, 01:08:17 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.