Skip to content
Medium 7.0

Linux kernelのpstoreに脆弱性、カーネルメモリを壊されるおそれ

CVE-2026-139658 First seen on SecPulse

Summary

Linux kernelのpstoreで、ヘッダーより小さい領域を受け付けてしまう脆弱性(CVE-2026-139658)が見つかりました。小さすぎる領域を設定すると、/dev/pmsg0への書き込みでカーネルのメモリが壊されるおそれがあります。影響は5.10.275、5.15.226、6.1.193、6.6.163、6.12.119、6.18.65、7.3.6より前の版で、修正版が公開されています。該当するカーネルを修正版へ更新してください。

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 kernelのpstoreで、ヘッダーより小さい領域を受け付けてしまう脆弱性(CVE-2026-139658)が見つかりました。小さすぎる領域を設定すると、/dev/pmsg0への書き込みでカーネルのメモリが壊されるおそれがあります。影響は5.10.275、5.15.226、6.1.193、6.6.163、6.12.119、6.18.65、7.3.6より前の版で、修正版が公開されています。該当するカーネルを修正版へ更新してください。

Affected packages

PackageAffected → Fixed
LinuxLinux —
LinuxKernel
≥ 3.4.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.119→ 6.12.119
≥ 6.13.0, < 6.18.65→ 6.18.65
≥ 6.19.0, < 7.3.6→ 7.3.6

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:

pstore: reject persistent RAM zones too small for the buffer header

persistent_ram_buffer_map() computes

prz->buffer_size = size - sizeof(struct persistent_ram_buffer);

without checking that size is large enough to hold the header. A
ramoops zone configured with a tiny size (e.g. ramoops.pmsg_size=1)
underflows buffer_size to a huge value, which defeats every bounds
check in persistent_ram_write() and persistent_ram_write_user(); a
write to /dev/pmsg0 then copies user data far past the end of the zone
and corrupts kernel memory.

Reject zones that are not larger than the buffer header.

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