In the Linux kernel, the following vulnerability has been resolved: iio: gyro: adis16136: fix unprotected debugfs reads The serial_number file… (CVE-2026-98666)
Description
A vulnerability in the Linux kernel's iio gyro driver (adis16136) related to unprotected debugfs reads has been resolved. The issue stems from the serial_number file operations not calling debugfs_file_get(), which is required by debugfs_create_file_unsafe(). This causes debugfs_remove_recursive() to not wait for ongoing reads, potentially leading to use-after-free conditions when the device is unbound. The fix involves replacing debugfs_create_file_unsafe() with debugfs_create_file().
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Linux kernel vulnerability CVE-2026-98666 affects the iio gyro driver for the adis16136 sensor. The serial_number debugfs file operations were implemented without calling debugfs_file_get(), a requirement for debugfs_create_file_unsafe(). As a result, debugfs_remove_recursive() does not wait for any read operations in progress before unbinding the device, which frees the iio_dev structure underneath. This can lead to use-after-free conditions. The vulnerability has been resolved by switching to debugfs_create_file(), which properly manages file references and prevents premature freeing.
Potential Impact
The vulnerability could allow a use-after-free condition during device unbinding due to unprotected debugfs reads. This may lead to kernel memory corruption or instability. No known exploits are reported in the wild. The impact is limited to local kernel operations involving the affected driver.
Mitigation Recommendations
A fix is available that replaces debugfs_create_file_unsafe() with debugfs_create_file() in the affected driver code. Users should apply the official Linux kernel patches that address this issue. Since this is a kernel-level vulnerability, updating to a patched kernel version is the recommended remediation.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-fw25-7hvg-9627
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-98666"]
Threat ID: 6ad520ad2cdf04f656993a49
Added to database: 10/18/2026, 19:40:29 UTC
Last enriched: 10/18/2026, 21:49:08 UTC
Last updated: 10/19/2026, 00:48:14 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.