hv_netvsc: use kmap_local_page in netvsc_copy_to_send_buf

Summary

CVECVE-2026-53199
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-06-25 09:16:37 UTC
Updated2026-06-25 09:16:37 UTC
DescriptionIn the Linux kernel, the following vulnerability has been resolved: hv_netvsc: use kmap_local_page in netvsc_copy_to_send_buf netvsc_copy_to_send_buf() copies page buffer entries into the VMBus send buffer using phys_to_virt() on the entry PFN. Entries for the RNDIS header and the skb linear data come from kmalloc'd memory and are always in the kernel direct map, but entries for skb fragments reference page cache or user pages, which on 32-bit x86 with CONFIG_HIGHMEM=y can live above the LOWMEM boundary. For such a page phys_to_virt() returns an address outside the direct map and the subsequent memcpy() faults on the transmit softirq path, which is fatal. Map the pages with kmap_local_page() instead, handling two properties of the page buffer entries: - pb[i].pfn is a Hyper-V PFN at HV_HYP_PAGE_SIZE (4K) granularity, not a native PFN. Reconstruct the physical address first and derive the native page from it, so the mapping stays correct where PAGE_SIZE > HV_HYP_PAGE_SIZE (e.g. arm64 with 64K pages). - Since commit 41a6328b2c55 ("hv_netvsc: Preserve contiguous PFN grouping in the page buffer array"), an entry describes a full physically contiguous fragment and pb[i].len can exceed PAGE_SIZE, while kmap_local_page() maps a single page. Copy page by page, splitting at native page boundaries. The copy path only handles packets smaller than the send section size (6144 bytes by default); larger packets take the cp_partial path where only the RNDIS header is copied. So entries here are bounded by the section size and a copy is split at most once on 4K-page systems. On !CONFIG_HIGHMEM configs kmap_local_page() folds to page_address() and no mapping work is added.

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected c25aaf814a63f9d9c4e45416f13d70ef0aa0be2e 16514afeb7d3d121072ba9a0b640d6c1c5507db0 git Not specified
CNA Linux Linux affected c25aaf814a63f9d9c4e45416f13d70ef0aa0be2e a82d4251918f37d9c5aab7b365157669fb885ec3 git Not specified
CNA Linux Linux affected c25aaf814a63f9d9c4e45416f13d70ef0aa0be2e 695c59cf7bf707e6ff8cea01916ee50e86616933 git Not specified
CNA Linux Linux affected c25aaf814a63f9d9c4e45416f13d70ef0aa0be2e 09b8a7aa5a341bb345dc492aac139525efa13515 git Not specified
CNA Linux Linux affected c25aaf814a63f9d9c4e45416f13d70ef0aa0be2e 918c0c988239aa5ab96b254e504d191af6191061 git Not specified
CNA Linux Linux affected c25aaf814a63f9d9c4e45416f13d70ef0aa0be2e 0b38870d81ab3a04c1ab0598d9d3285f5d9d0584 git Not specified
CNA Linux Linux affected c25aaf814a63f9d9c4e45416f13d70ef0aa0be2e fe7221b4346418d27ec2daccfc09df6692b76f0b git Not specified
CNA Linux Linux affected c25aaf814a63f9d9c4e45416f13d70ef0aa0be2e 004e9ecfe6c5384f9e0b2f6f6389d42ec22789af git Not specified
CNA Linux Linux affected 3.16 Not specified
CNA Linux Linux unaffected 3.16 semver Not specified
CNA Linux Linux unaffected 5.10.259 5.10.* semver Not specified
CNA Linux Linux unaffected 5.15.210 5.15.* semver Not specified
CNA Linux Linux unaffected 6.1.176 6.1.* semver Not specified
CNA Linux Linux unaffected 6.6.143 6.6.* semver Not specified
CNA Linux Linux unaffected 6.12.94 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.36 6.18.* semver Not specified
CNA Linux Linux unaffected 7.0.13 7.0.* semver Not specified
CNA Linux Linux unaffected 7.1 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/a82d4251918f37d9c5aab7b365157669fb885ec3 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/695c59cf7bf707e6ff8cea01916ee50e86616933 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/0b38870d81ab3a04c1ab0598d9d3285f5d9d0584 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/918c0c988239aa5ab96b254e504d191af6191061 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/09b8a7aa5a341bb345dc492aac139525efa13515 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/fe7221b4346418d27ec2daccfc09df6692b76f0b 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/16514afeb7d3d121072ba9a0b640d6c1c5507db0 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/004e9ecfe6c5384f9e0b2f6f6389d42ec22789af 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report