iio: trigger: sysfs: fix use-after-free on remove
Published Feb 26, 2025
7.8
HIGHCVSS 3.1
EPSS 0.28%
Description
Ensure that the irq_work has completed before the trigger is freed.
================================================================== BUG: KASAN: use-after-free in irq_work_run_list Read of size 8 at addr 0000000064702248 by task python3/25
Call Trace: irq_work_run_list irq_work_tick update_process_times tick_sched_handle tick_sched_timer __hrtimer_run_queues hrtimer_interrupt
Allocated by task 25: kmem_cache_alloc_trace iio_sysfs_trig_add dev_attr_store sysfs_kf_write kernfs_fop_write_iter new_sync_write vfs_write ksys_write sys_write
Freed by task 25: kfree iio_sysfs_trig_remove dev_attr_store sysfs_kf_write kernfs_fop_write_iter new_sync_write vfs_write ksys_write sys_write
==================================================================
Affected products
-
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version StatusaffectedConstraints
- Version
-
- Version 3.7StatusaffectedConstraints-
- Version 0StatusunaffectedConstraints<3.7
- Version 4.14.286StatusunaffectedConstraints<=4.14.*
- Version 4.19.250StatusunaffectedConstraints<=4.19.*
- Version 4.9.321StatusunaffectedConstraints<=4.9.*
- Version 5.10.127StatusunaffectedConstraints<=5.10.*
- Version 5.15.51StatusunaffectedConstraints<=5.15.*
- Version 5.18.8StatusunaffectedConstraints<=5.18.*
- Version 5.19StatusunaffectedConstraints<=*
- Version 5.4.202StatusunaffectedConstraints<=5.4.*
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | |||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Linux | Linux | unaffected |
| |||||||||||||||||||||||||||||||||
| Linux | Linux | affected |
|
- ≥ 3.7 · < 4.9.321
- ≥ 4.10 · < 4.14.286
- ≥ 4.15 · < 4.19.250
- ≥ 4.20 · < 5.4.202
- ≥ 5.5 · < 5.10.127
- ≥ 5.11 · < 5.15.51
- ≥ 5.16 · < 5.18.8
- 5.19
- 5.19
- 5.19
No data.
Red Hat Enterprise Linux 10
kernel
Not affected
Red Hat Enterprise Linux 6
kernel
Not affected
Red Hat Enterprise Linux 7
kernel
Not affected
Red Hat Enterprise Linux 7
kernel-rt
Not affected
Red Hat Enterprise Linux 8
kernel
Not affected
Red Hat Enterprise Linux 8
kernel-rt
Not affected
Red Hat Enterprise Linux 9
kernel
Not affected
Red Hat Enterprise Linux 9
kernel-rt
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 10 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 6 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 7 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 7 | kernel-rt | Not affected | n/a |
| Red Hat Enterprise Linux 8 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 8 | kernel-rt | Not affected | n/a |
| Red Hat Enterprise Linux 9 | kernel | Not affected | n/a |
| Red Hat Enterprise Linux 9 | kernel-rt | Not affected | n/a |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
No CVSS v3.0 score for this CVE.
No CVSS v2.0 score for this CVE.
This CVE is not in the KEV list.
CISA SSVC (Vulnrichment)
Stakeholder-Specific Vulnerability Categorization from CISA ADP.
Exploitation
NoneAutomatable
NoTechnical Impact
TotalDecision
n/aAssessed Feb 27, 2025 · SSVC 2.0.3
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 3, 2026.
Score over time
2025–2026- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (4 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 3, 2026 | 0.28% (0.00276) | 18.22th | v5 (v2026.06.15) |
| Jun 15, 2026 | 0.25% (0.00253) | 16.39th | v5 (v2026.06.15) |
| Mar 17, 2025 | 0.02% (0.00016) | 1.94th | v4 (v2025.03.14) |
| Feb 27, 2025 | 0.04% (0.00044) | 15.63th | v3 (v2023.03.01) |
References (13)
- https://access.redhat.com/security/cve/CVE-2022-49685 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=2348138 Issue Tracking
- https://git.kernel.org/stable/c/31ff3309b47d98313c61b8301bf595820cc3cc33 Patch
- https://git.kernel.org/stable/c/4687c3f955240ca2a576bdc3f742d4d915b6272d Patch
- https://git.kernel.org/stable/c/4ef1e521be610b720daeb7cf899fedc7db0274c4 Patch
- https://git.kernel.org/stable/c/5e39397d60dacc7f5d81d442c1c958eaaaf31128 Patch
- https://git.kernel.org/stable/c/78601726d4a59a291acc5a52da1d3a0a6831e4e8 Patch
- https://git.kernel.org/stable/c/b07a30a774b3c3e584a68dc91779c68ea2da4813 Patch
- https://git.kernel.org/stable/c/d6111e7bdb8ec27eb43d01c4cd4ff1620a75f7f2 Patch
- https://git.kernel.org/stable/c/fd5d8fb298a2866c337da635c79d63c3afabcaf7 Patch
- https://lore.kernel.org/linux-cve-announce/2025022626-CVE-2022-49685-3634@gregkh/T
- https://nvd.nist.gov/vuln/detail/CVE-2022-49685
- https://www.cve.org/CVERecord?id=CVE-2022-49685
Change history (0)
No recorded changes yet.