FKIE_CVE-2026-99450
Vulnerability from fkie_nvd - Published: 2026-11-19 15:17 - Updated: 2026-11-19 15:17
Severity
Summary
In the Linux kernel, the following vulnerability has been resolved:
vfio/nvgrace-gpu: Use a core-only open_device in fallback mode
When the ACPI memory properties are missing or the C2C link is down, the
device is exposed through nvgrace_gpu_pci_core_ops. That table opens
through nvgrace_gpu_open_device() but closes through
vfio_pci_core_close_device(), so open and close are not symmetric.
nvgrace_gpu_open_device() registers nvdev->usemem for poison handling
unconditionally. In fallback mode usemem.memlength is zero, and
register_pfn_address_space() inserts a node covering [0, ULONG_MAX].
Nothing removes it: a second open fails with -EBUSY, and once the device
is unbound the node outlives the nvdev that contains it. The next open
after a rebind reports:
BUG: KASAN: slab-use-after-free in interval_tree_iter_first+0x209/0x310
Read of size 8 at addr ffff88800894aa30 by task nvgrace_repro/203
Call Trace:
<TASK>
dump_stack_lvl+0x5d/0x80
print_report+0x153/0x4c6
kasan_report+0xe4/0x1a0
interval_tree_iter_first+0x209/0x310
register_pfn_address_space+0x97/0x100
nvgrace_gpu_open_device+0x21c/0x730
vfio_df_open+0x213/0x520
vfio_df_ioctl_bind_iommufd+0x3e8/0x6e0
vfio_device_fops_unl_ioctl+0x782/0x1570
__x64_sys_ioctl+0x13c/0x1c0
do_syscall_64+0x106/0x630
entry_SYSCALL_64_after_hwframe+0x77/0x7f
</TASK>
Allocated by task 188:
...
_vfio_alloc_device+0x3a/0x500
nvgrace_gpu_probe+0xcb/0x660
local_pci_probe+0xcf/0x170
...
Freed by task 188:
...
kfree+0x20d/0x600
device_release+0xcf/0x250
kobject_put+0x152/0x2f0
pci_device_remove+0xb0/0x1c0
device_release_driver_internal+0x38d/0x540
unbind_store+0xde/0x100
...
Give the fallback table its own open_device that only calls
vfio_pci_core_enable() and vfio_pci_core_finish_enable(), the
counterpart of vfio_pci_core_close_device(). Fallback mode then never
touches the nvgrace memory regions, as Alex suggested.
This should be safe because the fallback table uses the vfio-pci core
read, write and mmap handlers, so nothing there uses the state
nvgrace_gpu_open_device() sets up. The one visible difference is that a
fallback open no longer fails when BAR0 cannot be mapped, which matches
vfio-pci.
References
Impacted products
| Vendor | Product | Version |
|---|
{
"affected": [
{
"affectedData": [
{
"defaultStatus": "unaffected",
"product": "Linux",
"programFiles": [
"drivers/vfio/pci/nvgrace-gpu/main.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"lessThan": "a2942b3abb5bddd1bac418abd61fb5f0616ab897",
"status": "affected",
"version": "e5f19b619fa0b691ccb537d72240bd20eb72087c",
"versionType": "git"
},
{
"lessThan": "9c48b994b66d7b585698f9aaee8ff559a7755c0a",
"status": "affected",
"version": "e5f19b619fa0b691ccb537d72240bd20eb72087c",
"versionType": "git"
}
]
},
{
"defaultStatus": "affected",
"product": "Linux",
"programFiles": [
"drivers/vfio/pci/nvgrace-gpu/main.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"status": "affected",
"version": "7.0"
},
{
"lessThan": "7.0",
"status": "unaffected",
"version": "0",
"versionType": "semver"
},
{
"lessThanOrEqual": "7.3.*",
"status": "unaffected",
"version": "7.3.2",
"versionType": "semver"
},
{
"lessThanOrEqual": "*",
"status": "unaffected",
"version": "7.4-rc1",
"versionType": "original_commit_for_fix"
}
]
}
],
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
}
],
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nvfio/nvgrace-gpu: Use a core-only open_device in fallback mode\n\nWhen the ACPI memory properties are missing or the C2C link is down, the\ndevice is exposed through nvgrace_gpu_pci_core_ops. That table opens\nthrough nvgrace_gpu_open_device() but closes through\nvfio_pci_core_close_device(), so open and close are not symmetric.\n\nnvgrace_gpu_open_device() registers nvdev-\u003eusemem for poison handling\nunconditionally. In fallback mode usemem.memlength is zero, and\nregister_pfn_address_space() inserts a node covering [0, ULONG_MAX].\nNothing removes it: a second open fails with -EBUSY, and once the device\nis unbound the node outlives the nvdev that contains it. The next open\nafter a rebind reports:\n\n BUG: KASAN: slab-use-after-free in interval_tree_iter_first+0x209/0x310\n Read of size 8 at addr ffff88800894aa30 by task nvgrace_repro/203\n Call Trace:\n \u003cTASK\u003e\n dump_stack_lvl+0x5d/0x80\n print_report+0x153/0x4c6\n kasan_report+0xe4/0x1a0\n interval_tree_iter_first+0x209/0x310\n register_pfn_address_space+0x97/0x100\n nvgrace_gpu_open_device+0x21c/0x730\n vfio_df_open+0x213/0x520\n vfio_df_ioctl_bind_iommufd+0x3e8/0x6e0\n vfio_device_fops_unl_ioctl+0x782/0x1570\n __x64_sys_ioctl+0x13c/0x1c0\n do_syscall_64+0x106/0x630\n entry_SYSCALL_64_after_hwframe+0x77/0x7f\n \u003c/TASK\u003e\n\n Allocated by task 188:\n ...\n _vfio_alloc_device+0x3a/0x500\n nvgrace_gpu_probe+0xcb/0x660\n local_pci_probe+0xcf/0x170\n ...\n\n Freed by task 188:\n ...\n kfree+0x20d/0x600\n device_release+0xcf/0x250\n kobject_put+0x152/0x2f0\n pci_device_remove+0xb0/0x1c0\n device_release_driver_internal+0x38d/0x540\n unbind_store+0xde/0x100\n ...\n\nGive the fallback table its own open_device that only calls\nvfio_pci_core_enable() and vfio_pci_core_finish_enable(), the\ncounterpart of vfio_pci_core_close_device(). Fallback mode then never\ntouches the nvgrace memory regions, as Alex suggested.\n\nThis should be safe because the fallback table uses the vfio-pci core\nread, write and mmap handlers, so nothing there uses the state\nnvgrace_gpu_open_device() sets up. The one visible difference is that a\nfallback open no longer fails when BAR0 cannot be mapped, which matches\nvfio-pci."
}
],
"id": "CVE-2026-99450",
"lastModified": "2026-11-19T15:17:58.833",
"metrics": {},
"published": "2026-11-19T15:17:58.833",
"references": [
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/9c48b994b66d7b585698f9aaee8ff559a7755c0a"
},
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"url": "https://git.kernel.org/stable/c/a2942b3abb5bddd1bac418abd61fb5f0616ab897"
}
],
"sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"vulnStatus": "Received"
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…
The MITRE ATT&CK techniques below are AI-generated suggestions, inferred from the description of the
vulnerability by the CIRCL/vulnerability-attack-technique-classification-roberta-base
model, served locally by ML-Gateway.
They have not been verified by an analyst and are provided for guidance only.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Loading…
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.
Loading…