CVE-2023-54174
Unknown Unknown - Not Provided
NULL Pointer Dereference in Linux vfio Causes Kernel Crash

Publication date: 2025-12-30

Last updated on: 2025-12-30

Assigner: kernel.org

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
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2025-12-30
Last Modified
2025-12-30
Generated
2026-05-07
AI Q&A
2025-12-30
EPSS Evaluated
2026-05-05
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
linux linux_kernel *
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

This vulnerability is a NULL pointer dereference in the Linux kernel's vfio component. It occurs because the group->iommufd pointer is not initialized before being used in the iommufd_ctx_put() function, which can cause the kernel to crash or behave unexpectedly.


How can this vulnerability be detected on my network or system? Can you suggest some commands?

Detection can be done by monitoring the system logs for kernel NULL pointer dereference errors related to iommufd. Specifically, look for messages similar to: '[timestamp] BUG: kernel NULL pointer dereference, address: 0000000000000000' and call traces involving 'iommufd_ctx_put' and 'vfio_group_fops_unl_ioctl'. You can use the command 'dmesg | grep -i iommufd' or 'journalctl -k | grep -i iommufd' to find such logs.


What immediate steps should I take to mitigate this vulnerability?

Immediate mitigation involves updating the Linux kernel to a version where the vfio NULL pointer dereference caused by uninitialized group->iommufd is fixed. Until then, avoid using features or modules that trigger the vulnerable code path, such as vfio with iommufd. Monitoring for kernel crashes and applying kernel patches as soon as they are available is recommended.


How can this vulnerability impact me? :

The impact of this vulnerability is that it can cause a kernel crash (NULL pointer dereference), potentially leading to a denial of service or system instability.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart