{"id":"CVE-2026-74641","aliases":["CVE-2026-74641"],"related":[],"kind":"vulnerability","state":"published","title":"ALSA: usx2y: bound the hwdep mmap fault offset","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nALSA: usx2y: bound the hwdep mmap fault offset\n\nsnd_us428ctls_vm_fault() turns the faulting page offset into a kernel\naddress with no bound of any kind:\n\n\toffset = vmf->pgoff << PAGE_SHIFT;\n\tvaddr = (char *)(...)->us428ctls_sharedmem + offset;\n\tpage = virt_to_page(vaddr);\n\tget_page(page);\n\tvmf->page = page;\n\n\treturn 0;\n\nsnd_us428ctls_mmap() checks only the length of the mapping, never the\noffset, and us428ctls_sharedmem is a single page from\nalloc_pages_exact().  For a character device file_mmap_size_max()\nreturns ULONG_MAX, so the mm layer imposes no ceiling either.  Every page\noffset above zero resolves to a struct page outside the object, and the\nhandler installs it into the caller's address space read-write; the vma\nis not marked read-only.\n\nThe caller picks the page frame with a single mmap() argument and gets\nread-write access to a page of kernel memory it does not own; an offset\nthat lands in an unpopulated vmemmap region oopses instead.\n\nA process that can open the hwdep node of an attached US-X2Y reaches\nthis after loading the FPGA image through the same node; no capability\ncheck is involved.\n\nOn 7.2.0-rc5 (arm64), mmap() with a large offset:\n\n  Unable to handle kernel paging request at virtual address fffffdffc45d5ac8\n  pc : snd_us428ctls_vm_fault+0x68/0x140 [snd_usb_usx2y]\n  Call trace:\n   snd_us428ctls_vm_fault+0x68/0x140 [snd_usb_usx2y]\n   __do_fault\n   __handle_mm_fault\n   handle_mm_fault\n   el0_da\n\nReject any offset outside the shared region.  The pcm hwdep handler in\nusx2yhwdeppcm.c computes its address the same way and needs the same\nbound.\n\nDiscovered by XBOW, triaged by Baul Lee <baul.lee@xbow.com>","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nALSA: usx2y: bound the hwdep mmap fault offset\n\nsnd_us428ctls_vm_fault() turns the faulting page offset into a kernel\naddress with no bound of any kind:\n\n\toffset = vmf->pgoff << PAGE_SHIFT;\n\tvaddr = (char *)(...)->us428ctls_sharedmem + offset;\n\tpage = virt_to_page(vaddr);\n\tget_page(page);\n\tvmf->page = page;\n\n\treturn 0;\n\nsnd_us428ctls_mmap() checks only the length of the mapping, never the\noffset, and us428ctls_sharedmem is a single page from\nalloc_pages_exact().  For a character device file_mmap_size_max()\nreturns ULONG_MAX, so the mm layer imposes no ceiling either.  Every page\noffset above zero resolves to a struct page outside the object, and the\nhandler installs it into the caller's address space read-write; the vma\nis not marked read-only.\n\nThe caller picks the page frame with a single mmap() argument and gets\nread-write access to a page of kernel memory it does not own; an offset\nthat lands in an unpopulated vmemmap region oopses instead.\n\nA process that can open the hwdep node of an attached US-X2Y reaches\nthis after loading the FPGA image through the same node; no capability\ncheck is involved.\n\nOn 7.2.0-rc5 (arm64), mmap() with a large offset:\n\n  Unable to handle kernel paging request at virtual address fffffdffc45d5ac8\n  pc : snd_us428ctls_vm_fault+0x68/0x140 [snd_usb_usx2y]\n  Call trace:\n   snd_us428ctls_vm_fault+0x68/0x140 [snd_usb_usx2y]\n   __do_fault\n   __handle_mm_fault\n   handle_mm_fault\n   el0_da\n\nReject any offset outside the shared region.  The pcm hwdep handler in\nusx2yhwdeppcm.c computes its address the same way and needs the same\nbound.\n\nDiscovered by XBOW, triaged by Baul Lee <baul.lee@xbow.com>","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nALSA: usx2y: acotado el desplazamiento de fallo de mmap de hwdep\n\nsnd_us428ctls_vm_fault() convierte el desplazamiento de página que causa el fallo en una dirección de kernel sin ningún tipo de límite:\n\n\toffset = vmf -> pgoff << PAGE_SHIFT;\n\tvaddr = (char *)(...) -> us428ctls_sharedmem + offset;\n\tpage = virt_to_page(vaddr);\n\tget_page(page);\n\tvmf -> page = page;\n\n\treturn 0;\n\nsnd_us428ctls_mmap() comprueba solo la longitud del mapeo, nunca el desplazamiento, y us428ctls_sharedmem es una sola página de alloc_pages_exact(). Para un dispositivo de caracteres, file_mmap_size_max() devuelve ULONG_MAX, por lo que la capa mm tampoco impone ningún límite superior. Cada desplazamiento de página superior a cero se resuelve en una struct page fuera del objeto, y el gestor lo instala en el espacio de direcciones del llamador con permisos de lectura-escritura; el vma no está marcado como de solo lectura.\n\nEl llamador selecciona el marco de página con un único argumento de mmap() y obtiene acceso de lectura-escritura a una página de memoria del kernel que no le pertenece; un desplazamiento que cae en una región vmemmap no poblada causa un 'oops' en su lugar.\n\nUn proceso que puede abrir el nodo hwdep de un US-X2Y conectado alcanza esto después de cargar la imagen FPGA a través del mismo nodo; no se realiza ninguna comprobación de capacidad.\n\nEn 7.2.0-rc5 (arm64), mmap() con un desplazamiento grande:\n\n  Unable to handle kernel paging request at virtual address fffffdffc45d5ac8\n  pc : snd_us428ctls_vm_fault+0x68/0x140 [snd_usb_usx2y]\n  Call trace:\n   snd_us428ctls_vm_fault+0x68/0x140 [snd_usb_usx2y]\n   __do_fault\n   __handle_mm_fault\n   handle_mm_fault\n   el0_da\n\nRechazar cualquier desplazamiento fuera de la región compartida. El gestor hwdep de pcm en usx2yhwdeppcm.c calcula su dirección de la misma manera y necesita el mismo límite.\n\nDescubierto por XBOW, analizado por Baul Lee <baul.lee@xbow.com>","source":"nvd"}],"published":"2026-08-22T15:32:19.696Z","modified":"2026-10-16T20:17:49.133Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"ad6fedea65c6e90eda00d716c8bf20cdc437ed10","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"10a87401fb3148c388e55df0148295b3b137da07","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"34ab56ed854baa73a731cfd99af689f0b1bac444","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"4208db2453e1ea71b8048a5b7802360cb29a53f1","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"f613b4a2d87247b51a1b2b330f2e083a454125f2","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"f75d6f61f0d9c5c1ea725104014e10d26d1e3a00","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"5bf5ccddf00b59f1e3ea7e65d76a5f5b5c21cc2e","status":"affected"},{"type":"git","introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2","fixed":"2ca1eea3cd17930daffe9e429a7c89232036ec24","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"2.6.12","status":"affected"},{"type":"semver","introduced":"0","fixed":"2.6.12","status":"unaffected"},{"type":"semver","introduced":"5.10.266","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.216","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.183","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.152","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.104","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.45","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.1.9","lastAffected":"7.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/ad6fedea65c6e90eda00d716c8bf20cdc437ed10","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/10a87401fb3148c388e55df0148295b3b137da07","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/34ab56ed854baa73a731cfd99af689f0b1bac444","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4208db2453e1ea71b8048a5b7802360cb29a53f1","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f613b4a2d87247b51a1b2b330f2e083a454125f2","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f75d6f61f0d9c5c1ea725104014e10d26d1e3a00","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5bf5ccddf00b59f1e3ea7e65d76a5f5b5c21cc2e","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2ca1eea3cd17930daffe9e429a7c89232036ec24","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-10-16T19:03:36.280Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-74641","url":"https://www.cve.org/CVERecord?id=CVE-2026-74641","licence":"CVE Terms of Use","modified":"2026-10-16T19:06:04.565Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-74641","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-74641","licence":"Public domain","modified":"2026-10-16T20:17:49.133Z"}],"updatedAt":"2026-11-25T22:59:34.913Z","epss":{"score":0.00129,"percentile":0.02775,"date":"2026-12-01T12:00:22.000Z"}}