diff options
| author | Pengfei Xu <pengfei.xu@intel.com> | 2023-03-13 09:55:16 +0800 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2023-03-14 09:21:20 +0100 |
| commit | 0d5c4377b3122ec946edab50132de6cdde9eac4d (patch) | |
| tree | dcdccad63c8e72c1e3c08aa8012917c88d1af4e1 /executor/executor.cc | |
| parent | afdd7d3a00a6f7555edfdb51f48af361824ccb12 (diff) | |
sys/linux: add 2 new iommufd ioctl syscall descriptions
Background:
Linux kernel v6.2-rc1 and later versions have merged IOMMU_TEST_OP_MD_CHECK_MAP
and IOMMU_TEST_OP_MD_CHECK_REFS ioctl syscalls:
https://elixir.bootlin.com/linux/v6.2-rc1/source/drivers/iommu/iommufd/iommufd_test.h#L13
The Problem:
Syzkaller accidentally found a bug related to IOMMU_TEST_OP_MD_CHECK_REFS after
about 3 weeks fuzzing, and Jason Gunthorpe fixed it after the issue report:
Reported link: https://lore.kernel.org/all/Y%2FhOiilV1wJvu%2FHv@xpf.sh.intel.com/
Final fixed patch: https://lore.kernel.org/linux-iommu/0-v1-95390ed1df8d+8f-iommufd_mock_overflow_jgg@nvidia.com/
The Improvement:
Let syzkaller hit IOMMU_TEST_OP_MD_CHECK_MAP and IOMMU_TEST_OP_MD_CHECK_REFS
related syscalls easily and quickly, add these 2 new iommufd ioctl syscall
descriptions:
1. ioctl$IOMMU_TEST_OP_MD_CHECK_MAP(...);
2. ioctl$IOMMU_TEST_OP_MD_CHECK_REFS(...).
Signed-off-by: Pengfei Xu <pengfei.xu@intel.com>
Diffstat (limited to 'executor/executor.cc')
0 files changed, 0 insertions, 0 deletions
