# CVE-2026-43349: f2fs: fix to avoid uninit-value access in f2fs\_sanity\_check\_node\_footer

> 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)
- **CWE:** CWE-908
- **Published:** 2026-05-08T13:41:52.611Z
- **Modified:** 2026-11-11T20:10:00.273Z

## Who should check

- Anyone running Linux \>= 855c54f1803e3ebc613677b4f389c7f92656a1fc, \< 59970b2586fef4b13e96527b9d232bed30b640cd; \>= 50ac3ecd8e05b6bcc350c71a4307d40c030ec7e4, \< a10b89343d41ceee1af0ec38d3a74e526c77fa09; \>= 50ac3ecd8e05b6bcc350c71a4307d40c030ec7e4, \< 7b9161a605e91d0987e2596a245dc1f21621b23f; c386753db52b3a80afa6612bfdcb925aa5ca260f; \>= 6.18.13, \< 6.18.25; \>= 6.19.3, \< 6.20
- Anyone running Linux 7.0

## Description

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

f2fs: fix to avoid uninit-value access in f2fs\_sanity\_check\_node\_footer

syzbot reported a f2fs bug as below:

BUG: KMSAN: uninit-value in f2fs\_sanity\_check\_node\_footer+0x374/0xa20 fs/f2fs/node.c:1520
 f2fs\_sanity\_check\_node\_footer+0x374/0xa20 fs/f2fs/node.c:1520
 f2fs\_finish\_read\_bio+0xe1e/0x1d60 fs/f2fs/data.c:177
 f2fs\_read\_end\_io+0x6ab/0x2220 fs/f2fs/data.c:-1
 bio\_endio+0x1006/0x1160 block/bio.c:1792
 submit\_bio\_noacct+0x533/0x2960 block/blk-core.c:891
 submit\_bio+0x57a/0x620 block/blk-core.c:926
 blk\_crypto\_submit\_bio include/linux/blk-crypto.h:203 \[inline\]
 f2fs\_submit\_read\_bio+0x12c/0x360 fs/f2fs/data.c:557
 f2fs\_submit\_page\_bio+0xee2/0x1450 fs/f2fs/data.c:775
 read\_node\_folio+0x384/0x4b0 fs/f2fs/node.c:1481
 \_\_get\_node\_folio+0x5db/0x15d0 fs/f2fs/node.c:1576
 f2fs\_get\_inode\_folio+0x40/0x50 fs/f2fs/node.c:1623
 do\_read\_inode fs/f2fs/inode.c:425 \[inline\]
 f2fs\_iget+0x1209/0x9380 fs/f2fs/inode.c:596
 f2fs\_fill\_super+0x8f5a/0xb2e0 fs/f2fs/super.c:5184
 get\_tree\_bdev\_flags+0x6e6/0x920 fs/super.c:1694
 get\_tree\_bdev+0x38/0x50 fs/super.c:1717
 f2fs\_get\_tree+0x35/0x40 fs/f2fs/super.c:5436
 vfs\_get\_tree+0xb3/0x5d0 fs/super.c:1754
 fc\_mount fs/namespace.c:1193 \[inline\]
 do\_new\_mount\_fc fs/namespace.c:3763 \[inline\]
 do\_new\_mount+0x885/0x1dd0 fs/namespace.c:3839
 path\_mount+0x7a2/0x20b0 fs/namespace.c:4159
 do\_mount fs/namespace.c:4172 \[inline\]
 \_\_do\_sys\_mount fs/namespace.c:4361 \[inline\]
 \_\_se\_sys\_mount+0x704/0x7f0 fs/namespace.c:4338
 \_\_x64\_sys\_mount+0xe4/0x150 fs/namespace.c:4338
 x64\_sys\_call+0x39f0/0x3ea0 arch/x86/include/generated/asm/syscalls\_64.h:166
 do\_syscall\_x64 arch/x86/entry/syscall\_64.c:63 \[inline\]
 do\_syscall\_64+0x134/0xf80 arch/x86/entry/syscall\_64.c:94
 entry\_SYSCALL\_64\_after\_hwframe+0x77/0x7f

The root cause is: in f2fs\_finish\_read\_bio(), we may access uninit data
in folio if we failed to read the data from device into folio, let's add
a check condition to avoid such issue.

## Affected and fixed versions

- Linux: \>= 855c54f1803e3ebc613677b4f389c7f92656a1fc, \< 59970b2586fef4b13e96527b9d232bed30b640cd; \>= 50ac3ecd8e05b6bcc350c71a4307d40c030ec7e4, \< a10b89343d41ceee1af0ec38d3a74e526c77fa09; \>= 50ac3ecd8e05b6bcc350c71a4307d40c030ec7e4, \< 7b9161a605e91d0987e2596a245dc1f21621b23f; c386753db52b3a80afa6612bfdcb925aa5ca260f; \>= 6.18.13, \< 6.18.25; \>= 6.19.3, \< 6.20 (cvelist)
- Linux: 7.0 (cvelist)

## Mitigation

- Upgrade Linux to 6.20 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-43349. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-43349.md
Affected: Linux >= 855c54f1803e3ebc613677b4f389c7f92656a1fc, < 59970b2586fef4b13e96527b9d232bed30b640cd; >= 50ac3ecd8e05b6bcc350c71a4307d40c030ec7e4, < a10b89343d41ceee1af0ec38d3a74e526c77fa09; >= 50ac3ecd8e05b6bcc350c71a4307d40c030ec7e4, < 7b9161a605e91d0987e2596a245dc1f21621b23f; c386753db52b3a80afa6612bfd…
Fixed in: Linux 59970b2586fef4b13e96527b9d232bed30b640cd, Linux 7b9161a605e91d0987e2596a245dc1f21621b23f, Linux 6.18.25, Linux 6.20

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-43349 being exploited?

There is no confirmed exploitation: CVE-2026-43349 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-43349?

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

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

Linux \>= 855c54f1803e3ebc613677b4f389c7f92656a1fc, \< 59970b2586fef4b13e96527b9d232bed30b640cd; \>= 50ac3ecd8e05b6bcc350c71a4307d40c030ec7e4, \< a10b89343d41ceee1af0ec38d3a74e526c77fa09; \>= 50ac3ecd8e05b6bcc350c71a4307d40c030ec7e4, \< 7b9161a605e91d0987e2596a245dc1f21621b23f; c386753db52b3a80afa6612bfdcb925aa5ca260f; \>= 6.18.13, \< 6.18.25; \>= 6.19.3, \< 6.20; Linux 7.0.

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

Yes. Fixed in Linux 59970b2586fef4b13e96527b9d232bed30b640cd, Linux 7b9161a605e91d0987e2596a245dc1f21621b23f, Linux 6.18.25, Linux 6.20. Upgrade Linux to 6.20 or later.

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

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/59970b2586fef4b13e96527b9d232bed30b640cd>
- patch: <https://git.kernel.org/stable/c/a10b89343d41ceee1af0ec38d3a74e526c77fa09>
- patch: <https://git.kernel.org/stable/c/7b9161a605e91d0987e2596a245dc1f21621b23f>

## 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-43349>

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