Skip to content
High 7.8

Linuxカーネルのiov_iter_alignment()に脆弱性、サービス妨害のおそれ

CVE-2026-99827 First seen on SecPulse

Summary

Linuxカーネルでは、空のイテレータの処理でNULLポインタを参照し、カーネルがクラッシュするおそれがあります。影響するのは6.18.22以降6.18.63未満、6.19.12以降6.20未満、7.0.0以降7.3.4未満です。修正版は6.18.63、6.20、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カーネルでは、空のイテレータの処理でNULLポインタを参照し、カーネルがクラッシュするおそれがあります。影響するのは6.18.22以降6.18.63未満、6.19.12以降6.20未満、7.0.0以降7.3.4未満です。修正版は6.18.63、6.20、7.3.4で、利用中のディストリビューションの更新も合わせて確認してください。

Affected packages

PackageAffected → Fixed
LinuxLinux —
LinuxKernel
≥ 6.18.22, < 6.18.63→ 6.18.63
≥ 6.19.12, < 6.20→ 6.20
≥ 7.0.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:

iov_iter: fix NULL deref in iov_iter_alignment()

Since commit 111a12b422a8 ("io_uring/rsrc: reject zero-length fixed
buffer import") io_import_fixed() hands out an empty ITER_BVEC for a
zero-length request. Its count is 0 and its bvec array is NULL.

iov_iter_alignment() only checks the count for ITER_UBUF. For ITER_BVEC
it calls iov_iter_alignment_bvec() and the do-while loop in there reads
bvec->bv_len before it looks at the count. So it dereferences NULL.

btrfs checks the alignment of a direct read with iov_iter_alignment()
before it looks at the count and f2fs does the same. So any user that
can open a file on btrfs can oops the kernel with a single zero-length
IORING_OP_READ_FIXED on an O_DIRECT file descriptor. With IOSQE_ASYNC
the oops happens in an io-wq worker. The dead worker stays on the worker
list and when the task that submitted the request exits io-wq writes to
the freed task_struct of the worker. That's just fallout from the oops
though.

Empty iterators with a NULL array aren't unusual. afs, tls and tipc
create them as well. So leave io_uring alone and make
iov_iter_alignment() return 0 for an empty iterator of any type.

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