In the Linux kernel, the following vulnerability has been resolved:
iommu/vt-d: Fix incorrect pciforeachdmaalias() for non-PCI devices
Previously, the domaincontextclear() function incorrectly called pciforeachdmaalias() to set up context entries for non-PCI devices. This could lead to kernel hangs or other unexpected behavior.
Add a check to only call pciforeachdmaalias() for PCI devices. For non-PCI devices, domaincontextclear_one() is called directly.
[
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@cbfa3a83eba05240ce37839ed48280a05e8e8f6c",
"target": {
"function": "domain_context_clear",
"file": "drivers/iommu/intel/iommu.c"
},
"deprecated": false,
"signature_version": "v1",
"signature_type": "Function",
"id": "CVE-2024-50101-103da20c",
"digest": {
"function_hash": "261150929723674896765987957316101521640",
"length": 212.0
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0bd9a30c22afb5da203386b811ec31429d2caa78",
"target": {
"function": "domain_context_clear",
"file": "drivers/iommu/intel/iommu.c"
},
"deprecated": false,
"signature_version": "v1",
"signature_type": "Function",
"id": "CVE-2024-50101-205c856c",
"digest": {
"function_hash": "261150929723674896765987957316101521640",
"length": 212.0
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@cbfa3a83eba05240ce37839ed48280a05e8e8f6c",
"target": {
"file": "drivers/iommu/intel/iommu.c"
},
"deprecated": false,
"signature_version": "v1",
"signature_type": "Line",
"id": "CVE-2024-50101-2d686120",
"digest": {
"line_hashes": [
"3917989307100060661247002830450174987",
"69473650604117485806398574275100380420",
"268296964545365760078940523910686627822",
"326879980866211863526933251123635766746",
"34582146020444710684841480526666101132"
],
"threshold": 0.9
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@0bd9a30c22afb5da203386b811ec31429d2caa78",
"target": {
"file": "drivers/iommu/intel/iommu.c"
},
"deprecated": false,
"signature_version": "v1",
"signature_type": "Line",
"id": "CVE-2024-50101-44216297",
"digest": {
"line_hashes": [
"3917989307100060661247002830450174987",
"69473650604117485806398574275100380420",
"268296964545365760078940523910686627822",
"326879980866211863526933251123635766746",
"34582146020444710684841480526666101132"
],
"threshold": 0.9
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@04d6826ba7ba81213422276e96c90c6565169e1c",
"target": {
"function": "domain_context_clear",
"file": "drivers/iommu/intel/iommu.c"
},
"deprecated": false,
"signature_version": "v1",
"signature_type": "Function",
"id": "CVE-2024-50101-65aed133",
"digest": {
"function_hash": "261150929723674896765987957316101521640",
"length": 212.0
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6e02a277f1db24fa039e23783c8921c7b0e5b1b3",
"target": {
"file": "drivers/iommu/intel/iommu.c"
},
"deprecated": false,
"signature_version": "v1",
"signature_type": "Line",
"id": "CVE-2024-50101-70a917fe",
"digest": {
"line_hashes": [
"3917989307100060661247002830450174987",
"69473650604117485806398574275100380420",
"268296964545365760078940523910686627822",
"326879980866211863526933251123635766746",
"34582146020444710684841480526666101132"
],
"threshold": 0.9
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@04d6826ba7ba81213422276e96c90c6565169e1c",
"target": {
"file": "drivers/iommu/intel/iommu.c"
},
"deprecated": false,
"signature_version": "v1",
"signature_type": "Line",
"id": "CVE-2024-50101-806d5cd8",
"digest": {
"line_hashes": [
"3917989307100060661247002830450174987",
"69473650604117485806398574275100380420",
"268296964545365760078940523910686627822",
"326879980866211863526933251123635766746",
"34582146020444710684841480526666101132"
],
"threshold": 0.9
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@fe2e0b6cd00abea3efac66de1da22d844364c1b0",
"target": {
"file": "drivers/iommu/intel/iommu.c"
},
"deprecated": false,
"signature_version": "v1",
"signature_type": "Line",
"id": "CVE-2024-50101-9e5b8a25",
"digest": {
"line_hashes": [
"3917989307100060661247002830450174987",
"69473650604117485806398574275100380420",
"268296964545365760078940523910686627822",
"326879980866211863526933251123635766746",
"34582146020444710684841480526666101132"
],
"threshold": 0.9
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6e02a277f1db24fa039e23783c8921c7b0e5b1b3",
"target": {
"function": "domain_context_clear",
"file": "drivers/iommu/intel/iommu.c"
},
"deprecated": false,
"signature_version": "v1",
"signature_type": "Function",
"id": "CVE-2024-50101-a28052fd",
"digest": {
"function_hash": "261150929723674896765987957316101521640",
"length": 212.0
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@fe2e0b6cd00abea3efac66de1da22d844364c1b0",
"target": {
"function": "domain_context_clear",
"file": "drivers/iommu/intel/iommu.c"
},
"deprecated": false,
"signature_version": "v1",
"signature_type": "Function",
"id": "CVE-2024-50101-fe156191",
"digest": {
"function_hash": "261150929723674896765987957316101521640",
"length": 212.0
}
}
]