A plain-language summary of this CVE is being written; the description below is the NVD's own text.
Description
In the Linux kernel, the following vulnerability has been resolved:
vringh: bound top-level re-entry into indirect tables
In __vringh_iov(), the F_INDIRECT branch descends into the indirect table and continues before the descriptor accounting runs. A top-level indirect descriptor is therefore never charged to count. If such a descriptor sets NEXT to point back at itself, returning from the indirect table resumes at the same top-level descriptor, which is again not counted, so the walk never makes forward progress.
Because count stays flat and indirect_count is reset to 0 on every return to the top-level table, neither bound in the loop check trips. A guest can spin the vringh worker at 100% CPU inside __vringh_iov(), an uninterruptible host DoS.
Move the descriptor accounting above the indirect switch so that a top-level indirect descriptor is charged one top-level traversal step before the walk descends into its table, bringing this re-entry under the existing vrh->vring.num bound. Each top-level descriptor is still charged at most one step and indirect_count still bounds a single table, so legitimate chains (including the multiple-indirect case in tools/virtio/vringh_test.c) stay within vring.num, while a cyclic indirect descriptor is now rejected with -ELOOP.
Affected products
The NVD has not attached product data to this record yet; the description names what is affected.
References
- git.kernel.org /stable/c/432d305e2e68befd52c23ce688713ad2b5057675
- git.kernel.org /stable/c/6d080ebafc488ea232021385c65362768ee9f3db
- git.kernel.org /stable/c/727aed20dac0672ed36368d9b37f1cee12f629d4
- git.kernel.org /stable/c/75b77789e89eef8bdace2f890e2fd2a58dad5f51
- git.kernel.org /stable/c/8d8fae59c6b00cb6b2d48e1496b8a4cc2f4d5e8f
- git.kernel.org /stable/c/e7d831fd55e61f76d5dafe4b5e53aa9c87f7c227
- git.kernel.org /stable/c/f6b933a9a1ebf67ae5474bfb8824500457dfbb68
- git.kernel.org /stable/c/f898439ace7f89922e853b43bcbfcd26ea2e0a98
Ingati scans your site every week and tells you when a CVE like this one affects something it found there.
Start scanning