# CVE-2023-54174: vfio: Fix NULL pointer dereference caused by uninitialized group->iommufd

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.20%, higher than 10% of CVEs (2026-12-01)
- Published: 2025-12-30T12:08:47.527Z
- Modified: 2026-06-17T06:46:56.410Z
- Assigned by: Linux

## Description

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

vfio: Fix NULL pointer dereference caused by uninitialized group->iommufd

group->iommufd is not initialized for the iommufd_ctx_put()

[20018.331541] BUG: kernel NULL pointer dereference, address: 0000000000000000
[20018.377508] RIP: 0010:iommufd_ctx_put+0x5/0x10 [iommufd]
...
[20018.476483] Call Trace:
[20018.479214]  <TASK>
[20018.481555]  vfio_group_fops_unl_ioctl+0x506/0x690 [vfio]
[20018.487586]  __x64_sys_ioctl+0x6a/0xb0
[20018.491773]  ? trace_hardirqs_on+0xc5/0xe0
[20018.496347]  do_syscall_64+0x67/0x90
[20018.500340]  entry_SYSCALL_64_after_hwframe+0x4b/0xb5

(As written by CVE List.)

## Affected

- Linux Linux: from 9eefba8002c27d65ab52a533fd0611b099b73591 before 8f24eef598ce7cce0bbefe0ec642bcc031d0f528; from 9eefba8002c27d65ab52a533fd0611b099b73591 before d649c34cb916b015fdcb487e51409fcc5caeca8d; 6.2 (not affected: before 6.2; from 6.2.3 up to 6.2.*; from 6.3 up to *)

## References

- <https://git.kernel.org/stable/c/8f24eef598ce7cce0bbefe0ec642bcc031d0f528>
- <https://git.kernel.org/stable/c/d649c34cb916b015fdcb487e51409fcc5caeca8d>

## Sources

- CVE List: [CVE-2023-54174](https://www.cve.org/CVERecord?id=CVE-2023-54174), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2023-54174](https://nvd.nist.gov/vuln/detail/CVE-2023-54174), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-54174 · Whole record: https://cve.day/CVE-2023-54174.json · Rebuilt by cve.day 2026-11-25T22:58:35.206Z
