CVE-2026-99574
published high CVSS 3.1 · 7.8f2fs: bound the SIT/NAT bitmaps by the checkpoint pack
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Linux | — | Linux39a53e0ce0df01b3cf4bb898c7ae2fd2189647d5 to < 8beac82c7cc9f7d0b060a4c67d912c1b6a66a1f8 · 39a53e0ce0df01b3cf4bb898c7ae2fd2189647d5 to < 415b142b03b4daf770340761db1431d638d188e2 · 39a53e0ce0df01b3cf4bb898c7ae2fd2189647d5 to < 47897ae5e050c40ee80994507dd7eb504174e27f · 39a53e0ce0df01b3cf4bb898c7ae2fd2189647d5 to < daf5987d2c48d9965534c3adc0a200bcb6e9d726 · 39a53e0ce0df01b3cf4bb898c7ae2fd2189647d5 to < ddb9848fd6b2f4e9ed5ef78b20c9720c65a29df5 · 39a53e0ce0df01b3cf4bb898c7ae2fd2189647d5 to < 9b08fc2d092171af388f83030d54488b87453155 · 39a53e0ce0df01b3cf4bb898c7ae2fd2189647d5 to < 7f88cd38394a16c326073c8813e7f1f1445bf3ba · 39a53e0ce0df01b3cf4bb898c7ae2fd2189647d5 to < 080833a32fd5dc10b3acf2fa9af9b3213e6cb617 · Other versions: unaffected | Affected | Not stated | Linux |
| Linux | — | Linux3.8 (affected) · 0 to < 3.8 (unaffected · semver) · 5.10.275 through 5.10.* (unaffected · semver) · 5.15.226 through 5.15.* (unaffected · semver) · 6.1.193 through 6.1.* (unaffected · semver) · 6.6.163 through 6.6.* (unaffected · semver) · 6.12.118 through 6.12.* (unaffected · semver) · 6.18.64 through 6.18.* (unaffected · semver) · 7.3.5 through 7.3.* (unaffected · semver) · 7.4-rc1 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 |
| Debian | trixie | linux | Advisory build | 6.12.118-1 | DSA-6652-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-develaarch64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-develppc64le | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-devels390x | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
Show 13 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-develx86_64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macrosaarch64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macrosppc64le | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macross390x | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-macrosx86_64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sourceaarch64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sourceppc64le | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sources390x | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-sourcex86_64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillaaarch64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillappc64le | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillas390x | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | kernel-source-vanillax86_64 | Advisory build | 7.3.6-2.1 | OPENSUSE-SU-2026:12733-1 |
Description
In the Linux kernel, the following vulnerability has been resolved: f2fs: bound the SIT/NAT bitmaps by the checkpoint pack sit_ver_bitmap_bytesize and nat_ver_bitmap_bytesize are used as memcpy lengths into and out of sbi->ckpt, which is sized from cp_payload alone, and nothing compares either length against that allocation. sanity_check_ckpt() has checked these two fields since c77ec61ca0a4, which added them after a crafted image overran build_sit_info(). That check ties each length to a segment count; it never compares either against the allocation, which is the half this adds. Mounting over-reads in build_sit_info() and build_node_manager(), and the first checkpoint writes the same lengths back through the same pointers, so the over-read's contents reach the on-disk checkpoint. An unmount is enough; the filesystem does not have to be used. Bound both ends the way __bitmap_ptr() lays them out. The three branches differ, so a single sum of the two lengths would still admit a small overflow when cp_payload is non-zero.
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:N/UI:R/S:U/C:H/I:H/A:H
- Scenarios
- en: AV:L - sit_ver_bitmap_bytesize and nat_ver_bitmap_bytesize are taken from the on-disk checkpoint in f2fs_get_valid_checkpoint() and passed to kmemdup() in build_sit_info() and init_node_manager(); those bytes are image metadata, not a field of any network protocol message. AC:L - The attacker picks segment_count_sit and segment_count_nat so f2fs_sanity_check_ckpt()'s segment-count test accepts the lengths, while cp_payload leaves the sbi->ckpt kvzalloc shorter than __bitmap_ptr() plus that length; the mount-time kmemdup then runs with no race or hardware fault. PR:N - The copy runs in f2fs_fill_super() as soon as the image is mounted. f2fs_fs_type has no FS_USERNS_MOUNT, so mount_capable() requires init-namespace CAP_SYS_ADMIN, but that capability belongs to the mounting victim; the image supplier needs none. UI:R - build_sit_info() is reached only from f2fs_fill_super() through f2fs_get_tree() and get_tree_bdev(), which run when someone mounts this image. A well-formed, already-mounted f2fs never reloads these bitmap lengths. S:U - The kmemdup past sbi->ckpt and the memcpy in get_sit_bitmap() and get_nat_bitmap() corrupt host kernel heap only. Nothing here crosses a guest-to-host or IOMMU boundary. C:H - build_sit_info() and init_node_manager() kmemdup() sit_ver_bitmap_bytesize and nat_ver_bitmap_bytesize bytes from __bitmap_ptr() inside an sbi->ckpt of (1+cp_payload) blocks. The excess is an attacker-sized read of adjacent kernel memory, not a few-byte leak. I:H - do_checkpoint() calls get_sit_bitmap() and get_nat_bitmap(), which memcpy those same lengths back through __bitmap_ptr(). The tail past the kvzalloc of sbi->ckpt is a heap out-of-bounds write, reached from kill_f2fs_super() when CP_UMOUNT_FLAG is clear. A:H - The memcpy in get_sit_bitmap() and get_nat_bitmap() writes past sbi->ckpt into adjacent heap, and a sit/nat length that runs off the direct map faults inside the mount-time kmemdup. Either way the kernel oopses.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Linux | Linux | 39a53e0ce0df01b3cf4bb898c7ae2fd2189647d5 to < 8beac82c7cc9f7d0b060a4c67d912c1b6a66a1f8 (affected · git)39a53e0ce0df01b3cf4bb898c7ae2fd2189647d5 to < 415b142b03b4daf770340761db1431d638d188e2 (affected · git)39a53e0ce0df01b3cf4bb898c7ae2fd2189647d5 to < 47897ae5e050c40ee80994507dd7eb504174e27f (affected · git)39a53e0ce0df01b3cf4bb898c7ae2fd2189647d5 to < daf5987d2c48d9965534c3adc0a200bcb6e9d726 (affected · git)39a53e0ce0df01b3cf4bb898c7ae2fd2189647d5 to < ddb9848fd6b2f4e9ed5ef78b20c9720c65a29df5 (affected · git)39a53e0ce0df01b3cf4bb898c7ae2fd2189647d5 to < 9b08fc2d092171af388f83030d54488b87453155 (affected · git)39a53e0ce0df01b3cf4bb898c7ae2fd2189647d5 to < 7f88cd38394a16c326073c8813e7f1f1445bf3ba (affected · git)39a53e0ce0df01b3cf4bb898c7ae2fd2189647d5 to < 080833a32fd5dc10b3acf2fa9af9b3213e6cb617 (affected · git)Default: unaffected | Linux · cna |
| Linux | Linux | 3.8 (affected)0 to < 3.8 (unaffected · semver)5.10.275 through 5.10.* (unaffected · semver)5.15.226 through 5.15.* (unaffected · semver)6.1.193 through 6.1.* (unaffected · semver)6.6.163 through 6.6.* (unaffected · semver)6.12.118 through 6.12.* (unaffected · semver)6.18.64 through 6.18.* (unaffected · semver)7.3.5 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected | Linux · cna |
Weaknesses
0No weakness assertions.
References
8- https://git.kernel.org/stable/c/080833a32fd5dc10b3acf2fa9af9b3213e6cb617
- https://git.kernel.org/stable/c/415b142b03b4daf770340761db1431d638d188e2
- https://git.kernel.org/stable/c/47897ae5e050c40ee80994507dd7eb504174e27f
- https://git.kernel.org/stable/c/7f88cd38394a16c326073c8813e7f1f1445bf3ba
- https://git.kernel.org/stable/c/8beac82c7cc9f7d0b060a4c67d912c1b6a66a1f8
- https://git.kernel.org/stable/c/9b08fc2d092171af388f83030d54488b87453155
- https://git.kernel.org/stable/c/daf5987d2c48d9965534c3adc0a200bcb6e9d726
- https://git.kernel.org/stable/c/ddb9848fd6b2f4e9ed5ef78b20c9720c65a29df5
Provider assertions
1Linux · cna
f2fs: bound the SIT/NAT bitmaps by the checkpoint pack
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 447b6a2cc5b344b6f0ad39edc8aba9a53559e7057f3b2971a14bffb8b3cbeae7
- Ingested
- 23 Nov 2026, 14:37:12 UTC
- Source record
- Official CVE record