CVE-2022-49685

HIGH

Linux Kernel Use-After-Free in IIO Trigger Sysfs

Title source: llm
STIX 2.1

Description

In the Linux kernel, the following vulnerability has been resolved: iio: trigger: sysfs: fix use-after-free on remove 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 ==================================================================

Scores

CVSS v3 7.8
EPSS 0.0025
EPSS Percentile 16.6%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact total

Details

CWE
CWE-416
Status published
Products (27)
linux/Kernel 3.7.0 - 4.9.321linux
linux/Kernel 4.10.0 - 4.14.286linux
linux/Kernel 4.15.0 - 4.19.250linux
linux/Kernel 4.20.0 - 5.4.202linux
linux/Kernel 5.11.0 - 5.15.51linux
linux/Kernel 5.16.0 - 5.18.8linux
linux/Kernel 5.5.0 - 5.10.127linux
Linux/Linux < 3.7
Linux/Linux 3.7
Linux/Linux 4.14.286 - 4.14.*
... and 17 more
Published Feb 26, 2025
Tracked Since Feb 18, 2026