CVE-2026-53165
published high CVSS 3.1 · 7.5iomap: avoid potential null folio->mapping deref during error reporting
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linuxa9d573ee88af980f14fdadb5c12bbf6a195fb3f1 to < 1ad453817a4077230d1ba88eb0868f05f824449a · a9d573ee88af980f14fdadb5c12bbf6a195fb3f1 to < 2eea7f44b9c8b42fd7d3a1a87c06a7cd1b99c327 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux7.0 (affected) · 0 to < 7.0 (unaffected · semver) · 7.0.13 through 7.0.* (unaffected · semver) · 7.1 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 | noble | linux-aws-7.0 | Advisory build | 7.0.0-1012.12~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-aws-7.0-cloud-tools-7.0.0-1012 | Advisory build | 7.0.0-1012.12~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-aws-7.0-headers-7.0.0-1012 | Advisory build | 7.0.0-1012.12~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-aws-7.0-tools-7.0.0-1012 | Advisory build | 7.0.0-1012.12~24.04.1 | USN-8726-1 |
Show 96 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Ubuntu | noble | linux-azure-7.0 | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8728-2 |
| Ubuntu | noble | linux-azure-7.0-cloud-tools-7.0.0-1014 | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8728-2 |
| Ubuntu | noble | linux-azure-7.0-headers-7.0.0-1014 | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8728-2 |
| Ubuntu | noble | linux-azure-7.0-tools-7.0.0-1014 | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8728-2 |
| Ubuntu | noble | linux-buildinfo-7.0.0-1011-gcp | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-1 |
| Ubuntu | noble | linux-buildinfo-7.0.0-1011-gcp-64k | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-1 |
| Ubuntu | noble | linux-buildinfo-7.0.0-1011-oracle | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-3 |
| Ubuntu | noble | linux-buildinfo-7.0.0-1011-oracle-64k | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-3 |
| Ubuntu | noble | linux-buildinfo-7.0.0-1012-aws | Advisory build | 7.0.0-1012.12~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-buildinfo-7.0.0-1012-aws-64k | Advisory build | 7.0.0-1012.12~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-buildinfo-7.0.0-1014-azure | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8728-2 |
| Ubuntu | noble | linux-buildinfo-7.0.0-1018-nvidia | Advisory build | 7.0.0-1018.18~24.04.1 | USN-8760-1 |
| Ubuntu | noble | linux-buildinfo-7.0.0-1018-nvidia-64k | Advisory build | 7.0.0-1018.18~24.04.1 | USN-8760-1 |
| Ubuntu | noble | linux-buildinfo-7.0.0-31-generic | Advisory build | 7.0.0-31.31~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-buildinfo-7.0.0-31-generic-64k | Advisory build | 7.0.0-31.31~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-cloud-tools-7.0.0-1012-aws | Advisory build | 7.0.0-1012.12~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-cloud-tools-7.0.0-1012-aws-64k | Advisory build | 7.0.0-1012.12~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-cloud-tools-7.0.0-1014-azure | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8728-2 |
| Ubuntu | noble | linux-cloud-tools-7.0.0-31-generic | Advisory build | 7.0.0-31.31~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-gcp-7.0 | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-1 |
| Ubuntu | noble | linux-gcp-7.0-headers-7.0.0-1011 | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-1 |
| Ubuntu | noble | linux-gcp-7.0-tools-7.0.0-1011 | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-1 |
| Ubuntu | noble | linux-headers-7.0.0-1011-gcp | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-1 |
| Ubuntu | noble | linux-headers-7.0.0-1011-gcp-64k | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-1 |
| Ubuntu | noble | linux-headers-7.0.0-1011-oracle | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-3 |
| Ubuntu | noble | linux-headers-7.0.0-1011-oracle-64k | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-3 |
| Ubuntu | noble | linux-headers-7.0.0-1012-aws | Advisory build | 7.0.0-1012.12~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-headers-7.0.0-1012-aws-64k | Advisory build | 7.0.0-1012.12~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-headers-7.0.0-1014-azure | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8728-2 |
| Ubuntu | noble | linux-headers-7.0.0-1018-nvidia | Advisory build | 7.0.0-1018.18~24.04.1 | USN-8760-1 |
| Ubuntu | noble | linux-headers-7.0.0-1018-nvidia-64k | Advisory build | 7.0.0-1018.18~24.04.1 | USN-8760-1 |
| Ubuntu | noble | linux-headers-7.0.0-31-generic | Advisory build | 7.0.0-31.31~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-headers-7.0.0-31-generic-64k | Advisory build | 7.0.0-31.31~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-hwe-7.0 | Advisory build | 7.0.0-31.31~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-hwe-7.0-cloud-tools-7.0.0-31 | Advisory build | 7.0.0-31.31~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-hwe-7.0-headers-7.0.0-31 | Advisory build | 7.0.0-31.31~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-hwe-7.0-tools-7.0.0-31 | Advisory build | 7.0.0-31.31~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-image-7.0.0-31-generic | Advisory build | 7.0.0-31.31~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-1011-gcp | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-1 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-1011-gcp-64k | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-1 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-1011-oracle | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-3 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-1011-oracle-64k | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-3 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-1012-aws | Advisory build | 7.0.0-1012.12~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-1012-aws-64k | Advisory build | 7.0.0-1012.12~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-1014-azure | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8728-2 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-1018-nvidia | Advisory build | 7.0.0-1018.18~24.04.1 | USN-8760-1 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-1018-nvidia-64k | Advisory build | 7.0.0-1018.18~24.04.1 | USN-8760-1 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-31-generic | Advisory build | 7.0.0-31.31~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-image-unsigned-7.0.0-31-generic-64k | Advisory build | 7.0.0-31.31~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-lib-rust-7.0.0-31-generic | Advisory build | 7.0.0-31.31~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-modules-7.0.0-1011-gcp | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-1 |
| Ubuntu | noble | linux-modules-7.0.0-1011-gcp-64k | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-1 |
| Ubuntu | noble | linux-modules-7.0.0-1011-oracle | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-3 |
| Ubuntu | noble | linux-modules-7.0.0-1011-oracle-64k | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-3 |
| Ubuntu | noble | linux-modules-7.0.0-1012-aws | Advisory build | 7.0.0-1012.12~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-modules-7.0.0-1012-aws-64k | Advisory build | 7.0.0-1012.12~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-modules-7.0.0-1014-azure | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8728-2 |
| Ubuntu | noble | linux-modules-7.0.0-1018-nvidia | Advisory build | 7.0.0-1018.18~24.04.1 | USN-8760-1 |
| Ubuntu | noble | linux-modules-7.0.0-1018-nvidia-64k | Advisory build | 7.0.0-1018.18~24.04.1 | USN-8760-1 |
| Ubuntu | noble | linux-modules-7.0.0-31-generic | Advisory build | 7.0.0-31.31~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-modules-7.0.0-31-generic-64k | Advisory build | 7.0.0-31.31~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-modules-evdi-7.0.0-31-generic | Advisory build | 7.0.0-31.31~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-modules-ipu6-7.0.0-31-generic | Advisory build | 7.0.0-31.31~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-modules-ipu7-7.0.0-31-generic | Advisory build | 7.0.0-31.31~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-modules-iwlwifi-7.0.0-1014-azure | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8728-2 |
| Ubuntu | noble | linux-modules-iwlwifi-7.0.0-31-generic | Advisory build | 7.0.0-31.31~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-modules-nvidia-fs-7.0.0-1018-nvidia | Advisory build | 7.0.0-1018.18~24.04.1 | USN-8760-1 |
| Ubuntu | noble | linux-modules-nvidia-fs-7.0.0-1018-nvidia-64k | Advisory build | 7.0.0-1018.18~24.04.1 | USN-8760-1 |
| Ubuntu | noble | linux-modules-usbio-7.0.0-31-generic | Advisory build | 7.0.0-31.31~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-modules-vision-7.0.0-31-generic | Advisory build | 7.0.0-31.31~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-nvidia-7.0 | Advisory build | 7.0.0-1018.18~24.04.1 | USN-8760-1 |
| Ubuntu | noble | linux-nvidia-7.0-headers-7.0.0-1018 | Advisory build | 7.0.0-1018.18~24.04.1 | USN-8760-1 |
| Ubuntu | noble | linux-nvidia-7.0-tools-7.0.0-1018 | Advisory build | 7.0.0-1018.18~24.04.1 | USN-8760-1 |
| Ubuntu | noble | linux-oracle-7.0 | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-3 |
| Ubuntu | noble | linux-oracle-7.0-headers-7.0.0-1011 | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-3 |
| Ubuntu | noble | linux-oracle-7.0-tools-7.0.0-1011 | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-3 |
| Ubuntu | noble | linux-tools-7.0.0-1011-gcp | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-1 |
| Ubuntu | noble | linux-tools-7.0.0-1011-gcp-64k | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-1 |
| Ubuntu | noble | linux-tools-7.0.0-1011-oracle | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-3 |
| Ubuntu | noble | linux-tools-7.0.0-1011-oracle-64k | Advisory build | 7.0.0-1011.11~24.04.1 | USN-8728-3 |
| Ubuntu | noble | linux-tools-7.0.0-1012-aws | Advisory build | 7.0.0-1012.12~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-tools-7.0.0-1012-aws-64k | Advisory build | 7.0.0-1012.12~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-tools-7.0.0-1014-azure | Advisory build | 7.0.0-1014.14~24.04.1 | USN-8728-2 |
| Ubuntu | noble | linux-tools-7.0.0-1018-nvidia | Advisory build | 7.0.0-1018.18~24.04.1 | USN-8760-1 |
| Ubuntu | noble | linux-tools-7.0.0-1018-nvidia-64k | Advisory build | 7.0.0-1018.18~24.04.1 | USN-8760-1 |
| Ubuntu | noble | linux-tools-7.0.0-31-generic | Advisory build | 7.0.0-31.31~24.04.1 | USN-8726-1 |
| Ubuntu | noble | linux-tools-7.0.0-31-generic-64k | Advisory build | 7.0.0-31.31~24.04.1 | USN-8726-1 |
| Ubuntu | resolute | bpftool | Advisory build | 7.7.0+7.0.0-31.31 | USN-8726-1 |
| Ubuntu | resolute | linux | Advisory build | 7.0.0-31.31 | USN-8726-1 |
| Ubuntu | resolute | linux-aws | Advisory build | 7.0.0-1012.12 | USN-8726-1 |
| Ubuntu | resolute | linux-aws-cloud-tools-7.0.0-1012 | Advisory build | 7.0.0-1012.12 | USN-8726-1 |
| Ubuntu | resolute | linux-aws-headers-7.0.0-1012 | Advisory build | 7.0.0-1012.12 | USN-8726-1 |
| Ubuntu | resolute | linux-aws-tools-7.0.0-1012 | Advisory build | 7.0.0-1012.12 | USN-8726-1 |
| Ubuntu | resolute | linux-azure | Advisory build | 7.0.0-1014.14 | USN-8726-4 |
| Ubuntu | resolute | linux-azure-cloud-tools-7.0.0-1014 | Advisory build | 7.0.0-1014.14 | USN-8726-4 |
| Ubuntu | resolute | linux-azure-headers-7.0.0-1014 | Advisory build | 7.0.0-1014.14 | USN-8726-4 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
In the Linux kernel, the following vulnerability has been resolved: iomap: avoid potential null folio->mapping deref during error reporting When a buffered read fails, iomap_finish_folio_read() reports the error with fserror_report_io(folio->mapping->host, ...). This is called after ifs->read_bytes_pending has been decremented by the bytes attempted to be read. For a folio split across multiple read completions, the folio is only guaranteed to stay locked while read_bytes_pending > 0. Once iomap_finish_folio_read() decrements read_bytes_pending, another in-flight read can complete and end the read on the folio, which unlocks it. This allows truncate logic to run and detach the folio (set folio->mapping to NULL). The error reporting path then can dereference a NULL folio->mapping. As reported by Sam Sun, this is the race that can occur: CPU0: failed completion CPU1: final completion CPU2: truncate ----------------------- ---------------------- -------------- read_bytes_pending -= len finished = false /* preempted before fserror_report_io() */ read_bytes_pending -= len finished = true folio_end_read() truncate clears folio->mapping fserror_report_io( folio->mapping->host, ...) ^ NULL deref Fix this by reporting the error first before decrementing ifs->read_bytes_pending.
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.5 / 10
- Severity
- high
- Provider
- Linux · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Scenarios
- en: AV:N - Remote file-serving paths such as ksmbd and nfsd can drive VFS reads and truncates on iomap-backed filesystems, reaching the vulnerable completion path through network requests. A local syscall path also exists, but the highest reasonable exposure is a writable network share/export. AC:L - The bug is a race, but an attacker can issue concurrent read/readahead and truncate or size-change operations and retry the window. There is no memory-layout prerequisite, and uncertainty is resolved toward the higher-severity AC:L. PR:N - A writable anonymous or guest SMB/NFS export can expose the read and truncate operations without prior authentication. If the export requires credentials this would be PR:L, but the highest reasonable deployment is unauthenticated access. UI:N - The attacker can trigger both the read/error-reporting side and the truncate side directly through requests. No separate victim action is required. S:U - The fault occurs within the kernel filesystem/page-cache security authority. It does not cross a VM, IOMMU, or sandbox boundary. C:N - The vulnerable dereference is a NULL folio->mapping dereference during error reporting. This is a crash condition, not an information disclosure primitive. I:N - The bug does not corrupt attacker-controlled memory or provide a write primitive. It only dereferences a NULL mapping pointer. A:H - A NULL pointer dereference in kernel context can oops or panic the system. Repeated triggering can deny availability of the affected host.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | a9d573ee88af980f14fdadb5c12bbf6a195fb3f1 to < 1ad453817a4077230d1ba88eb0868f05f824449a (affected · git)a9d573ee88af980f14fdadb5c12bbf6a195fb3f1 to < 2eea7f44b9c8b42fd7d3a1a87c06a7cd1b99c327 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 7.0 (affected)0 to < 7.0 (unaffected · semver)7.0.13 through 7.0.* (unaffected · semver)7.1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
2Provider assertions
1Linux · cna
iomap: avoid potential null folio->mapping deref during error reporting
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- bf3db059e2fc289e7caa8f1c692ce3fed7739494750d3faad166dc70d74c4cf4
- Ingested
- 23 Sep 2026, 09:19:36 UTC
- Source record
- Official CVE record