{"id":"CVE-2026-99370","summary":"NFSD: copy SETXATTR data from all XDR buffer segments","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nNFSD: copy SETXATTR data from all XDR buffer segments\n\nnfsd4_vbuf_from_vector() manually copies the head followed by whole\npages starting at offset zero. This assumes that all remaining data\nstarts at the beginning of the page array and that no data is stored\nin the tail.\n\nHowever, nfsd4_decode_setxattr() passes an xdr_buf returned by\nxdr_stream_subsegment(). Such a sub-buffer can have a nonzero\npage_base and can span its page and tail segments. Ignoring that\nlayout can copy the wrong bytes into the value passed to\nvfs_setxattr().\n\nUse read_bytes_from_xdr_buf(), which observes the complete xdr_buf\nlayout.","modified":"2026-11-19T17:00:43.683405047Z","published":"2026-11-19T14:23:06.609Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99370.json","cna_assigner":"Linux"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/019cf7e0eebf6dc14b465cc984390b41c854da69"},{"type":"WEB","url":"https://git.kernel.org/stable/c/20b76bdbd029343ea98944cb88bf016da2371739"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b01319947c69b0e3ea0fcd4b675eb892f9cad8a0"},{"type":"WEB","url":"https://git.kernel.org/stable/c/fea77ec4a37614cbbe4fb26c621227182439f487"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99370.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99370"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"c1346a1216ab5cb04a265380ac9035d91b16b6d5"},{"fixed":"019cf7e0eebf6dc14b465cc984390b41c854da69"},{"fixed":"20b76bdbd029343ea98944cb88bf016da2371739"},{"fixed":"fea77ec4a37614cbbe4fb26c621227182439f487"},{"fixed":"b01319947c69b0e3ea0fcd4b675eb892f9cad8a0"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"bbb0a710a2c7a0b171e7a0d6fbdd6d5a2acd003b"}]}],"versions":["v5.10.274","v5.10.273","v5.10.272","v5.10.271","v5.10.270","v5.10.269","v5.10.268","v5.10.267","v5.10.266","v5.10.265","v5.10.264","v5.10.263","v5.10.262","v5.10.261","v5.10.260","v5.10.259","v5.10.258","v5.10.257","v5.10.256","v5.10.255","v5.10.254","v5.10.253","v5.10.252","v5.10.251","v5.10.250","v5.10.249","v5.10.248","v5.10.247","v5.10.246","v5.10.245","v5.10.244","v5.10.243","v5.10.242","v5.10.241","v5.10.240","v5.10.239","v5.10.238","v5.10.237","v5.10.236","v5.10.235","v5.10.234","v5.10.233","v5.10.232","v5.10.231","v5.10.230","v5.10.229","v5.10.228","v5.10.227","v5.10.226","v5.10.225","v5.10.224","v5.10.223","v5.10.222","v5.10.221","v5.10.220"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99370.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.10.220"},{"fixed":"5.11"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"6.12.117"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.61"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.2"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-99370.json"}}],"schema_version":"1.9.2"}