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:
mm/gup: fix out-of-bounds write for nr_pages == 0 in GUP-fast
With nr_pages == 0, GUP-fast still enters its page table walk and can write past the caller's page array. The old end <= start check caught empty ranges, but was replaced with an overflow check.
Users such as OrangeFS can pass a zero page count derived from a userspace-supplied length. So let's return zero for nr_pages == 0 before starting the walk, just like GUP-slow.
Fix generated by an LLM and sent by Chris Mason in private.
[ david: simplify description ]
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/0452d6d24ee4d65226824bcbefaf187707b72ced
- git.kernel.org /stable/c/0794c5809fa6322e8b43b70601700fd6c48e69ea
- git.kernel.org /stable/c/11536b9b6bed3cc4d684a70d468493775e7d1d48
- git.kernel.org /stable/c/1dfe4b276c23189394afb42d114ee8a54cc3aff2
- git.kernel.org /stable/c/21854ef8dc4e9398d84e4129db52dad69622fd9b
- git.kernel.org /stable/c/32717a0763b2170eae5693fe4afbeecaa168ffdc
- git.kernel.org /stable/c/5697a3b58722b15fcb06fb30368ce9f46458a95a
- git.kernel.org /stable/c/6ac370032a68a343be599d8476ded2c36b43b53a
Ingati scans your site every week and tells you when a CVE like this one affects something it found there.
Start scanning