CVE-2024-26785: iommufd: Fix protection fault in iommufd_test_syz_conv_iova

Published Apr 4, 2024
·
Updated

In the Linux kernel, the following vulnerability has been resolved:

iommufd: Fix protection fault in iommufdtestsyzconviova

Syzkaller reported the following bug:

general protection fault, probably for non-canonical address 0xdffffc0000000038: 0000 [#1] SMP KASAN KASAN: null-ptr-deref in range [0x00000000000001c0-0x00000000000001c7] Call Trace: lockacquire lockacquire+0x1ce/0x4f0 downread+0x93/0x4a0 iommufdtestsyzconviova+0x56/0x1f0 iommufdtestaccessrw.isra.0+0x2ec/0x390 iommufdtest+0x1058/0x1e30 iommufdfopsioctl+0x381/0x510 vfsioctl dosysioctl sesysioctl x64sysioctl+0x170/0x1e0 dosyscallx64 dosyscall64+0x71/0x140

This is because the new iommufdaccesschangeioas() sets access->ioas to NULL during its process, so the lock might be gone in a concurrent racing context.

Fix this by doing the same access->ioas sanity as iommufdaccessrw() and iommufdaccesspinpages() functions do.

Other sources

In the Linux kernel, the following vulnerability has been resolved:

iommufd: Fix protection fault in iommufdtestsyzconviova

The Linux kernel CVE team has assigned CVE-2024-26785 to this issue.

Upstream advisory: https://lore.kernel.org/linux-cve-announce/2024040459-CVE-2024-26785-857d@gregkh/T

Red Hat

Affected Software

11 affected componentsFixes available
Linux Linux kernel>=6.6<6.7.9
Linux Linux kernel=6.8-rc1
Linux Linux kernel=6.8-rc2
Linux Linux kernel=6.8-rc3
Linux Linux kernel=6.8-rc4
Linux Linux kernel=6.8-rc5
Linux Linux kernel=6.8-rc6
redhat/kernel<6.7.9
6.7.9
redhat/kernel<6.8
6.8
Microsoft azl3 kernel 6.6.85.1-1<6.6.85.1-1
6.6.85.1-1
Microsoft azl3 kernel 6.6.92.2-1<6.6.85.1-1
6.6.85.1-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 6.7.9
  2. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 6.8
  3. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 6.6.85.1-1

Event History

Apr 4, 2024
CVE Published
via MITRE·08:20 AM
Data Sourced
via MITRE·08:20 AM
Description
Data Sourced
via Red Hat·04:53 PM
DescriptionSeverityAffected Software
Sep 4, 2025
Data Sourced
via Microsoft·05:45 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·05:45 AM
Affected Software
Updated
via Microsoft·05:45 AM
DescriptionSeverity

Frequently Asked Questions

1

What is the severity of CVE-2024-26785?

CVE-2024-26785 has been identified with a general protection fault vulnerability that could potentially lead to system crashes.

2

How do I fix CVE-2024-26785?

To mitigate CVE-2024-26785, ensure that your kernel package is upgraded to version 6.7.9 or 6.8 from Red Hat.

3

Which systems are affected by CVE-2024-26785?

CVE-2024-26785 specifically affects certain versions of the Red Hat kernel.

4

What are the symptoms of CVE-2024-26785?

Symptoms of CVE-2024-26785 may include system instability and the occurrence of general protection faults.

5

Is CVE-2024-26785 exploitable?

While CVE-2024-26785 indicates a significant issue, its exploitability depends on specific system configurations and usage patterns.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203