Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-98216

published high CVSS 3.1 · 7.1

IB/hfi1: Fix the PIO_CRED credit-return mmap

Published
06 Oct 2026, 08:44:52 UTC
Updated
23 Nov 2026, 07:59:39 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linux58f0653fc8ee8aec85c1ef64d4726cdb3aaa0e02 to < b32e8846438b810067bf0503757733bd8b4179ec · 1ec82317a1daac78c04b0c15af89018ccf9fa2b7 to < 535530bb2ea5254e1e9f55280143d262dd065204 · 1ec82317a1daac78c04b0c15af89018ccf9fa2b7 to < dcebe0b0bb080a25fe08011fd6b6e741f7912f01 · 1ec82317a1daac78c04b0c15af89018ccf9fa2b7 to < 180752deb7270ad37394ab6ef7cf4978fad040b3 · 1ec82317a1daac78c04b0c15af89018ccf9fa2b7 to < bafeac9ce5d1ce5256bcf7e5702e831e9aaf419b · 1ec82317a1daac78c04b0c15af89018ccf9fa2b7 to < 62f0f34fbd2b2d5653d33d3b9d42fdcabb1c0101 · Other versions: unaffected Affected Not stated Linux
Linux — Linux6.3 (affected) · 0 to < 6.3 (unaffected · semver) · 6.6.158 through 6.6.* (unaffected · semver) · 6.12.112 through 6.12.* (unaffected · semver) · 6.18.54 through 6.18.* (unaffected · semver) · 7.2.8 through 7.2.* (unaffected · semver) · 7.3 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Not Affected Not required Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Not Affected Not required Amazon Linux assessment
Debian bookworm linux-6.12 Advisory build 6.12.113-1~deb12u1 DLA-4850-1
Oracle Linux 10 kernel-uekaarch64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Debian trixie linux Advisory build 6.12.113-1 DSA-6568-1
Oracle Linux 10 kernel-uekx86_64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Show 96 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Oracle Linux 10 kernel-uek-coreaarch64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek-corex86_64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek-debugaarch64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek-debugx86_64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek-debug-coreaarch64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek-debug-corex86_64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek-debug-develaarch64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek-debug-develx86_64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek-debug-modulesaarch64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek-debug-modulesx86_64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek-debug-modules-coreaarch64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek-debug-modules-corex86_64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek-debug-modules-deprecatedaarch64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek-debug-modules-deprecatedx86_64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek-debug-modules-desktopaarch64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek-debug-modules-desktopx86_64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek-debug-modules-extraaarch64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek-debug-modules-extrax86_64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek-debug-modules-extra-netfilteraarch64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek-debug-modules-extra-netfilterx86_64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek-debug-modules-usbaarch64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek-debug-modules-usbx86_64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek-debug-modules-wirelessaarch64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek-debug-modules-wirelessx86_64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek-develaarch64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek-develx86_64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek-docaarch64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek-docx86_64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek-modulesaarch64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek-modulesx86_64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek-modules-coreaarch64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek-modules-corex86_64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek-modules-deprecatedaarch64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek-modules-deprecatedx86_64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek-modules-desktopaarch64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek-modules-desktopx86_64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek-modules-extraaarch64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek-modules-extrax86_64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek-modules-extra-netfilteraarch64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek-modules-extra-netfilterx86_64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek-modules-usbaarch64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek-modules-usbx86_64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek-modules-wirelessaarch64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek-modules-wirelessx86_64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek-toolsaarch64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek-toolsx86_64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek64kaarch64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek64k-coreaarch64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek64k-develaarch64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek64k-modulesaarch64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek64k-modules-coreaarch64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek64k-modules-deprecatedaarch64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek64k-modules-desktopaarch64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek64k-modules-extraaarch64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek64k-modules-extra-netfilteraarch64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek64k-modules-usbaarch64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 10 kernel-uek64k-modules-wirelessaarch64 Advisory build 0:6.12.0-208.112.5.el10uek ELSA-2026-500572
Oracle Linux 9 kernel-uekaarch64 Advisory build 0:6.12.0-208.112.5.el9uek ELSA-2026-500572
Oracle Linux 9 kernel-uekx86_64 Advisory build 0:6.12.0-208.112.5.el9uek ELSA-2026-500572
Oracle Linux 9 kernel-uek-coreaarch64 Advisory build 0:6.12.0-208.112.5.el9uek ELSA-2026-500572
Oracle Linux 9 kernel-uek-corex86_64 Advisory build 0:6.12.0-208.112.5.el9uek ELSA-2026-500572
Oracle Linux 9 kernel-uek-debugaarch64 Advisory build 0:6.12.0-208.112.5.el9uek ELSA-2026-500572
Oracle Linux 9 kernel-uek-debugx86_64 Advisory build 0:6.12.0-208.112.5.el9uek ELSA-2026-500572
Oracle Linux 9 kernel-uek-debug-coreaarch64 Advisory build 0:6.12.0-208.112.5.el9uek ELSA-2026-500572
Oracle Linux 9 kernel-uek-debug-corex86_64 Advisory build 0:6.12.0-208.112.5.el9uek ELSA-2026-500572
Oracle Linux 9 kernel-uek-debug-develaarch64 Advisory build 0:6.12.0-208.112.5.el9uek ELSA-2026-500572
Oracle Linux 9 kernel-uek-debug-develx86_64 Advisory build 0:6.12.0-208.112.5.el9uek ELSA-2026-500572
Oracle Linux 9 kernel-uek-debug-modulesaarch64 Advisory build 0:6.12.0-208.112.5.el9uek ELSA-2026-500572
Oracle Linux 9 kernel-uek-debug-modulesx86_64 Advisory build 0:6.12.0-208.112.5.el9uek ELSA-2026-500572
Oracle Linux 9 kernel-uek-debug-modules-coreaarch64 Advisory build 0:6.12.0-208.112.5.el9uek ELSA-2026-500572
Oracle Linux 9 kernel-uek-debug-modules-corex86_64 Advisory build 0:6.12.0-208.112.5.el9uek ELSA-2026-500572
Oracle Linux 9 kernel-uek-debug-modules-deprecatedaarch64 Advisory build 0:6.12.0-208.112.5.el9uek ELSA-2026-500572
Oracle Linux 9 kernel-uek-debug-modules-deprecatedx86_64 Advisory build 0:6.12.0-208.112.5.el9uek ELSA-2026-500572
Oracle Linux 9 kernel-uek-debug-modules-desktopaarch64 Advisory build 0:6.12.0-208.112.5.el9uek ELSA-2026-500572
Oracle Linux 9 kernel-uek-debug-modules-desktopx86_64 Advisory build 0:6.12.0-208.112.5.el9uek ELSA-2026-500572
Oracle Linux 9 kernel-uek-debug-modules-extraaarch64 Advisory build 0:6.12.0-208.112.5.el9uek ELSA-2026-500572
Oracle Linux 9 kernel-uek-debug-modules-extrax86_64 Advisory build 0:6.12.0-208.112.5.el9uek ELSA-2026-500572
Oracle Linux 9 kernel-uek-debug-modules-extra-netfilteraarch64 Advisory build 0:6.12.0-208.112.5.el9uek ELSA-2026-500572
Oracle Linux 9 kernel-uek-debug-modules-extra-netfilterx86_64 Advisory build 0:6.12.0-208.112.5.el9uek ELSA-2026-500572
Oracle Linux 9 kernel-uek-debug-modules-usbaarch64 Advisory build 0:6.12.0-208.112.5.el9uek ELSA-2026-500572
Oracle Linux 9 kernel-uek-debug-modules-usbx86_64 Advisory build 0:6.12.0-208.112.5.el9uek ELSA-2026-500572
Oracle Linux 9 kernel-uek-debug-modules-wirelessaarch64 Advisory build 0:6.12.0-208.112.5.el9uek ELSA-2026-500572
Oracle Linux 9 kernel-uek-debug-modules-wirelessx86_64 Advisory build 0:6.12.0-208.112.5.el9uek ELSA-2026-500572
Oracle Linux 9 kernel-uek-develaarch64 Advisory build 0:6.12.0-208.112.5.el9uek ELSA-2026-500572
Oracle Linux 9 kernel-uek-develx86_64 Advisory build 0:6.12.0-208.112.5.el9uek ELSA-2026-500572
Oracle Linux 9 kernel-uek-docaarch64 Advisory build 0:6.12.0-208.112.5.el9uek ELSA-2026-500572
Oracle Linux 9 kernel-uek-docx86_64 Advisory build 0:6.12.0-208.112.5.el9uek ELSA-2026-500572
Oracle Linux 9 kernel-uek-modulesaarch64 Advisory build 0:6.12.0-208.112.5.el9uek ELSA-2026-500572
Oracle Linux 9 kernel-uek-modulesx86_64 Advisory build 0:6.12.0-208.112.5.el9uek ELSA-2026-500572
Oracle Linux 9 kernel-uek-modules-coreaarch64 Advisory build 0:6.12.0-208.112.5.el9uek ELSA-2026-500572
Oracle Linux 9 kernel-uek-modules-corex86_64 Advisory build 0:6.12.0-208.112.5.el9uek ELSA-2026-500572
Oracle Linux 9 kernel-uek-modules-deprecatedaarch64 Advisory build 0:6.12.0-208.112.5.el9uek ELSA-2026-500572
Oracle Linux 9 kernel-uek-modules-deprecatedx86_64 Advisory build 0:6.12.0-208.112.5.el9uek ELSA-2026-500572
Oracle Linux 9 kernel-uek-modules-desktopaarch64 Advisory build 0:6.12.0-208.112.5.el9uek ELSA-2026-500572
Oracle Linux 9 kernel-uek-modules-desktopx86_64 Advisory build 0:6.12.0-208.112.5.el9uek ELSA-2026-500572
Oracle Linux 9 kernel-uek-modules-extraaarch64 Advisory build 0:6.12.0-208.112.5.el9uek ELSA-2026-500572

