Skip to content
High 7.8

Linux カーネルのf2fsに脆弱性、読み取り専用イメージのマウントで範囲外書き込みのおそれ

CVE-2026-100095 First seen on SecPulse

Summary

Linux カーネルのf2fsで、読み取り専用機能を持つイメージをマウントする際に境界チェックが不完全なため、範囲外への書き込みが起きる脆弱性です。CVSSは7.8で、影響を受けるのは5.14.0以降の各系列で、5.15.226、6.1.193、6.6.163、6.12.117、6.18.63、7.3.4以降に修正版が公開されています。ご利用のカーネル版を確認し、修正版への更新を検討してください。

AI summary

Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.

Linux カーネルのf2fsで、読み取り専用機能を持つイメージをマウントする際に境界チェックが不完全なため、範囲外への書き込みが起きる脆弱性です。CVSSは7.8で、影響を受けるのは5.14.0以降の各系列で、5.15.226、6.1.193、6.6.163、6.12.117、6.18.63、7.3.4以降に修正版が公開されています。ご利用のカーネル版を確認し、修正版への更新を検討してください。

Affected packages

PackageAffected → Fixed
LinuxLinux —
LinuxKernel
≥ 5.14.0, < 5.15.226→ 5.15.226
≥ 5.16.0, < 6.1.193→ 6.1.193
≥ 6.2.0, < 6.6.163→ 6.6.163
≥ 6.7.0, < 6.12.117→ 6.12.117
≥ 6.13.0, < 6.18.63→ 6.18.63
≥ 6.19.0, < 7.3.4→ 7.3.4

Fix status by distribution

Records published by each distribution for this CVE. Fixed versions differ by release; check each link.

Original description The description as published by the source.

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

f2fs: check every cur_*_segno[] entry on readonly images

sanity_check_ckpt() bounds-checks cur_node_segno[] and cur_data_segno[]
against main_segs, but on an image with the RO feature the goto that skips
the duplicate-segno cross-checks also leaves the enclosing loop, so only
index 0 of each array is ever checked.

An unchecked index reaches __set_sit_entry_type() through build_curseg() ->
reset_curseg(), which writes se->type through &sit_i->sentries[segno]. With
segment_count_main 120 and cur_data_segno[1] set to 200, KASAN reports
three out-of-bounds writes during mount and the mount then succeeds.

Use continue so every index is bounds-checked, and skip the node-vs-data
cross-check explicitly, which is the other thing the old goto skipped.

Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details