CVE-2023-54174

Source
https://cve.org/CVERecord?id=CVE-2023-54174
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-54174.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2023-54174
Downstream
Published
2025-12-30T12:08:47.527Z
Modified
2025-12-30T20:33:21.021346Z
Summary
vfio: Fix NULL pointer dereference caused by uninitialized group->iommufd
Details

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 iommufdctxput()

[20018.331541] BUG: kernel NULL pointer dereference, address: 0000000000000000 [20018.377508] RIP: 0010:iommufdctxput+0x5/0x10 [iommufd] ... [20018.476483] Call Trace: [20018.479214] <TASK> [20018.481555] vfiogroupfopsunlioctl+0x506/0x690 [vfio] [20018.487586] _x64sysioctl+0x6a/0xb0 [20018.491773] ? tracehardirqson+0xc5/0xe0 [20018.496347] dosyscall64+0x67/0x90 [20018.500340] entrySYSCALL64after_hwframe+0x4b/0xb5

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/54xxx/CVE-2023-54174.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
9eefba8002c27d65ab52a533fd0611b099b73591
Fixed
8f24eef598ce7cce0bbefe0ec642bcc031d0f528
Fixed
d649c34cb916b015fdcb487e51409fcc5caeca8d

Affected versions

v6.*
v6.1
v6.1-rc8
v6.2
v6.2-rc1
v6.2-rc2
v6.2-rc3
v6.2-rc4
v6.2-rc5
v6.2-rc6
v6.2-rc7
v6.2-rc8
v6.2.1
v6.2.2

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-54174.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.2.3

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-54174.json"