# CVE-2026-53018: f2fs: avoid reading already updated pages during GC

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.16% (percentile 3, 2026-11-26)
- **Published:** 2026-06-24T16:29:28.051Z
- **Modified:** 2026-10-30T13:19:08.693Z

## Who should check

- Anyone running Linux \>= 6aa58d8ad20a3323f42274c25820a6f54192422d, \< ecf53b5c9ccba6e6a7db111722cc8bbfc92d4558; \>= 6aa58d8ad20a3323f42274c25820a6f54192422d, \< c260c874a6d578a45105f98089b1f0db5c6ff0a3; \>= 6aa58d8ad20a3323f42274c25820a6f54192422d, \< 08423a9564d92e51505763b6b2f47b3da8b0a355; \>= 6aa58d8ad20a3323f42274c25820a6f54192422d, \< 4623c251496b99c530ce225c05334f4eac8b933a; \>= 6aa58d8ad20a3323f42274c25820a6f54192422d, \< b663ebb8a340eae5442e605b6acd2cff5677f016; \>= 6aa58d8ad20a3323f42274c25820a6f54192422d, \< 570e2ccc7cb35fe720106964e65060602d3d2ac4
- Anyone running Linux 4.19

## Description

In the Linux kernel, the following vulnerability has been resolved:

f2fs: avoid reading already updated pages during GC

We found the following issue during fuzz testing:

page: refcount:3 mapcount:0 mapping:00000000b6e89c65 index:0x18b2dc pfn:0x161ba9
memcg:f8ffff800e269c00
aops:f2fs\_meta\_aops ino:2
flags: 0x52880000000080a9(locked\|waiters\|uptodate\|lru\|private\|zone=1\|kasantag=0x4a)
raw: 52880000000080a9 fffffffec6e17588 fffffffec0ccc088 a7ffff8067063618
raw: 000000000018b2dc 0000000000000009 00000003ffffffff f8ffff800e269c00
page dumped because: VM\_BUG\_ON\_FOLIO(folio\_test\_uptodate(folio))
page\_owner tracks the page as allocated
 post\_alloc\_hook+0x58c/0x5ec
 prep\_new\_page+0x34/0x284
 get\_page\_from\_freelist+0x2dcc/0x2e8c
 \_\_alloc\_pages\_noprof+0x280/0x76c
 \_\_folio\_alloc\_noprof+0x18/0xac
 \_\_filemap\_get\_folio+0x6bc/0xdc4
 pagecache\_get\_page+0x3c/0x104
 do\_garbage\_collect+0x5c78/0x77a4
 f2fs\_gc+0xd74/0x25f0
 gc\_thread\_func+0xb28/0x2930
 kthread+0x464/0x5d8
 ret\_from\_fork+0x10/0x20
------------\[ cut here \]------------
kernel BUG at mm/filemap.c:1563!
 folio\_end\_read+0x140/0x168
 f2fs\_finish\_read\_bio+0x5c4/0xb80
 f2fs\_read\_end\_io+0x64c/0x708
 bio\_endio+0x85c/0x8c0
 blk\_update\_request+0x690/0x127c
 scsi\_end\_request+0x9c/0xb8c
 scsi\_io\_completion+0xf0/0x250
 scsi\_finish\_command+0x430/0x45c
 scsi\_complete+0x178/0x6d4
 blk\_mq\_complete\_request+0xcc/0x104
 scsi\_done\_internal+0x214/0x454
 scsi\_done+0x24/0x34

which is similar to the problem reported by syzbot:
https://syzkaller.appspot.com/bug?extid=3686758660f980b402dc

This case is consistent with the description in commit 9bf1a3f
("f2fs: avoid GC causing encrypted file corrupted"):
Page 1 is moved from blkaddr A to blkaddr B by move\_data\_block, and after
being written it is marked as uptodate. Then, Page 1 is moved from blkaddr
B to blkaddr C, VM\_BUG\_ON\_FOLIO was triggered in the endio initiated by
ra\_data\_block.

There is no need to read Page 1 again from blkaddr B, since it has already
been updated. Therefore, avoid initiating I/O in this case.

## Affected and fixed versions

