Skip to content
High 7.8

Linux Kernelのxfsで細工されたイメージから範囲外の書き込みを受ける脆弱性

CVE-2026-99400 First seen on SecPulse

Summary

攻撃者が細工したXFSイメージをマウントされると、getxattrの処理で範囲外のメモリへコピーが起きる脆弱性です。影響を受けるのは5.4以降から6.12.117前、6.13以降から6.18.61前、6.19以降から7.3.2前のLinux Kernelで、修正版は6.12.117、6.18.61、7.3.2です。修正版への更新をおすすめします。

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.

攻撃者が細工したXFSイメージをマウントされると、getxattrの処理で範囲外のメモリへコピーが起きる脆弱性です。影響を受けるのは5.4以降から6.12.117前、6.13以降から6.18.61前、6.19以降から7.3.2前のLinux Kernelで、修正版は6.12.117、6.18.61、7.3.2です。修正版への更新をおすすめします。

Affected packages

PackageAffected → Fixed
LinuxLinux —
LinuxKernel
≥ 5.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.117→ 6.12.117
≥ 6.13.0, < 6.18.61→ 6.18.61
≥ 6.19.0, < 7.3.2→ 7.3.2

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:

xfs: reject out-of-range attribute value lengths in xfs_attr_copy_value

xfs_attr_copy_value() takes the value length as a signed int and, for a
remote xattr, is handed args->rmtvaluelen. That field is filled from the
on-disk __be32 xfs_attr_leaf_name_remote.valuelen in
xfs_attr3_leaf_getvalue(), so a crafted length such as 0x80000000 is
stored into the signed rmtvaluelen as a negative number.

The "buffer too small" guard in xfs_attr_copy_value() is a signed
comparison:

if (args->valuelen < valuelen)
	return -ERANGE;

A negative valuelen therefore compares as smaller than the caller's
buffer size, skips the -ERANGE path, and is then used as a copy length,
leading to an out-of-bounds copy of a full remote block into a small
getxattr(2) buffer on a mounted crafted image.

Reject a value length that is negative or larger than the maximum xattr
size before it is used, so a bogus on-disk length can no longer slip
through the value copier.

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