CVE-2025-21643
Last modified
CVE-2025-21643 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. In the Linux kernel, the following vulnerability has been resolved: netfs: Fix kernel async DIO Netfslib needs to be able to handle kernel-initiated asynchronous DIO that is supplied with a bio_vec[] array. Currently, because of the async flag, this gets passed to netfs_extract_user_iter() which throws a warning and fails because it only handles IOVEC and UBUF iterators. EPSS estimates a 0.21% chance of exploitation in the next 30 days.
Description
In the Linux kernel, the following vulnerability has been resolved: netfs: Fix kernel async DIO Netfslib needs to be able to handle kernel-initiated asynchronous DIO that is supplied with a bio_vec[] array. Currently, because of the async flag, this gets passed to netfs_extract_user_iter() which throws a warning and fails because it only handles IOVEC and UBUF iterators. This can be triggered through a combination of cifs and a loopback blockdev with something like: mount //my/cifs/share /foo dd if=/dev/zero of=/foo/m0 bs=4K count=1K losetup --sector-size 4096 --direct-io=on /dev/loop2046 /foo/m0 echo hello >/dev/loop2046 This causes the following to appear in syslog: WARNING: CPU: 2 PID: 109 at fs/netfs/iterator.c:50 netfs_extract_user_iter+0x170/0x250 [netfs] and the write to fail. Fix this by removing the check in netfs_unbuffered_write_iter_locked() that causes async kernel DIO writes to be handled as userspace writes. Note that this change relies on the kernel caller maintaining the existence of the bio_vec array (or kvec[] or folio_queue) until the op is complete.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Linux | Linux Kernel | >= 6.8, < 6.12.10 | — |
| Linux | Linux Kernel | 6.13 | Rc1 |
References
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2025-21643?
How severe is CVE-2025-21643?
How do I fix CVE-2025-21643?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-21638In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-21639In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-2164The pixelstats plugin for WordPress is vulnerable to Reflect…6.1
- CVE-2025-21640In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-21641In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-21642In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-21644In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-21645In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-21646In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-21647In the Linux kernel, the following vulnerability has been re…7.1
- CVE-2025-21648In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2025-21649In the Linux kernel, the following vulnerability has been re…5.5
Are you affected by CVE-2025-21643?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
