Vulnerability · Published Feb 26, 2025 · Assigned by Linux
CVE-2022-49443list: fix a data-race around ep->rdllist
Medium 4.7
In plain English
A medium-severity race condition in Linux from Linux. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 8% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
In the Linux kernel, the following vulnerability has been resolved: list: fix a data-race around ep->rdllist ep_poll() first calls ep_events_available() with no lock held and checks if ep->rdllist is empty by list_empty_careful(), which reads rdllist->prev. Thus all accesses to it need some protection to avoid store/load-tearing. Note INIT_LIST_HEAD_RCU() already has the annotation for both prev and next. Commit bf3b9f6372c4 ("epoll: Add busy poll support to epoll with socket fds.") added the first lockless ep_events_available(), and commit c5a282e9635e ("fs/epoll: reduce the scope of wq lock in epoll_wait()") made some ep_events_available() calls lockless and added single call under a lock, finally commit e59d3c64cba6 ("epoll: eliminate unnecessary lock for zero timeout") made the last ep_events_available() lockless. BUG: KCSAN: data-race in do_epoll_wait / do_epoll_wait write to 0xffff88810480c7d8 of 8 bytes by task 1802 on cpu 0: INIT_LIST_HEAD include/linux/list.h:38 [inline] list_splice_init include/linux/list.h:492 [inline] ep_start_scan fs/eventpoll.c:622 [inline] ep_send_events fs/eventpoll.c:1656 [inline] ep_poll fs/eventpoll.c:1806 [inline] do_epoll_wait+0x4eb/0xf40 fs/eventpoll.c:2234 do_epoll_pwait fs/eventpoll.c:2268 [inline] __do_sys_epoll_pwait fs/eventpoll.c:2281 [inline] __se_sys_epoll_pwait+0x12b/0x240 fs/eventpoll.c:2275 __x64_sys_epoll_pwait+0x74/0x80 fs/eventpoll.c:2275 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae read to 0xffff88810480c7d8 of 8 bytes by task 1799 on cpu 1: list_empty_careful include/linux/list.h:329 [inline] ep_events_available fs/eventpoll.c:381 [inline] ep_poll fs/eventpoll.c:1797 [inline] do_epoll_wait+0x279/0xf40 fs/eventpoll.c:2234 do_epoll_pwait fs/eventpoll.c:2268 [inline] __do_sys_epoll_pwait fs/eventpoll.c:2281 [inline] __se_sys_epoll_pwait+0x12b/0x240 fs/eventpoll.c:2275 __x64_sys_epoll_pwait+0x74/0x80 fs/eventpoll.c:2275 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x44/0xd0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x44/0xae value changed: 0xffff88810480c7d0 -> 0xffff888103c15098 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 1799 Comm: syz-fuzzer Tainted: G W 5.17.0-rc7-syzkaller-dirty #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:9 | kernel | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux:9 | kernel-64k | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux:9 | kernel-64k-core | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux:9 | kernel-64k-debug | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux:9 | kernel-64k-debug-core | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux:9 | kernel-64k-debug-devel | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux:9 | kernel-64k-debug-devel-matched | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux:9 | kernel-64k-debug-modules | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux:9 | kernel-64k-debug-modules-core | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux:9 | kernel-64k-debug-modules-extra | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux:9 | kernel-64k-devel | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux:9 | kernel-64k-devel-matched | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux:9 | kernel-64k-modules | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux:9 | kernel-64k-modules-core | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux:9 | kernel-64k-modules-extra | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux:9 | kernel-abi-stablelists | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux:9 | kernel-core | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux:9 | kernel-cross-headers | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux:9 | kernel-debug | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux:9 | kernel-debug-core | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux:9 | kernel-debug-devel | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux:9 | kernel-debug-devel-matched | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux:9 | kernel-debug-modules | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux:9 | kernel-debug-modules-core | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux:9 | kernel-debug-modules-extra | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux:9 | kernel-debug-uki-virt | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux:9 | kernel-devel | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux:9 | kernel-devel-matched | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux:9 | kernel-doc | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux:9 | kernel-headers | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux:9 | kernel-modules | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux:9 | kernel-modules-core | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux:9 | kernel-modules-extra | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux:9 | kernel-rt | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux:9 | kernel-rt-64k | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux:9 | kernel-rt-64k-core | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux:9 | kernel-rt-64k-debug | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux:9 | kernel-rt-64k-debug-core | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux:9 | kernel-rt-64k-debug-devel | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux:9 | kernel-rt-64k-debug-modules | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux:9 | kernel-rt-64k-debug-modules-core | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux:9 | kernel-rt-64k-debug-modules-extra | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux:9 | kernel-rt-64k-devel | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux:9 | kernel-rt-64k-modules | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux:9 | kernel-rt-64k-modules-core | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux:9 | kernel-rt-64k-modules-extra | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux:9 | kernel-rt-core | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux:9 | kernel-rt-debug | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux:9 | kernel-rt-debug-core | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux:9 | kernel-rt-debug-devel | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux:9 | kernel-rt-debug-modules | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux:9 | kernel-rt-debug-modules-core | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux:9 | kernel-rt-debug-modules-extra | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux:9 | kernel-rt-devel | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux:9 | kernel-rt-modules | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux:9 | kernel-rt-modules-core | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux:9 | kernel-rt-modules-extra | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux:9 | kernel-tools | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux:9 | kernel-tools-libs | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux:9 | kernel-tools-libs-devel | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux:9 | kernel-uki-virt | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux:9 | kernel-uki-virt-addons | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux:9 | kernel-zfcpdump | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux:9 | kernel-zfcpdump-core | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux:9 | kernel-zfcpdump-devel | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux:9 | kernel-zfcpdump-devel-matched | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux:9 | kernel-zfcpdump-modules | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux:9 | kernel-zfcpdump-modules-core | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux:9 | kernel-zfcpdump-modules-extra | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux:9 | libperf | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux:9 | perf | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux:9 | python3-perf | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux:9 | rtla | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| AlmaLinux:9 | rv | 5.14.0-611.5.1.el9_7 | ALSA-2025:20518 |
| Debian:12 | linux | 5.18.5-1 | DEBIAN-CVE-2022-49443 |
| Debian:13 | linux | 5.18.5-1 | DEBIAN-CVE-2022-49443 |
| Debian:14 | linux | 5.18.5-1 | DEBIAN-CVE-2022-49443 |
| Rocky Linux:9 | kernel | 0:5.14.0-611.5.1.el9_7 | RLSA-2025:20518 |
| Ubuntu:22.04:LTS | linux | 5.15.0-47.51 | UBUNTU-CVE-2022-49443 |
| Ubuntu:22.04:LTS | linux-allwinner-5.19 | no fix listed | UBUNTU-CVE-2022-49443 |
| Ubuntu:22.04:LTS | linux-aws | 5.15.0-1019.23 | UBUNTU-CVE-2022-49443 |
| Ubuntu:22.04:LTS | linux-aws-5.19 | no fix listed | UBUNTU-CVE-2022-49443 |
| Ubuntu:22.04:LTS | linux-aws-6.2 | no fix listed | UBUNTU-CVE-2022-49443 |
| Ubuntu:22.04:LTS | linux-aws-6.5 | no fix listed | UBUNTU-CVE-2022-49443 |
| Ubuntu:22.04:LTS | linux-azure | 5.15.0-1019.24 | UBUNTU-CVE-2022-49443 |
| Ubuntu:22.04:LTS | linux-azure-5.19 | no fix listed | UBUNTU-CVE-2022-49443 |
| Ubuntu:22.04:LTS | linux-azure-6.2 | no fix listed | UBUNTU-CVE-2022-49443 |
| Ubuntu:22.04:LTS | linux-azure-6.5 | no fix listed | UBUNTU-CVE-2022-49443 |
| Ubuntu:22.04:LTS | linux-azure-fde-5.19 | no fix listed | UBUNTU-CVE-2022-49443 |
| Ubuntu:22.04:LTS | linux-azure-fde-6.2 | no fix listed | UBUNTU-CVE-2022-49443 |
| Ubuntu:22.04:LTS | linux-gcp | 5.15.0-1017.23 | UBUNTU-CVE-2022-49443 |
| Ubuntu:22.04:LTS | linux-gcp-5.19 | no fix listed | UBUNTU-CVE-2022-49443 |
| Ubuntu:22.04:LTS | linux-gcp-6.2 | no fix listed | UBUNTU-CVE-2022-49443 |
| Ubuntu:22.04:LTS | linux-gcp-6.5 | no fix listed | UBUNTU-CVE-2022-49443 |
| Ubuntu:22.04:LTS | linux-gke | 5.15.0-1015.18 | UBUNTU-CVE-2022-49443 |
| Ubuntu:22.04:LTS | linux-gkeop | 5.15.0-1002.4 | UBUNTU-CVE-2022-49443 |
| Ubuntu:22.04:LTS | linux-hwe-5.19 | no fix listed | UBUNTU-CVE-2022-49443 |
| Ubuntu:22.04:LTS | linux-hwe-6.2 | no fix listed | UBUNTU-CVE-2022-49443 |
| Ubuntu:22.04:LTS | linux-hwe-6.5 | no fix listed | UBUNTU-CVE-2022-49443 |
| Ubuntu:22.04:LTS | linux-ibm | 5.15.0-1013.15 | UBUNTU-CVE-2022-49443 |
| Ubuntu:22.04:LTS | linux-intel-iot-realtime | no fix listed | UBUNTU-CVE-2022-49443 |
| Ubuntu:22.04:LTS | linux-intel-iotg | 5.15.0-1015.20 | UBUNTU-CVE-2022-49443 |
| Ubuntu:22.04:LTS | linux-kvm | 5.15.0-1017.21 | UBUNTU-CVE-2022-49443 |
| Ubuntu:22.04:LTS | linux-lowlatency | 5.15.0-47.53 | UBUNTU-CVE-2022-49443 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-5.19 | no fix listed | UBUNTU-CVE-2022-49443 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-6.2 | no fix listed | UBUNTU-CVE-2022-49443 |
| Ubuntu:22.04:LTS | linux-lowlatency-hwe-6.5 | no fix listed | UBUNTU-CVE-2022-49443 |
| Ubuntu:22.04:LTS | linux-nvidia | 5.15.0-1007.7 | UBUNTU-CVE-2022-49443 |
| Ubuntu:22.04:LTS | linux-nvidia-6.2 | no fix listed | UBUNTU-CVE-2022-49443 |
| Ubuntu:22.04:LTS | linux-nvidia-6.5 | no fix listed | UBUNTU-CVE-2022-49443 |
| Ubuntu:22.04:LTS | linux-oem-5.17 | no fix listed | UBUNTU-CVE-2022-49443 |
| Ubuntu:22.04:LTS | linux-oem-6.0 | no fix listed | UBUNTU-CVE-2022-49443 |
| Ubuntu:22.04:LTS | linux-oem-6.1 | no fix listed | UBUNTU-CVE-2022-49443 |
| Ubuntu:22.04:LTS | linux-oem-6.5 | no fix listed | UBUNTU-CVE-2022-49443 |
| Ubuntu:22.04:LTS | linux-oracle | 5.15.0-1017.22 | UBUNTU-CVE-2022-49443 |
| Ubuntu:22.04:LTS | linux-oracle-6.5 | no fix listed | UBUNTU-CVE-2022-49443 |
| Ubuntu:22.04:LTS | linux-raspi | 5.15.0-1014.16 | UBUNTU-CVE-2022-49443 |
| Ubuntu:24.04:LTS | linux-raspi-realtime | no fix listed | UBUNTU-CVE-2022-49443 |
| Ubuntu:22.04:LTS | linux-realtime | no fix listed | UBUNTU-CVE-2022-49443 |
| Ubuntu:22.04:LTS | linux-riscv | no fix listed | UBUNTU-CVE-2022-49443 |
| Ubuntu:22.04:LTS | linux-riscv-5.19 | no fix listed | UBUNTU-CVE-2022-49443 |
| Ubuntu:22.04:LTS | linux-riscv-6.5 | no fix listed | UBUNTU-CVE-2022-49443 |
| Ubuntu:22.04:LTS | linux-starfive-5.19 | no fix listed | UBUNTU-CVE-2022-49443 |
| Ubuntu:22.04:LTS | linux-starfive-6.2 | no fix listed | UBUNTU-CVE-2022-49443 |
| Ubuntu:22.04:LTS | linux-starfive-6.5 | no fix listed | UBUNTU-CVE-2022-49443 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | bf3b9f6372c45b0fbf24d86b8794910d20170017 – before 5d5d993f16be15d124be7b8ec71b28ef7b7dc3afbf3b9f6372c45b0fbf24d86b8794910d20170017 – before cb3e48f7a35033deb9455abe3932e63cb500b9ebbf3b9f6372c45b0fbf24d86b8794910d20170017 – before e039c0b5985999b150594126225e1ee51df7b4c9bf3b9f6372c45b0fbf24d86b8794910d20170017 – before d679ae94fdd5d3ab00c35078f5af5f37e068b03d |
| Linux | Linux | 4.12 |
Weakness: CWE-362 · Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H