Overview
About vulnerability
In the Linux kernel, the following vulnerability has been resolved:
iommu: Return right value in iommu_sva_bind_device()
iommu_sva_bind_device() should return either a sva bond handle or an ERR_PTR value in error cases. Existing drivers (idxd and uacce) only check the return value with IS_ERR(). This could potentially lead to a kernel NULL pointer dereference issue if the function returns NULL instead of an error pointer.
In reality, this doesn’t cause any problems because iommu_sva_bind_device() only returns NULL when the kernel is not configured with CONFIG_IOMMU_SVA. In this case, iommu_dev_enable_feature(dev, IOMMU_DEV_FEAT_SVA) will return an error, and the device drivers won’t call iommu_sva_bind_device() at all.
Details
- Affected product:
- AlmaLinux 9.2 ESU , Amazon Linux 2 ELS , CentOS 8.4 ELS , CentOS 8.5 ELS , CentOS Stream 8 ELS , Oracle Linux 7 ELS , TuxCare 9.6 ESU , Ubuntu 16.04 ELS , Ubuntu 18.04 ELS , Ubuntu 20.04 ELS
- Affected packages:
- kernel @ 5.14.0-11 (+11 more)
Fixes
KernelCare state
Live-patch status from KernelCare for each operating system.
| Operating system | Status | Covered kernels |
|---|---|---|
| AlmaLinux 9 | Released |
33 kernels
|
| Amazon Linux 2023 | Planned | — |
| Debian 11 | Released |
30 kernels
|
| Debian 11 cloud | Released |
10 kernels
|
| Debian 12 | Planned | — |
| Oracle Linux 7 UEK 6 | Released |
102 kernels
|
| Oracle Linux 8 UEK 6 | Released |
103 kernels
|
| Oracle Linux 8 UEK 7 | Planned | — |
| Oracle Linux 9 | Released |
39 kernels
|
| Oracle Linux 9 UEK 7 | Planned | — |
| Proxmox VE 7 5.15 | Released |
47 kernels
|
| RHEL 9 | Released |
33 kernels
|
| Rocky Linux 9 | Released |
33 kernels
|
| Ubuntu 18.04 AWS Focal | Will Not Fix | — |
| Ubuntu 18.04 Azure Focal | Will Not Fix | — |
| Ubuntu 18.04 HWE Focal | Will Not Fix | — |
| Ubuntu 20.04 | Planned | — |
| Ubuntu 20.04 AWS | Planned | — |
| Ubuntu 20.04 Azure | Planned | — |
| Ubuntu 20.04 GCP | Planned | — |
| Ubuntu 20.04 HWE AWS | Released |
45 kernels
|
| Ubuntu 20.04 HWE Azure | Released |
28 kernels
|
| Ubuntu 22.04 | Released |
58 kernels
|
| Ubuntu 22.04 AWS | Released |
52 kernels
|
| Ubuntu 22.04 Azure | Released |
48 kernels
|
| Ubuntu 24.04 | Planned | — |