CVE-2026-139402

Source
https://cve.org/CVERecord?id=CVE-2026-139402
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139402.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-139402
Downstream
Published
2026-11-30T13:34:25Z
Modified
2026-11-30T15:02:28Z
Summary
hisi_acc_vfio_pci: reject live migration on 64KB page with QM_HW_V3 hardware
Details

In the Linux kernel, the following vulnerability has been resolved:

hisi_acc_vfio_pci: reject live migration on 64KB page with QM_HW_V3 hardware

On QM_HW_V3 (VF_CTRL mode) hardware with 64KB pages, the functional region and migration registers share one BAR2 physical page with no isolation, which leaks migration registers to the guest and causes guest kernel calltrace under the KVM emulated device scheme.

The previous fix rejected the device in hisi_acc_vf_qm_init() during open_device, returning -EINVAL and breaking passthrough entirely. Move the drv_mode check into a helper called from probe() so that a VF_CTRL device on a 64KB page is bound to the generic ops, keeping passthrough working while disabling live migration.

Database specific
{
    "cna_assigner":  "Linux",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139402.json"
}
References

Affected packages

Git / 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
b0eed085903e7758532696d64397901a75bba8ba
Fixed
d17567491fdf0d16eb92677ee4bb186f7c6b7741
Fixed
a80597900b8a0f1a9e87360164695f6a0a10556c

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139402.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.18.0
Fixed
7.3.6

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139402.json"