Skip to content
High 7.8

Linux カーネルのNTFS3ドライバーに脆弱性、細工したボリュームでメモリ破壊のおそれ

CVE-2026-99862 First seen on SecPulse

Summary

Linux カーネルのNTFS3ドライバーで、ジャーナル再生時のファイルレコード処理に境界チェックの不備があり、メモリの範囲外を書き換えられるおそれがあります。CVSSは7.8で、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 カーネルのNTFS3ドライバーで、ジャーナル再生時のファイルレコード処理に境界チェックの不備があり、メモリの範囲外を書き換えられるおそれがあります。CVSSは7.8で、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.15.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:

fs/ntfs3: bound DeleteAttribute asize against rec->used in do_action

In do_action()'s DeleteAttribute case (fslog.c:3316), attr is
Add2Ptr(rec, roff) with roff taken from the on-disk lrh->record_off, and
asize = le32_to_cpu(attr->size) is read straight out of the MFT record:

asize = le32_to_cpu(attr->size);
used  = le32_to_cpu(rec->used);

if (!check_if_attr(rec, lrh))
	goto dirty_vol;
...
memmove(attr, Add2Ptr(attr, asize), used - asize - roff);

check_if_attr() (fslog.c:2869) walks the attribute chain from
rec->attr_off and returns o == ro. Its loop breaks on ATTR_END, so ro may
legitimately equal the offset of the ATTR_END marker; that is exactly how
CreateAttribute appends to a record. But check_file_record()'s walk
(fslog.c:2831) also stops at ATTR_END, so check_attr() never inspects the
bytes there. When roff is the ATTR_END offset, those never-validated bytes
are what gets read as attr->size, and used - asize - roff underflows.

The read itself is also unbounded: roff is a u16 and attr->size is
dereferenced at fslog.c:3317, before check_if_attr() has constrained roff
at all, so it can be up to ~64K past a record_size-sized object.

Commit 0ca0485e4b2e ("fs/ntfs3: validate rec->used in journal-replay file
record check") added at fslog.c:2844

if (used < PtrOffset(rec, attr) + sizeof(attr->type))
	return false;

and its changelog names this very memmove. It bounds rec->used against the
ATT…

Source: Linux kernel CVE announcements NVD GitHub Advisory

References

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