{"id":"CVE-2026-64505","summary":"usb: gadget: function: rndis: add length check for header","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nusb: gadget: function: rndis: add length check for header\n\nAdd a length check for the rndis header in rndis_rm_hdr, to ensure that\nMessageType, MessageLength, DataOffset, and DataLength fields are\npresent before they are accessed.","modified":"2026-07-28T04:03:09.554065468Z","published":"2026-07-25T08:51:59.618Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64505.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/200dd5092296ad4d5ae47f8445a2fb1edd1da973"},{"type":"WEB","url":"https://git.kernel.org/stable/c/21b5bf155435008e0fb0736795289788e63d426f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7515a6d4a9e9e4838b833825882efa00e85f8901"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9facd79028a7807879eb441d12f0e00720980aa3"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9ffd567d7bf269824dfac06f8ab9a32fef72699b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b73c0142e3acdc063b50c33afb7be19cdb2cd410"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ba2cc601e59fe68716646199a33303493513e2e3"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d6ef5af7d0fe1ac31e5653a77e6d775dd36bc433"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64505.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-64505"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"6cdee106e7571751ecc0e9f96606322f88b64a8d"},{"fixed":"200dd5092296ad4d5ae47f8445a2fb1edd1da973"},{"fixed":"9ffd567d7bf269824dfac06f8ab9a32fef72699b"},{"fixed":"b73c0142e3acdc063b50c33afb7be19cdb2cd410"},{"fixed":"d6ef5af7d0fe1ac31e5653a77e6d775dd36bc433"},{"fixed":"ba2cc601e59fe68716646199a33303493513e2e3"},{"fixed":"7515a6d4a9e9e4838b833825882efa00e85f8901"},{"fixed":"9facd79028a7807879eb441d12f0e00720980aa3"},{"fixed":"21b5bf155435008e0fb0736795289788e63d426f"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64505.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.6.12"},{"fixed":"5.10.261"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.212"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.178"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.145"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.96"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.39"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.1.4"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64505.json"}}],"schema_version":"1.7.5"}