CVE-2025-37779
published high CVSS 3.1 · 7.8lib/iov_iter: fix to increase non slab folio refcount
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxb9c0e49abfca06f1a109acea834bcfc934f33f76 to < d833f21162c4d536d729628f8cf1ee8d4110f2b7 · b9c0e49abfca06f1a109acea834bcfc934f33f76 to < 770c8d55c42868239c748a3ebc57c9e37755f842 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux6.14 (affected) · 0 to < 6.14 (unaffected · semver) · 6.14.4 through 6.14.* (unaffected · semver) · 6.15 and later (unaffected · original_commit_for_fix) · Other versions: affected | Version-specific | Not stated | Linux |
| Amazon Linux | AL2 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Ubuntu | plucky | bpftool | Advisory build | 7.6.0+6.14.0-22.22 | USN-7594-1 |
| Ubuntu | plucky | linux | Advisory build | 6.14.0-22.22 | USN-7594-1 |
| Ubuntu | plucky | linux-aws | Advisory build | 6.14.0-1007.7 | USN-7594-3 |
| Ubuntu | plucky | linux-aws-cloud-tools-6.14.0-1007 | Advisory build | 6.14.0-1007.7 | USN-7594-3 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Ubuntu | plucky | linux-aws-headers-6.14.0-1007 | Advisory build | 6.14.0-1007.7 | USN-7594-3 |
| Ubuntu | plucky | linux-aws-tools-6.14.0-1007 | Advisory build | 6.14.0-1007.7 | USN-7594-3 |
| Ubuntu | plucky | linux-azure | Advisory build | 6.14.0-1007.7 | USN-7594-2 |
| Ubuntu | plucky | linux-azure-cloud-tools-6.14.0-1007 | Advisory build | 6.14.0-1007.7 | USN-7594-2 |
| Ubuntu | plucky | linux-azure-headers-6.14.0-1007 | Advisory build | 6.14.0-1007.7 | USN-7594-2 |
| Ubuntu | plucky | linux-azure-tools-6.14.0-1007 | Advisory build | 6.14.0-1007.7 | USN-7594-2 |
| Ubuntu | plucky | linux-bpf-dev | Advisory build | 6.14.0-22.22 | USN-7594-1 |
| Ubuntu | plucky | linux-buildinfo-6.14.0-1004-realtime | Advisory build | 6.14.0-1004.4 | USN-7594-1 |
| Ubuntu | plucky | linux-buildinfo-6.14.0-1007-aws | Advisory build | 6.14.0-1007.7 | USN-7594-3 |
| Ubuntu | plucky | linux-buildinfo-6.14.0-1007-aws-64k | Advisory build | 6.14.0-1007.7 | USN-7594-3 |
| Ubuntu | plucky | linux-buildinfo-6.14.0-1007-azure | Advisory build | 6.14.0-1007.7 | USN-7594-2 |
| Ubuntu | plucky | linux-buildinfo-6.14.0-1007-oracle | Advisory build | 6.14.0-1007.7 | USN-7594-3 |
| Ubuntu | plucky | linux-buildinfo-6.14.0-1007-oracle-64k | Advisory build | 6.14.0-1007.7 | USN-7594-3 |
| Ubuntu | plucky | linux-buildinfo-6.14.0-1007-raspi | Advisory build | 6.14.0-1007.7 | USN-7594-1 |
| Ubuntu | plucky | linux-buildinfo-6.14.0-1008-gcp | Advisory build | 6.14.0-1008.8 | USN-7594-1 |
| Ubuntu | plucky | linux-buildinfo-6.14.0-1008-gcp-64k | Advisory build | 6.14.0-1008.8 | USN-7594-1 |
| Ubuntu | plucky | linux-buildinfo-6.14.0-22-generic | Advisory build | 6.14.0-22.22 | USN-7594-1 |
| Ubuntu | plucky | linux-buildinfo-6.14.0-22-generic-64k | Advisory build | 6.14.0-22.22 | USN-7594-1 |
| Ubuntu | plucky | linux-cloud-tools-6.14.0-1004-realtime | Advisory build | 6.14.0-1004.4 | USN-7594-1 |
| Ubuntu | plucky | linux-cloud-tools-6.14.0-1007-aws | Advisory build | 6.14.0-1007.7 | USN-7594-3 |
| Ubuntu | plucky | linux-cloud-tools-6.14.0-1007-aws-64k | Advisory build | 6.14.0-1007.7 | USN-7594-3 |
| Ubuntu | plucky | linux-cloud-tools-6.14.0-1007-azure | Advisory build | 6.14.0-1007.7 | USN-7594-2 |
| Ubuntu | plucky | linux-cloud-tools-6.14.0-22 | Advisory build | 6.14.0-22.22 | USN-7594-1 |
| Ubuntu | plucky | linux-cloud-tools-6.14.0-22-generic | Advisory build | 6.14.0-22.22 | USN-7594-1 |
| Ubuntu | plucky | linux-cloud-tools-common | Advisory build | 6.14.0-22.22 | USN-7594-1 |
| Ubuntu | plucky | linux-gcp | Advisory build | 6.14.0-1008.8 | USN-7594-1 |
| Ubuntu | plucky | linux-gcp-headers-6.14.0-1008 | Advisory build | 6.14.0-1008.8 | USN-7594-1 |
| Ubuntu | plucky | linux-gcp-tools-6.14.0-1008 | Advisory build | 6.14.0-1008.8 | USN-7594-1 |
| Ubuntu | plucky | linux-headers-6.14.0-1004-realtime | Advisory build | 6.14.0-1004.4 | USN-7594-1 |
| Ubuntu | plucky | linux-headers-6.14.0-1007-aws | Advisory build | 6.14.0-1007.7 | USN-7594-3 |
| Ubuntu | plucky | linux-headers-6.14.0-1007-aws-64k | Advisory build | 6.14.0-1007.7 | USN-7594-3 |
| Ubuntu | plucky | linux-headers-6.14.0-1007-azure | Advisory build | 6.14.0-1007.7 | USN-7594-2 |
| Ubuntu | plucky | linux-headers-6.14.0-1007-oracle | Advisory build | 6.14.0-1007.7 | USN-7594-3 |
| Ubuntu | plucky | linux-headers-6.14.0-1007-oracle-64k | Advisory build | 6.14.0-1007.7 | USN-7594-3 |
| Ubuntu | plucky | linux-headers-6.14.0-1007-raspi | Advisory build | 6.14.0-1007.7 | USN-7594-1 |
| Ubuntu | plucky | linux-headers-6.14.0-1008-gcp | Advisory build | 6.14.0-1008.8 | USN-7594-1 |
| Ubuntu | plucky | linux-headers-6.14.0-1008-gcp-64k | Advisory build | 6.14.0-1008.8 | USN-7594-1 |
| Ubuntu | plucky | linux-headers-6.14.0-22 | Advisory build | 6.14.0-22.22 | USN-7594-1 |
| Ubuntu | plucky | linux-headers-6.14.0-22-generic | Advisory build | 6.14.0-22.22 | USN-7594-1 |
| Ubuntu | plucky | linux-headers-6.14.0-22-generic-64k | Advisory build | 6.14.0-22.22 | USN-7594-1 |
| Ubuntu | plucky | linux-image-6.14.0-1007-raspi | Advisory build | 6.14.0-1007.7 | USN-7594-1 |
| Ubuntu | plucky | linux-image-6.14.0-22-generic | Advisory build | 6.14.0-22.22 | USN-7594-1 |
| Ubuntu | plucky | linux-image-unsigned-6.14.0-1004-realtime | Advisory build | 6.14.0-1004.4 | USN-7594-1 |
| Ubuntu | plucky | linux-image-unsigned-6.14.0-1007-aws | Advisory build | 6.14.0-1007.7 | USN-7594-3 |
| Ubuntu | plucky | linux-image-unsigned-6.14.0-1007-aws-64k | Advisory build | 6.14.0-1007.7 | USN-7594-3 |
| Ubuntu | plucky | linux-image-unsigned-6.14.0-1007-azure | Advisory build | 6.14.0-1007.7 | USN-7594-2 |
| Ubuntu | plucky | linux-image-unsigned-6.14.0-1007-oracle | Advisory build | 6.14.0-1007.7 | USN-7594-3 |
| Ubuntu | plucky | linux-image-unsigned-6.14.0-1007-oracle-64k | Advisory build | 6.14.0-1007.7 | USN-7594-3 |
| Ubuntu | plucky | linux-image-unsigned-6.14.0-1008-gcp | Advisory build | 6.14.0-1008.8 | USN-7594-1 |
| Ubuntu | plucky | linux-image-unsigned-6.14.0-1008-gcp-64k | Advisory build | 6.14.0-1008.8 | USN-7594-1 |
| Ubuntu | plucky | linux-image-unsigned-6.14.0-22-generic | Advisory build | 6.14.0-22.22 | USN-7594-1 |
| Ubuntu | plucky | linux-image-unsigned-6.14.0-22-generic-64k | Advisory build | 6.14.0-22.22 | USN-7594-1 |
| Ubuntu | plucky | linux-lib-rust-6.14.0-22-generic | Advisory build | 6.14.0-22.22 | USN-7594-1 |
| Ubuntu | plucky | linux-libc-dev | Advisory build | 6.14.0-22.22 | USN-7594-1 |
| Ubuntu | plucky | linux-modules-6.14.0-1004-realtime | Advisory build | 6.14.0-1004.4 | USN-7594-1 |
| Ubuntu | plucky | linux-modules-6.14.0-1007-aws | Advisory build | 6.14.0-1007.7 | USN-7594-3 |
| Ubuntu | plucky | linux-modules-6.14.0-1007-aws-64k | Advisory build | 6.14.0-1007.7 | USN-7594-3 |
| Ubuntu | plucky | linux-modules-6.14.0-1007-azure | Advisory build | 6.14.0-1007.7 | USN-7594-2 |
| Ubuntu | plucky | linux-modules-6.14.0-1007-oracle | Advisory build | 6.14.0-1007.7 | USN-7594-3 |
| Ubuntu | plucky | linux-modules-6.14.0-1007-oracle-64k | Advisory build | 6.14.0-1007.7 | USN-7594-3 |
| Ubuntu | plucky | linux-modules-6.14.0-1007-raspi | Advisory build | 6.14.0-1007.7 | USN-7594-1 |
| Ubuntu | plucky | linux-modules-6.14.0-1008-gcp | Advisory build | 6.14.0-1008.8 | USN-7594-1 |
| Ubuntu | plucky | linux-modules-6.14.0-1008-gcp-64k | Advisory build | 6.14.0-1008.8 | USN-7594-1 |
| Ubuntu | plucky | linux-modules-6.14.0-22-generic | Advisory build | 6.14.0-22.22 | USN-7594-1 |
| Ubuntu | plucky | linux-modules-6.14.0-22-generic-64k | Advisory build | 6.14.0-22.22 | USN-7594-1 |
| Ubuntu | plucky | linux-modules-extra-6.14.0-1004-realtime | Advisory build | 6.14.0-1004.4 | USN-7594-1 |
| Ubuntu | plucky | linux-modules-extra-6.14.0-1007-aws | Advisory build | 6.14.0-1007.7 | USN-7594-3 |
| Ubuntu | plucky | linux-modules-extra-6.14.0-1007-aws-64k | Advisory build | 6.14.0-1007.7 | USN-7594-3 |
| Ubuntu | plucky | linux-modules-extra-6.14.0-1007-azure | Advisory build | 6.14.0-1007.7 | USN-7594-2 |
| Ubuntu | plucky | linux-modules-extra-6.14.0-1007-oracle | Advisory build | 6.14.0-1007.7 | USN-7594-3 |
| Ubuntu | plucky | linux-modules-extra-6.14.0-1007-oracle-64k | Advisory build | 6.14.0-1007.7 | USN-7594-3 |
| Ubuntu | plucky | linux-modules-extra-6.14.0-1008-gcp | Advisory build | 6.14.0-1008.8 | USN-7594-1 |
| Ubuntu | plucky | linux-modules-extra-6.14.0-1008-gcp-64k | Advisory build | 6.14.0-1008.8 | USN-7594-1 |
| Ubuntu | plucky | linux-modules-extra-6.14.0-22-generic | Advisory build | 6.14.0-22.22 | USN-7594-1 |
| Ubuntu | plucky | linux-modules-ipu6-6.14.0-22-generic | Advisory build | 6.14.0-22.22 | USN-7594-1 |
| Ubuntu | plucky | linux-modules-ipu7-6.14.0-22-generic | Advisory build | 6.14.0-22.22 | USN-7594-1 |
| Ubuntu | plucky | linux-modules-iwlwifi-6.14.0-1004-realtime | Advisory build | 6.14.0-1004.4 | USN-7594-1 |
| Ubuntu | plucky | linux-modules-iwlwifi-6.14.0-22-generic | Advisory build | 6.14.0-22.22 | USN-7594-1 |
| Ubuntu | plucky | linux-modules-usbio-6.14.0-22-generic | Advisory build | 6.14.0-22.22 | USN-7594-1 |
| Ubuntu | plucky | linux-modules-vision-6.14.0-22-generic | Advisory build | 6.14.0-22.22 | USN-7594-1 |
| Ubuntu | plucky | linux-oracle | Advisory build | 6.14.0-1007.7 | USN-7594-3 |
| Ubuntu | plucky | linux-oracle-headers-6.14.0-1007 | Advisory build | 6.14.0-1007.7 | USN-7594-3 |
| Ubuntu | plucky | linux-oracle-tools-6.14.0-1007 | Advisory build | 6.14.0-1007.7 | USN-7594-3 |
| Ubuntu | plucky | linux-perf | Advisory build | 6.14.0-22.22 | USN-7594-1 |
| Ubuntu | plucky | linux-raspi | Advisory build | 6.14.0-1007.7 | USN-7594-1 |
| Ubuntu | plucky | linux-raspi-headers-6.14.0-1007 | Advisory build | 6.14.0-1007.7 | USN-7594-1 |
| Ubuntu | plucky | linux-raspi-tools-6.14.0-1007 | Advisory build | 6.14.0-1007.7 | USN-7594-1 |
| Ubuntu | plucky | linux-realtime | Advisory build | 6.14.0-1004.4 | USN-7594-1 |
| Ubuntu | plucky | linux-realtime-cloud-tools-6.14.0-1004 | Advisory build | 6.14.0-1004.4 | USN-7594-1 |
| Ubuntu | plucky | linux-realtime-headers-6.14.0-1004 | Advisory build | 6.14.0-1004.4 | USN-7594-1 |
| Ubuntu | plucky | linux-realtime-tools-6.14.0-1004 | Advisory build | 6.14.0-1004.4 | USN-7594-1 |
| Ubuntu | plucky | linux-source-6.14.0 | Advisory build | 6.14.0-22.22 | USN-7594-1 |
| Ubuntu | plucky | linux-tools-6.14.0-1004-realtime | Advisory build | 6.14.0-1004.4 | USN-7594-1 |
| Ubuntu | plucky | linux-tools-6.14.0-1007-aws | Advisory build | 6.14.0-1007.7 | USN-7594-3 |
| Ubuntu | plucky | linux-tools-6.14.0-1007-aws-64k | Advisory build | 6.14.0-1007.7 | USN-7594-3 |
| Ubuntu | plucky | linux-tools-6.14.0-1007-azure | Advisory build | 6.14.0-1007.7 | USN-7594-2 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
In the Linux kernel, the following vulnerability has been resolved: lib/iov_iter: fix to increase non slab folio refcount When testing EROFS file-backed mount over v9fs on qemu, I encountered a folio UAF issue. The page sanity check reports the following call trace. The root cause is that pages in bvec are coalesced across a folio bounary. The refcount of all non-slab folios should be increased to ensure p9_releas_pages can put them correctly. BUG: Bad page state in process md5sum pfn:18300 page: refcount:0 mapcount:0 mapping:00000000d5ad8e4e index:0x60 pfn:0x18300 head: order:0 mapcount:0 entire_mapcount:0 nr_pages_mapped:0 pincount:0 aops:z_erofs_aops ino:30b0f dentry name(?):"GoogleExtServicesCn.apk" flags: 0x100000000000041(locked|head|node=0|zone=1) raw: 0100000000000041 dead000000000100 dead000000000122 ffff888014b13bd0 raw: 0000000000000060 0000000000000020 00000000ffffffff 0000000000000000 head: 0100000000000041 dead000000000100 dead000000000122 ffff888014b13bd0 head: 0000000000000060 0000000000000020 00000000ffffffff 0000000000000000 head: 0100000000000000 0000000000000000 ffffffffffffffff 0000000000000000 head: 0000000000000010 0000000000000000 00000000ffffffff 0000000000000000 page dumped because: PAGE_FLAGS_CHECK_AT_FREE flag(s) set Call Trace: dump_stack_lvl+0x53/0x70 bad_page+0xd4/0x220 __free_pages_ok+0x76d/0xf30 __folio_put+0x230/0x320 p9_release_pages+0x179/0x1f0 p9_virtio_zc_request+0xa2a/0x1230 p9_client_zc_rpc.constprop.0+0x247/0x700 p9_client_read_once+0x34d/0x810 p9_client_read+0xf3/0x150 v9fs_issue_read+0x111/0x360 netfs_unbuffered_read_iter_locked+0x927/0x1390 netfs_unbuffered_read_iter+0xa2/0xe0 vfs_iocb_iter_read+0x2c7/0x460 erofs_fileio_rq_submit+0x46b/0x5b0 z_erofs_runqueue+0x1203/0x21e0 z_erofs_readahead+0x579/0x8b0 read_pages+0x19f/0xa70 page_cache_ra_order+0x4ad/0xb80 filemap_readahead.isra.0+0xe7/0x150 filemap_get_pages+0x7aa/0x1890 filemap_read+0x320/0xc80 vfs_read+0x6c6/0xa30 ksys_read+0xf9/0x1c0 do_syscall_64+0x9e/0x1a0 entry_SYSCALL_64_after_hwframe+0x71/0x79
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.8 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - The bug is triggered by local file I/O — an ordinary read()/readahead on a file-backed EROFS or loop-backed filesystem whose backing store lives on 9p/NFS/ceph — via the read/readahead syscall path, not by any remotely supplied data. AC:L - The only precondition is that a bvec entry spans a folio boundary, which the block layer's physical-contiguity merging (bvec_try_merge_page) produces routinely; the reporter hit it simply running md5sum, and an attacker can drive bulk readahead over large files to make it near-certain. PR:L - Any unprivileged local user who can read a file on the affected mount reaches the path; there is no capability check, credential check, or privileged ioctl anywhere between the read syscall and __iov_iter_get_pages_alloc(). UI:N - No victim action is needed — the attacker's own read() on an already-mounted filesystem drives the entire path to completion. S:U - The refcount underflow and resulting folio use-after-free are confined to the kernel's own memory management; no VM, IOMMU, or sandbox boundary is crossed. C:H - The folio is freed to the buddy allocator while still in the page cache and still the target of in-flight I/O, so after reallocation the attacker reads back kernel or other-process data through the stale page-cache mapping — a UAF read primitive. I:H - I/O completion writes filesystem data into a page that has been freed and handed to another allocation, giving a controllable heap write primitive that is leverageable for corruption and control-flow hijack. A:H - The refcount underflow immediately produces "Bad page state"/bad_page reports and freeing of in-use, locked page-cache folios, leading to oops or panic; the inflated head-folio refcount additionally leaks memory permanently.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | b9c0e49abfca06f1a109acea834bcfc934f33f76 to < d833f21162c4d536d729628f8cf1ee8d4110f2b7 (affected · git)b9c0e49abfca06f1a109acea834bcfc934f33f76 to < 770c8d55c42868239c748a3ebc57c9e37755f842 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 6.14 (affected)0 to < 6.14 (unaffected · semver)6.14.4 through 6.14.* (unaffected · semver)6.15 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
2Provider assertions
1Linux · cna
lib/iov_iter: fix to increase non slab folio refcount
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 8d041ef0e3a52a68532b792886049df1a7aa0acc69802e1c5093cdb7503e414a
- Ingested
- 23 Sep 2026, 08:46:10 UTC
- Source record
- Official CVE record