CVE-2024-26764 json
fs/aio: Restrict kiocb_set_cancel_fn() to I/O submitted via libaio
published 2024-04-03 2 y ago modified 2026-06-17 4 mo ago also EUVD-2024-24026
- cvss
- 3.3
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 16%
- public exploits
- 0
- none known
Summary
In the Linux kernel, the following vulnerability has been resolved:
fs/aio: Restrict kiocb_set_cancel_fn() to I/O submitted via libaio
If kiocb_set_cancel_fn() is called for I/O submitted via io_uring, the following kernel warning appears:
WARNING: CPU: 3 PID: 368 at fs/aio.c:598 kiocb_set_cancel_fn+0x9c/0xa8 Call trace: kiocb_set_cancel_fn+0x9c/0xa8 ffs_epfile_read_iter+0x144/0x1d0 io_read+0x19c/0x498 io_issue_sqe+0x118/0x27c io_submit_sqes+0x25c/0x5fc __arm64_sys_io_uring_enter+0x104/0xab0 invoke_syscall+0x58/0x11c el0_svc_common+0xb4/0xf4 do_el0_svc+0x2c/0xb0 el0_svc+0x2c/0xa4 el0t_64_sync_handler+0x68/0xb4 el0t_64_sync+0x1a4/0x1a8
Fix this by setting the IOCB_AIO_RW flag for read and write I/O that is submitted by libaio.
Patch / fix
- Linux Linux 4.19.308, 5.4.270, 5.10.211, 5.15.150, 6.1.80, 6.6.19, 6.7.7, 6.8
- linux Debian 12 6.1.82-1
- linux Debian 14, Debian 13 6.7.7-1
debian advisories DEBIAN-CVE-2024-26764
- linux Ubuntu 20.04 LTS 5.4.0-186.206
- linux Ubuntu 22.04 LTS 5.15.0-112.122
- linux-aws Ubuntu 20.04 LTS 5.4.0-1126.136
- linux-aws Ubuntu 22.04 LTS 5.15.0-1063.69
- linux-gcp Ubuntu 20.04 LTS 5.4.0-1130.139
- linux-gcp Ubuntu 22.04 LTS 5.15.0-1062.70
- linux-gke Ubuntu 22.04 LTS 5.15.0-1060.66
- linux-ibm Ubuntu 20.04 LTS 5.4.0-1073.78
ubuntu advisories UBUNTU-CVE-2024-26764
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- kernel-rt Linux Micro 6.1, Linux Micro 6.0 6.4.0-25.1
- kernel-source-rt Linux Micro 6.1, Linux Micro 6.0 6.4.0-25.1
- kernel-livepatch-MICRO-6-0-RT_Update_5 Linux Micro 6.1, Linux Micro 6.0 1-1.1
- kernel-source Linux Micro 6.0 6.4.0-18.1
- kernel-default Linux Micro 6.0 6.4.0-18.1
- kernel-kvmsmall Linux Micro 6.0 6.4.0-18.1
- kernel-default-base Linux Micro 6.0 6.4.0-17.1.1.51
- kernel-rt SLE Micro 5.4, SLE Micro 5.3 5.14.21-150400.15.106.1
suse advisories SUSE-SU-2025:20166-1SUSE-SU-2025:20249-1SUSE-SU-2025:20008-1SUSE-SU-2025:0231-1SUSE-SU-2024:2973-1SUSE-SU-2024:2203-1
- git.kernel.org/stable/c/337b543e274fe7a8f47df3c8293cc6686ffa620f commit
- git.kernel.org/stable/c/b4eea7a05ee0ab5ab0514421e6ba8c5d249cf942 commit
- git.kernel.org/stable/c/ea1cd64d59f22d6d13f367d62ec6e27b9344695f commit
- git.kernel.org/stable/c/d7b6fa97ec894edd02f64b83e5e72e1aa352f353 commit
- git.kernel.org/stable/c/18f614369def2a11a52f569fe0f910b199d13487 commit
- git.kernel.org/stable/c/e7e23fc5d5fe422827c9a43ecb579448f73876c7 commit
- git.kernel.org/stable/c/1dc7d74fe456944a9b1c57bd776280249f441ac6 commit
- git.kernel.org/stable/c/b820de741ae48ccf50dd95e297889c286ff4f760 commit
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2024-26764 updated cvss 0.0
kernel: fs/aio: Restrict kiocb_set_cancel_fn() to I/O submitted via libaio
-
Red Hat Enterprise Linux 6 perf, kernel, python-perf, kernel-kdump, kernel-firmware, kernel-bootwrapper, +1 more Red Hat Enterprise Linux 7 perf, kernel, bpftool, kernel-rt, python-perf, kernel-kdump, +8 moreaffected: no fix planned “Out of support scope”
-
Red Hat Enterprise Linux 8 perf, kernel, bpftool, kernel-rt, kernel-core, kernel-tools, +29 more Red Hat Enterprise Linux 9 rv, perf, rtla, kernel, bpftool, libperf, +83 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
cisa ICSA-25-226-15 updated
Siemens SINEC OS
-
Siemens RUGGEDCOM RST2428P (6GK6242-6PA00) Siemens SCALANCE XC-300/XR-300/XC-400/XR-500WG/XR-500 family Siemens SCALANCE XCM-/XRM-/XCH-/XRH-300 familynot affected
Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.25% chance of exploitation in the next 30 days, higher than 16% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 3.3 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L |
Affected products
- Linux Linux
Classification
- Technology feeds
References
-
git.kernel.org
/stable/c/337b543e274fe7a8f47df3c8293cc6686ffa620f
patch
-
git.kernel.org
/stable/c/b4eea7a05ee0ab5ab0514421e6ba8c5d249cf942
patch
-
git.kernel.org
/stable/c/ea1cd64d59f22d6d13f367d62ec6e27b9344695f
patch
-
git.kernel.org
/stable/c/d7b6fa97ec894edd02f64b83e5e72e1aa352f353
patch
-
git.kernel.org
/stable/c/18f614369def2a11a52f569fe0f910b199d13487
patch
-
git.kernel.org
/stable/c/e7e23fc5d5fe422827c9a43ecb579448f73876c7
patch
-
git.kernel.org
/stable/c/1dc7d74fe456944a9b1c57bd776280249f441ac6
patch
-
git.kernel.org
/stable/c/b820de741ae48ccf50dd95e297889c286ff4f760
patch
-
lists.debian.org
/debian-lts-announce/2024/06/msg00017.html
mailing-list
-
lists.debian.org
/debian-lts-announce/2024/06/msg00020.html
mailing-list
Sources
- CVE List CVE-2024-26764
- NVD CVE-2024-26764
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.