Skip to content
High 7.8

Linux カーネルのNTFS3ドライバーに脆弱性、細工したイメージのマウントで攻撃の恐れ

CVE-2026-99863 First seen on SecPulse

Summary

Linux カーネルのNTFS3ドライバーで、ログ再生処理の境界チェックが不足しており、メモリの範囲外に書き込まれる脆弱性が見つかりました。細工されたNTFSボリュームをマウントすると悪用されるおそれがあり、深刻度は高とされています。修正版はカーネル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ドライバーで、ログ再生処理の境界チェックが不足しており、メモリの範囲外に書き込まれる脆弱性が見つかりました。細工されたNTFSボリュームをマウントすると悪用されるおそれがあり、深刻度は高とされています。修正版はカーネル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 CreateAttribute asize against record_size in do_action

In do_action()'s CreateAttribute case (fslog.c:3286), attr2 points into
the on-disk log record and asize = le32_to_cpu(attr2->size) is therefore
attacker-controlled on mount. The guard bounds asize only against the
log record itself,

Add2Ptr(attr2, asize) > Add2Ptr(lrh, rec_len)

where rec_len is the client data length, and separately bounds dlen
against the MFT record. Nothing bounds asize against record_size, but
all three writes that follow are into rec, a kmalloc(sbi->record_size)
buffer allocated by mi_init() (record.c:105):

memmove(Add2Ptr(attr, asize), attr, used - roff);
memcpy(attr, attr2, asize);
rec->used = cpu_to_le32(used + asize);

With record_size 0x400, roff 0x38, used 0x160 and asize 0x800 the memcpy
writes 2048 bytes at rec + 0x38, 0x438 bytes past the allocation, and
rec->used is left at 0x960. dlen is 0x18 here, so the existing
dlen check passes: dlen bounds nothing about the size of the copy.

The equivalent non-replay path already refuses this. mi_insert_attr()
performs the same insert and starts with (record.c:488):

if (used + asize > sbi->record_size)
	return NULL;

Apply the same bound, spelled as a subtraction to match the neighbouring
clause. used <= record_size holds here because check_file_record()
validates it (fslog.c:2826) and is called on this record at fslog.c:3172;
roff <= used - 4 follows…

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