Package entries are limited to the first 100 builds and 100 linked advisories.

Description

In the Linux kernel, the following vulnerability has been resolved: IB/hfi1: Fix the PIO_CRED credit-return mmap hfi1_file_mmap()'s PIO_CRED case must hand user space the single credit-return page that holds this context's entry. That page is the second or third page of the per-node credit-return allocation once the hardware send context index reaches 64 or 128, so the failure below is intermittent: when the entry lands on the first page the offset is zero and everything works. Two things are wrong. First, cr_page_offset is a byte offset but .va is a struct credit_return *, so adding it is pointer arithmetic and scales the offset by sizeof(struct credit_return) == 64. memvirt then lands 256 KiB or 512 KiB past a 10240-byte allocation. With an IOMMU translating, that address is inside the vmalloc range but in no vm_area, so dma_mmap_coherent() -> iommu_dma_mmap() finds no pages, vmalloc_to_pfn() returns page_to_pfn(NULL), and remap_pfn_range() installs a frame above MAXPHYADDR. The first user read then takes: psm2_ep_open_pr: Corrupted page table at address 7a14d007e000 PGD 800000013886a067 P4D 800000013886a067 PUD 13886b067 PMD 13886c067 PTE 800049168e911235 Oops: Bad pagetable: 000d [#1] SMP PTI Second, and still wrong once the arithmetic is corrected, dma_mmap_coherent() describes a whole coherent buffer and selects the page within it with vma->vm_pgoff. Offsetting cpu_addr has no effect: for a vmap'd allocation iommu_dma_mmap() uses cpu_addr only to locate the vm_area and then maps pages[vm_pgoff], which hfi1_file_mmap() has just set to 0. User space therefore always receives the first credit-return page, every credit read is for the wrong context, and send PIO stalls forever. Use the DMA API as intended: pass the base of the allocation with its full length and select the page with vm_pgoff. A separate length is needed because memlen must keep describing the VMA for the existing size check. The dma-direct path stays correct as well, since dma_direct_mmap() adds the same vm_pgoff to the base pfn. Tested on a Dell T7610 (Xeon E5-2650 v2, Intel IOMMU in DMA-FQ mode) against a Threadripper PRO 3995WX peer, both Omni-Path 100. Before this change psm2_ep_open() Oopses the kernel; with only the arithmetic corrected psm2_ep_open() succeeds but any transfer that uses send PIO hangs, PSM2_SDMA=2 (send PIO disabled) completing normally while PSM2_SDMA=0 (send PIO only) hangs every time. With this change send PIO, send DMA and the default mixed mode all work.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

34

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.1 / 10
Severity
high
Provider
Linux · cna
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
Scenarios
en: AV:L - The bad mapping is created by hfi1_file_mmap() PIO_CRED case, reached by a local process via open() of the /dev/hfi1_N user cdev, the ASSIGN_CTXT ioctl and mmap() of the PIO_CRED token; no remote peer supplies any data to this path. AC:L - With IOMMU DMA translation (common on x86 servers), the pointer-scaled cr_page_offset deterministically sends memvirt 256/512 KiB past the credit-return buffer for send context index >=64, and the attacker can raise the index by opening more contexts; the commit's reproducer oopses every time. PR:L - hfi1_user_devnode() creates the user device node with mode 0666 and hfi1_file_open() has no capability check, so any unprivileged local user on an Omni-Path node (e.g. a shared HPC node) can assign a context and issue the mmap. UI:N - The attacker triggers the faulty mapping and the faulting read entirely from their own process; no other user or administrator has to do anything. S:U - Both impacts stay within the host kernel's own authority: a kernel page or bogus PFN is mapped into a local process and the kernel oopses; no VM, IOMMU or sandbox boundary is crossed. C:H - If the out-of-range vmalloc address lands in a non-DMA-coherent vm_area, iommu_dma_mmap() falls back to vmalloc_to_pfn() and remap_pfn_range() exposes that kernel page to userspace read-only with no reference held, so the user can read unrelated kernel memory, even after it is freed and reused. I:N - The PIO_CRED VMA is read-only: VM_WRITE is rejected with -EPERM and VM_MAYWRITE is cleared, so the mis-mapped page cannot be written from userspace, and the bug gives no kernel write primitive. A:H - When the address falls in a vmalloc hole, page_to_pfn(NULL) installs a PTE for a frame above MAXPHYADDR and the first user read causes an 'Oops: Bad pagetable' kernel crash; even with the arithmetic fixed, mapping the wrong page leaves send PIO hung forever.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux 58f0653fc8ee8aec85c1ef64d4726cdb3aaa0e02 to < b32e8846438b810067bf0503757733bd8b4179ec (affected · git)1ec82317a1daac78c04b0c15af89018ccf9fa2b7 to < 535530bb2ea5254e1e9f55280143d262dd065204 (affected · git)1ec82317a1daac78c04b0c15af89018ccf9fa2b7 to < dcebe0b0bb080a25fe08011fd6b6e741f7912f01 (affected · git)1ec82317a1daac78c04b0c15af89018ccf9fa2b7 to < 180752deb7270ad37394ab6ef7cf4978fad040b3 (affected · git)1ec82317a1daac78c04b0c15af89018ccf9fa2b7 to < bafeac9ce5d1ce5256bcf7e5702e831e9aaf419b (affected · git)1ec82317a1daac78c04b0c15af89018ccf9fa2b7 to < 62f0f34fbd2b2d5653d33d3b9d42fdcabb1c0101 (affected · git)Default: unaffected Linux · cna
Linux Linux 6.3 (affected)0 to < 6.3 (unaffected · semver)6.6.158 through 6.6.* (unaffected · semver)6.12.112 through 6.12.* (unaffected · semver)6.18.54 through 6.18.* (unaffected · semver)7.2.8 through 7.2.* (unaffected · semver)7.3 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

6

Provider assertions

1

Linux · cna

IB/hfi1: Fix the PIO_CRED credit-return mmap

Provenance

Schema
5.2
Searchable
yes
Content hash
4c34e08f5f34187c26acb8b46f43054a945037cc5b45f851c3b9357d2fc14890
Ingested
23 Nov 2026, 14:34:52 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected