Skip to content
High 7.5

Linux Kernelのnvmetに古いメモリが漏れる脆弱性、情報が漏えいするおそれ

CVE-2026-100098 First seen on SecPulse

Summary

Linux KernelのNVMeターゲット機能(nvmet)のゾーン管理受信処理で、応答バッファの未書き込み部分に以前の内容が残り、カーネルの古いメモリがホストへ送られるおそれがあります。影響を受けるのは5.14.0〜5.15.226未満、6.1.193未満、6.6.163未満、6.12.117未満、6.18.63未満、7.3.4未満などの版で、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 KernelのNVMeターゲット機能(nvmet)のゾーン管理受信処理で、応答バッファの未書き込み部分に以前の内容が残り、カーネルの古いメモリがホストへ送られるおそれがあります。影響を受けるのは5.14.0〜5.15.226未満、6.1.193未満、6.6.163未満、6.12.117未満、6.18.63未満、7.3.4未満などの版で、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:

nvmet: zns: don't leak stale memory in zone management receive

A Zone Management Receive report returns the full buffer the host asked
for, but nvmet_bdev_zone_zmgmt_recv_work() writes only the 8-byte
Number of Zones field and one 64-byte descriptor for each matching zone
that fits. The 56 reserved header bytes and every descriptor slot past
the last match keep whatever the buffer held before. A 4096-byte report
covering a single zone leaves 4024 bytes unwritten.

The tcp, rdma and fc transports allocate that buffer with sgl_alloc()
and pci-epf with kmalloc(), none with __GFP_ZERO, and on success each
sends the whole buffer to the host (nvmet_setup_c2h_data_pdu() for
tcp), so the host receives old kernel memory from the target.

nvmet_bdev_execute_zone_mgmt_recv() also never checks the transport
data length against NUMD, so on transports where the host sets that
length, the buffer sent back can be much larger than the report NUMD
describes. pci-epf derives its data length from NUMD, so the length
check below does not apply there, but the zeroing still covers the
report.

Reject a data length that does not match NUMD with
nvmet_check_transfer_len(), as nvmet_bdev_execute_zone_append() does,
and zero the report with nvmet_zero_sgl() before filling it. Zeroing
NUMD bytes is only enough because of the length check, so the two go
together.

Allocating with __GFP_ZERO in the transports would also close the leak,…

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