In the Linux kernel, the following vulnerability has been resolved: iio: adc: ad_sigma_delta: fix use-after-free on unbind ad_sd_buffer_postenable()… (CVE-2026-98677)
Description
A use-after-free vulnerability in the Linux kernel's iio adc ad_sigma_delta driver was resolved. The issue occurs because a buffer allocated at runtime is freed prematurely during device unbinding, while an interrupt handler can still access it, leading to potential memory corruption. The fix involves preallocating the buffer earlier so it is freed only after the interrupt handler is properly drained.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Linux kernel's iio adc ad_sigma_delta driver had a use-after-free vulnerability caused by the runtime allocation of the samples buffer (samples_buf) with devm_krealloc(). During unbind, devm resources are released in reverse order, causing samples_buf to be freed before iio_device_unregister() disables buffers and detaches the trigger poll function. Since the data ready IRQ remains enabled, the interrupt handler (ad_sd_trigger_handler) can still run and copy data into the freed buffer, causing use-after-free. The fix preallocates the buffer earlier in devm_ad_sd_setup_buffer_and_trigger(), ensuring it is freed only after free_irq() drains the trigger handler. This prevents the use-after-free condition. The vulnerability was discovered via an in-house static analysis tool.
Potential Impact
This vulnerability could lead to use-after-free memory corruption in the kernel, potentially causing system instability or crashes. No information about exploitation in the wild or privilege escalation is provided.
Mitigation Recommendations
A fix is available that preallocates the buffer earlier in the driver lifecycle to prevent use-after-free. Users should update to the fixed Linux kernel version containing this patch once released. No alternative mitigations are indicated.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-852j-fqfh-mmqj
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-98677"]
Threat ID: 6ad520ac2cdf04f656993a37
Added to database: 10/18/2026, 19:40:28 UTC
Last enriched: 10/18/2026, 22:28:49 UTC
Last updated: 10/19/2026, 01:08:23 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.