- Linux: \>= 6aa58d8ad20a3323f42274c25820a6f54192422d, \< ecf53b5c9ccba6e6a7db111722cc8bbfc92d4558; \>= 6aa58d8ad20a3323f42274c25820a6f54192422d, \< c260c874a6d578a45105f98089b1f0db5c6ff0a3; \>= 6aa58d8ad20a3323f42274c25820a6f54192422d, \< 08423a9564d92e51505763b6b2f47b3da8b0a355; \>= 6aa58d8ad20a3323f42274c25820a6f54192422d, \< 4623c251496b99c530ce225c05334f4eac8b933a; \>= 6aa58d8ad20a3323f42274c25820a6f54192422d, \< b663ebb8a340eae5442e605b6acd2cff5677f016; \>= 6aa58d8ad20a3323f42274c25820a6f54192422d, \< 570e2ccc7cb35fe720106964e65060602d3d2ac4 (cvelist)
- Linux: 4.19 (cvelist)

## Mitigation

- Upgrade Linux to 570e2ccc7cb35fe720106964e65060602d3d2ac4 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-53018. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-53018.md
Affected: Linux >= 6aa58d8ad20a3323f42274c25820a6f54192422d, < ecf53b5c9ccba6e6a7db111722cc8bbfc92d4558; >= 6aa58d8ad20a3323f42274c25820a6f54192422d, < c260c874a6d578a45105f98089b1f0db5c6ff0a3; >= 6aa58d8ad20a3323f42274c25820a6f54192422d, < 08423a9564d92e51505763b6b2f47b3da8b0a355; >= 6aa58d8ad20a3323f42274c…
Fixed in: Linux 08423a9564d92e51505763b6b2f47b3da8b0a355, Linux 4623c251496b99c530ce225c05334f4eac8b933a, Linux 570e2ccc7cb35fe720106964e65060602d3d2ac4

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-53018 being exploited?

There is no confirmed exploitation: CVE-2026-53018 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.16% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-53018?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-53018?

Linux \>= 6aa58d8ad20a3323f42274c25820a6f54192422d, \< ecf53b5c9ccba6e6a7db111722cc8bbfc92d4558; \>= 6aa58d8ad20a3323f42274c25820a6f54192422d, \< c260c874a6d578a45105f98089b1f0db5c6ff0a3; \>= 6aa58d8ad20a3323f42274c25820a6f54192422d, \< 08423a9564d92e51505763b6b2f47b3da8b0a355; \>= 6aa58d8ad20a3323f42274c25820a6f54192422d, \< 4623c251496b99c530ce225c05334f4eac8b933a; \>= 6aa58d8ad20a3323f42274c25820a6f54192422d, \< b663ebb8a340eae5442e605b6acd2cff5677f016; \>= 6aa58d8ad20a3323f42274c25820a6f54192422d, \< 570e2ccc7cb35fe720106964e65060602d3d2ac4; Linux 4.19.

### Is there a fix for CVE-2026-53018?

Yes. Fixed in Linux 08423a9564d92e51505763b6b2f47b3da8b0a355, Linux 4623c251496b99c530ce225c05334f4eac8b933a, Linux 570e2ccc7cb35fe720106964e65060602d3d2ac4. Upgrade Linux to 570e2ccc7cb35fe720106964e65060602d3d2ac4 or later.

### How do I check if I'm affected by CVE-2026-53018?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/4623c251496b99c530ce225c05334f4eac8b933a>
- patch: <https://git.kernel.org/stable/c/b663ebb8a340eae5442e605b6acd2cff5677f016>
- patch: <https://git.kernel.org/stable/c/570e2ccc7cb35fe720106964e65060602d3d2ac4>
- other: <https://git.kernel.org/stable/c/ecf53b5c9ccba6e6a7db111722cc8bbfc92d4558>
- other: <https://git.kernel.org/stable/c/c260c874a6d578a45105f98089b1f0db5c6ff0a3>
- other: <https://git.kernel.org/stable/c/08423a9564d92e51505763b6b2f47b3da8b0a355>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-53018>

HTML: <https://flawdb.com/CVE-2026-53018> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-53018>
