Skip to content
Heist/ feed
Back to feed
HighFix available

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

Type: advisorySources: OSV

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 privcmd_irqfd_assign() and privcmd_irqfd_deassign(). If that happens, it is possible that a kirqfd created and added to the irqfds_list by privcmd_irqfd_assign() may get removed by another thread executing privcmd_irqfd_deassign(), 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.

Products
Kernel
Affected versions
Not specified
Fixed versions
6.10.10, 6.6.51
CVEs
CVE-2024-46762
Confirmed fixed CVEs
Not specified
Updated in this feed
8 Nov 2026, 01:56 UTC · Revision 1

Source evidence

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

core-osv · Original source

Published 18 Sept 2024, 07:12 UTC

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 privcmd_irqfd_assign() and privcmd_irqfd_deassign(). If that happens, it is possible that a kirqfd created and added to the irqfds_list by privcmd_irqfd_assign() may get removed by another thread executing privcmd_irqfd_deassign(), 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.

osv:CVE-2024-46762

Kernel

Fixed versions: 6.6.51, 6.10.10

Complete source record
{
  "id": "87d2fc4af04db410596183c0fb14ffacf873690fd0c647185c6606ce10725cf3",
  "url": "https://osv.dev/vulnerability/CVE-2024-46762",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "xen: privcmd: Fix possible access to a freed kirqfd instance",
    "summary": "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 privcmd_irqfd_assign() and privcmd_irqfd_deassign(). If that happens, it is possible that a kirqfd created and added to the irqfds_list by privcmd_irqfd_assign() may get removed by another thread executing privcmd_irqfd_deassign(), 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.",
    "evidence": "osv:CVE-2024-46762",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "6.6.51",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.10.10",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "CVE-2024-46762",
      "aliases": [
        "CVE-2024-46762"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "f8941e6c4c712948663ec5d7bbb546f1a0f4e3f6"
                },
                {
                  "fixed": "e997b357b13a7d95de31681fc54fcc34235fa527"
                },
                {
                  "fixed": "112fd2f02b308564724b8e81006c254d20945c4b"
                },
                {
                  "fixed": "611ff1b1ae989a7bcce3e2a8e132ee30e968c557"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-46762.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.6.0"
                },
                {
                  "fixed": "6.6.51"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.7.0"
                },
                {
                  "fixed": "6.10.10"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-46762.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:52.747859442Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/112fd2f02b308564724b8e81006c254d20945c4b",
        "https://git.kernel.org/stable/c/611ff1b1ae989a7bcce3e2a8e132ee30e968c557",
        "https://git.kernel.org/stable/c/e997b357b13a7d95de31681fc54fcc34235fa527",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/46xxx/CVE-2024-46762.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-46762",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/46xxx/CVE-2024-46762.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-46762",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 521549,
  "published_at": "2024-09-18T07:12:21.854+00:00"
}