CVE-2024-46762: xen: privcmd: Fix possible access to a freed kirqfd instance

Published Sep 18, 2024
·
Updated

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

xen: privcmd: Fix possible access to a freed kirqfd instance

Nothing prevents simultaneous ioctl calls to privcmdirqfdassign() and privcmdirqfddeassign(). If that happens, it is possible that a kirqfd created and added to the irqfdslist by privcmdirqfdassign() may get removed by another thread executing privcmdirqfddeassign(), while the former is still using it after dropping the locks.

This can lead to a situation where an already freed kirqfd instance may be accessed and cause kernel oops.

Use SRCU locking to prevent the same, as is done for the KVM implementation for irqfds.

Other sources

This CVE was automatically created from a reference found in an email or other text. If you are reading this, then this CVE entry is probably erroneous, since this text should be replaced by the official CVE description automatically.

Launchpad

Affected Software

5 affected componentsFixes available
Linux Linux kernel<6.6.51
Linux Linux kernel>=6.7<6.10.10
debian/linux<=5.10.223-1, <=5.10.234-1, <=6.1.129-1, <=6.1.135-1
6.12.25-16.12.27-1
Microsoft azl3 kernel 6.6.47.1-1<6.6.51.1-5
6.6.51.1-5
Microsoft azl3 kernel 6.6.51.1-5<6.6.51.1-5
6.6.51.1-5

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 6.12.25-1Fixed in 6.12.27-1
  2. Upgrade

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

    Fixed in 6.6.51.1-5

Event History

Sep 18, 2024
CVE Published
via MITRE·07:12 AM
Data Sourced
via MITRE·07:12 AM
DescriptionSeverity
Data Sourced
via NVD·08:15 AM
RemedyDescriptionSeverityWeaknessAffected Software
Oct 16, 2024
Data Sourced
via Microsoft·07:00 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·07:00 AM
Affected Software
Updated
via Microsoft·07:00 AM
DescriptionSeverity
Dec 12, 2024
Data Sourced
via Launchpad·06:25 PM
Description
May 1, 2025
Data Sourced
via Ubuntu·08:38 PM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2024-46762?

CVE-2024-46762 is classified as a medium severity vulnerability due to the potential for access to freed memory instances.

2

How do I fix CVE-2024-46762?

To fix CVE-2024-46762, update the Linux kernel to version 6.12.11-1 or above.

3

Which versions of the Linux kernel are affected by CVE-2024-46762?

CVE-2024-46762 affects Linux kernel versions up to 6.6.51 and between 6.7 and 6.10.10.

4

What is the nature of the vulnerability in CVE-2024-46762?

The vulnerability in CVE-2024-46762 arises from the lack of synchronization for simultaneous ioctl calls affecting kirqfd instances.

5

Are there any specific distributions impacted by CVE-2024-46762?

Yes, Debian Linux versions prior to 6.12.11-1 are impacted by CVE-2024-46762.

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