Skip to content
High 7.8

Linuxカーネルのjbd2で未初期化メモリを解放される脆弱性

CVE-2026-138875 First seen on SecPulse

Summary

Linuxカーネルのjbd2で、ファストコミットのバッファ管理に誤りがあり、未初期化のヒープ領域が解放処理で触れられる脆弱性です。公表は2026年11月30日で、CVSSは7.8です。修正版は5.10.275、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カーネルのjbd2で、ファストコミットのバッファ管理に誤りがあり、未初期化のヒープ領域が解放処理で触れられる脆弱性です。公表は2026年11月30日で、CVSSは7.8です。修正版は5.10.275、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.10.0, < 5.10.275→ 5.10.275
≥ 5.11.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:

jbd2: don't advance j_fc_off before the buffer is recorded

jbd2_fc_get_buf() increments journal->j_fc_off before jbd2_journal_bmap()
and __getblk() have had a chance to fail. When either does, the slot
j_fc_wbuf[fc_off] is never assigned, but j_fc_off already counts it.

ext4 then fails the fast commit and falls back, and the fallback path
reaches jbd2_fc_release_bufs() via ext4_fc_commit ->
jbd2_fc_end_commit_fallback -> __jbd2_fc_end_commit -> ext4_fc_cleanup.
That walks down from j_fc_off - 1 and put_bh()es every slot until it
sees NULL, so it also touches the slot that was never written.
j_fc_wbuf comes from a plain kmalloc() and is never zeroed, so a slot
used for the first time holds uninitialised heap data.

Advance j_fc_off only after the buffer head has been stored. That
restores the invariant that j_fc_off covers exactly the filled slots,
which is what jbd2_fc_release_bufs() relies on: the live buffers of the
current fast commit sit above the NULLs the previous one released, so
stopping at the first NULL is correct.

Reproduced on a KASAN kernel with an ext4 fast_commit filesystem on a
loop device, truncating the backing file under the live mount so that
only the journal's fast-commit region falls past the end of the device.
__getblk() then fails for the first fast-commit block while the rest of
the journal is still addressable, so the journal is not aborted and the
fast commit reaches the fallb…

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