{"id":"CVE-2025-40160","sourceIdentifier":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","published":"2025-11-12T11:15:46.123","lastModified":"2026-10-30T13:18:14.127","vulnStatus":"Deferred","cveTags":[],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nxen/events: Return -EEXIST for bound VIRQs\n\nChange find_virq() to return -EEXIST when a VIRQ is bound to a\ndifferent CPU than the one passed in.  With that, remove the BUG_ON()\nfrom bind_virq_to_irq() to propogate the error upwards.\n\nSome VIRQs are per-cpu, but others are per-domain or global.  Those must\nbe bound to CPU0 and can then migrate elsewhere.  The lookup for\nper-domain and global will probably fail when migrated off CPU 0,\nespecially when the current CPU is tracked.  This now returns -EEXIST\ninstead of BUG_ON().\n\nA second call to bind a per-domain or global VIRQ is not expected, but\nmake it non-fatal to avoid trying to look up the irq, since we don't\nknow which per_cpu(virq_to_irq) it will be in."},{"lang":"es","value":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nxen/events: Devolver -EEXIST para VIRQs enlazados\n\nCambiar find_virq() para que devuelva -EEXIST cuando un VIRQ está enlazado a una CPU diferente a la pasada como argumento. Con esto, eliminar el BUG_ON() de bind_virq_to_irq() para propagar el error hacia arriba.\n\nAlgunos VIRQs son por-CPU, pero otros son por-dominio o globales. Esos deben ser enlazados a la CPU0 y luego pueden migrar a otro lugar. La búsqueda para los por-dominio y globales probablemente fallará cuando se migren fuera de la CPU 0, especialmente cuando se rastrea la CPU actual. Esto ahora devuelve -EEXIST en lugar de BUG_ON().\n\nNo se espera una segunda llamada para enlazar un VIRQ por-dominio o global, pero hacerla no-fatal para evitar intentar buscar la irq, ya que no sabemos en qué per_cpu(virq_to_irq) estará."}],"affected":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","affectedData":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","programFiles":["drivers/xen/events/events_base.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"62cc5fc7b2e0218144e162afb8191db9b924b5e6","lessThan":"7e19b3643855d4b63442bd20e8bb811e1a75998e","versionType":"git","status":"affected"},{"version":"62cc5fc7b2e0218144e162afb8191db9b924b5e6","lessThan":"612ef6056855c0aacb9b25d1d853c435754483f7","versionType":"git","status":"affected"},{"version":"62cc5fc7b2e0218144e162afb8191db9b924b5e6","lessThan":"a1e7f07ae6b594f1ba5be46c6125b43bc505c5aa","versionType":"git","status":"affected"},{"version":"62cc5fc7b2e0218144e162afb8191db9b924b5e6","lessThan":"f81db055a793eca9d05f79658ff62adafb41d664","versionType":"git","status":"affected"},{"version":"62cc5fc7b2e0218144e162afb8191db9b924b5e6","lessThan":"07ce121d93a5e5fb2440a24da3dbf408fcee978e","versionType":"git","status":"affected"}]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","programFiles":["drivers/xen/events/events_base.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"3.2","status":"affected"},{"version":"0","lessThan":"3.2","versionType":"semver","status":"unaffected"},{"version":"6.1.191","lessThanOrEqual":"6.1.*","versionType":"semver","status":"unaffected"},{"version":"6.6.113","lessThanOrEqual":"6.6.*","versionType":"semver","status":"unaffected"},{"version":"6.12.54","lessThanOrEqual":"6.12.*","versionType":"semver","status":"unaffected"},{"version":"6.17.4","lessThanOrEqual":"6.17.*","versionType":"semver","status":"unaffected"},{"version":"6.18","lessThanOrEqual":"*","versionType":"original_commit_for_fix","status":"unaffected"}]}]}],"metrics":{},"references":[{"url":"https://git.kernel.org/stable/c/07ce121d93a5e5fb2440a24da3dbf408fcee978e","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/612ef6056855c0aacb9b25d1d853c435754483f7","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/7e19b3643855d4b63442bd20e8bb811e1a75998e","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/a1e7f07ae6b594f1ba5be46c6125b43bc505c5aa","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/f81db055a793eca9d05f79658ff62adafb41d664","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"}]}