Bug 2521436 (CVE-2026-74641) - CVE-2026-74641 kernel: ALSA: usx2y: bound the hwdep mmap fault offset
Summary: CVE-2026-74641 kernel: ALSA: usx2y: bound the hwdep mmap fault offset
Keywords:
Status: NEW
Alias: CVE-2026-74641
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-08-22 15:45 UTC by OSIDB Bzimport
Modified: 2026-11-11 11:31 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2026:83156 0 None None None 2026-10-14 21:23:22 UTC
Red Hat Product Errata RHSA-2026:83157 0 None None None 2026-10-14 21:10:07 UTC
Red Hat Product Errata RHSA-2026:83159 0 None None None 2026-10-14 21:11:42 UTC
Red Hat Product Errata RHSA-2026:83207 0 None None None 2026-10-14 23:23:11 UTC
Red Hat Product Errata RHSA-2026:88687 0 None None None 2026-10-23 13:39:22 UTC
Red Hat Product Errata RHSA-2026:91489 0 None None None 2026-10-28 01:10:06 UTC
Red Hat Product Errata RHSA-2026:91492 0 None None None 2026-10-28 01:14:54 UTC
Red Hat Product Errata RHSA-2026:92993 0 None None None 2026-10-30 06:30:44 UTC
Red Hat Product Errata RHSA-2026:92997 0 None None None 2026-10-30 07:34:51 UTC
Red Hat Product Errata RHSA-2026:93047 0 None None None 2026-10-30 13:05:54 UTC
Red Hat Product Errata RHSA-2026:94596 0 None None None 2026-11-03 15:40:51 UTC
Red Hat Product Errata RHSA-2026:94996 0 None None None 2026-11-04 04:44:21 UTC
Red Hat Product Errata RHSA-2026:98608 0 None None None 2026-11-11 11:31:47 UTC

Description OSIDB Bzimport 2026-08-22 15:45:31 UTC
In the Linux kernel, the following vulnerability has been resolved:

ALSA: usx2y: bound the hwdep mmap fault offset

snd_us428ctls_vm_fault() turns the faulting page offset into a kernel
address with no bound of any kind:

	offset = vmf->pgoff << PAGE_SHIFT;
	vaddr = (char *)(...)->us428ctls_sharedmem + offset;
	page = virt_to_page(vaddr);
	get_page(page);
	vmf->page = page;

	return 0;

snd_us428ctls_mmap() checks only the length of the mapping, never the
offset, and us428ctls_sharedmem is a single page from
alloc_pages_exact().  For a character device file_mmap_size_max()
returns ULONG_MAX, so the mm layer imposes no ceiling either.  Every page
offset above zero resolves to a struct page outside the object, and the
handler installs it into the caller's address space read-write; the vma
is not marked read-only.

The caller picks the page frame with a single mmap() argument and gets
read-write access to a page of kernel memory it does not own; an offset
that lands in an unpopulated vmemmap region oopses instead.

A process that can open the hwdep node of an attached US-X2Y reaches
this after loading the FPGA image through the same node; no capability
check is involved.

On 7.2.0-rc5 (arm64), mmap() with a large offset:

  Unable to handle kernel paging request at virtual address fffffdffc45d5ac8
  pc : snd_us428ctls_vm_fault+0x68/0x140 [snd_usb_usx2y]
  Call trace:
   snd_us428ctls_vm_fault+0x68/0x140 [snd_usb_usx2y]
   __do_fault
   __handle_mm_fault
   handle_mm_fault
   el0_da

Reject any offset outside the shared region.  The pcm hwdep handler in
usx2yhwdeppcm.c computes its address the same way and needs the same
bound.

Discovered by XBOW, triaged by Baul Lee <baul.lee>

Comment 4 Jon Orris 2026-10-14 21:10:06 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2026:83157 https://access.redhat.com/errata/RHSA-2026:83157

Comment 5 Jon Orris 2026-10-14 21:11:41 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8

Via RHSA-2026:83159 https://access.redhat.com/errata/RHSA-2026:83159

Comment 6 Jon Orris 2026-10-14 21:23:21 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2026:83156 https://access.redhat.com/errata/RHSA-2026:83156

Comment 7 Jon Orris 2026-10-14 23:23:10 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10

Via RHSA-2026:83207 https://access.redhat.com/errata/RHSA-2026:83207

Comment 8 Jon Orris 2026-10-23 13:39:21 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10.0 Extended Update Support

Via RHSA-2026:88687 https://access.redhat.com/errata/RHSA-2026:88687

Comment 9 Jon Orris 2026-10-28 01:10:05 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.4 Update Services for SAP Solutions

Via RHSA-2026:91489 https://access.redhat.com/errata/RHSA-2026:91489

Comment 10 Jon Orris 2026-10-28 01:14:54 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.6 Extended Update Support

Via RHSA-2026:91492 https://access.redhat.com/errata/RHSA-2026:91492

Comment 11 Jon Orris 2026-10-30 06:30:43 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions

Via RHSA-2026:92993 https://access.redhat.com/errata/RHSA-2026:92993

Comment 12 Jon Orris 2026-10-30 07:34:51 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.8 Update Services for SAP Solutions
  Red Hat Enterprise Linux 8.8 Telecommunications Update Service

Via RHSA-2026:92997 https://access.redhat.com/errata/RHSA-2026:92997

Comment 13 Jon Orris 2026-10-30 13:05:53 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions

Via RHSA-2026:93047 https://access.redhat.com/errata/RHSA-2026:93047

Comment 14 Jon Orris 2026-11-03 15:40:50 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support
  Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-On

Via RHSA-2026:94596 https://access.redhat.com/errata/RHSA-2026:94596

Comment 15 Jon Orris 2026-11-04 04:44:20 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support
  Red Hat Enterprise Linux 8.6 Extended Update Support Long-Life Add-On

Via RHSA-2026:94996 https://access.redhat.com/errata/RHSA-2026:94996

Comment 16 errata-xmlrpc 2026-11-11 11:31:46 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 10

Via RHSA-2026:98608 https://access.redhat.com/errata/RHSA-2026:98608


Note You need to log in before you can comment on or make changes to this bug.