{"id":"CVE-2026-31468","aliases":["CVE-2026-31468"],"related":[],"kind":"vulnerability","state":"published","title":"vfio/pci: Fix double free in dma-buf feature","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nvfio/pci: Fix double free in dma-buf feature\n\nThe error path through vfio_pci_core_feature_dma_buf() ignores its\nown advice to only use dma_buf_put() after dma_buf_export(), instead\nfalling through the entire unwind chain.  In the unlikely event that\nwe encounter file descriptor exhaustion, this can result in an\nunbalanced refcount on the vfio device and double free of allocated\nobjects.\n\nAvoid this by moving the \"put\" directly into the error path and return\nthe errno rather than entering the unwind chain.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nvfio/pci: Fix double free in dma-buf feature\n\nThe error path through vfio_pci_core_feature_dma_buf() ignores its\nown advice to only use dma_buf_put() after dma_buf_export(), instead\nfalling through the entire unwind chain.  In the unlikely event that\nwe encounter file descriptor exhaustion, this can result in an\nunbalanced refcount on the vfio device and double free of allocated\nobjects.\n\nAvoid this by moving the \"put\" directly into the error path and return\nthe errno rather than entering the unwind chain.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nvfio/pci: Corrección de doble liberación en la característica dma-buf\n\nLa ruta de error a través de vfio_pci_core_feature_dma_buf() ignora su propio consejo de usar dma_buf_put() solo después de dma_buf_export(), cayendo en su lugar por toda la cadena de desenrollado. En el improbable caso de que encontremos agotamiento de descriptores de archivo, esto puede resultar en un recuento de referencias desequilibrado en el dispositivo vfio y doble liberación de objetos asignados.\n\nEvite esto al mover el put directamente a la ruta de error y devolver el errno en lugar de entrar en la cadena de desenrollado.","source":"nvd"}],"published":"2026-04-22T13:53:57.583Z","modified":"2026-11-11T23:10:00.263Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-415"],"affected":[{"ranges":[{"type":"git","introduced":"5d74781ebc86c5fa9e9d6934024c505412de9b52","fixed":"83ad334afc9a645cef1062f5346526b1e36d6516","status":"affected"},{"type":"git","introduced":"5d74781ebc86c5fa9e9d6934024c505412de9b52","fixed":"e98137f0a874ab36d0946de4707aa48cb7137d1c","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.19","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.19","status":"unaffected"},{"type":"semver","introduced":"6.19.11","lastAffected":"6.19.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.0","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"6.19","fixed":"6.19.11"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"},{"status":"affected","version":"7.0"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/83ad334afc9a645cef1062f5346526b1e36d6516","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e98137f0a874ab36d0946de4707aa48cb7137d1c","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-10-16T15:09:44.917Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-31468","url":"https://www.cve.org/CVERecord?id=CVE-2026-31468","licence":"CVE Terms of Use","modified":"2026-10-19T18:35:49.671Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-31468","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-31468","licence":"Public domain","modified":"2026-11-11T23:10:00.263Z"}],"updatedAt":"2026-11-25T22:59:19.277Z","epss":{"score":0.00126,"percentile":0.02437,"date":"2026-12-01T12:00:22.000Z"}}