{"id":"CVE-2025-40076","sourceIdentifier":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","published":"2025-10-28T12:15:42.160","lastModified":"2026-10-19T21:10:00.160","vulnStatus":"Deferred","cveTags":[],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nPCI: rcar-host: Pass proper IRQ domain to generic_handle_domain_irq()\n\nStarting with commit dd26c1a23fd5 (\"PCI: rcar-host: Switch to\nmsi_create_parent_irq_domain()\"), the MSI parent IRQ domain is NULL because\nthe object of type struct irq_domain_info passed to:\n\nmsi_create_parent_irq_domain() ->\n  irq_domain_instantiate()() ->\n    __irq_domain_instantiate()\n\nhas no reference to the parent IRQ domain. Using msi->domain->parent as an\nargument for generic_handle_domain_irq() leads to below error:\n\n\t\"Unable to handle kernel NULL pointer dereference at virtual address\"\n\nThis error was identified while switching the upcoming RZ/G3S PCIe host\ncontroller driver to msi_create_parent_irq_domain() (which was using a\nsimilar pattern to handle MSIs (see link section)), but it was not tested\non hardware using the pcie-rcar-host controller driver due to lack of\nhardware.\n\n[mani: reworded subject and description]"},{"lang":"es","value":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\nPCI: rcar-host: Pasar el dominio IRQ adecuado a generic_handle_domain_irq()\n\nA partir del commit dd26c1a23fd5 ('PCI: rcar-host: Cambiar a msi_create_parent_irq_domain()'), el dominio IRQ padre de MSI es NULL porque el objeto de tipo struct irq_domain_info pasado a:\n\nmsi_create_parent_irq_domain() ->\n  irq_domain_instantiate()() ->\n    __irq_domain_instantiate()\n\nno tiene referencia al dominio IRQ padre. Usar msi->domain->parent como argumento para generic_handle_domain_irq() lleva al siguiente error:\n\n\t'No se puede manejar la desreferencia de puntero NULL del kernel en la dirección virtual'\n\nEste error fue identificado mientras se cambiaba el próximo controlador de host PCIe RZ/G3S a msi_create_parent_irq_domain() (el cual estaba usando un patrón similar para manejar MSIs (ver sección de enlaces)), pero no fue probado en hardware usando el controlador pcie-rcar-host debido a la falta de hardware.\n\n[mani: se reformuló el asunto y la descripción]"}],"affected":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","affectedData":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","programFiles":["drivers/pci/controller/pcie-rcar-host.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"dd26c1a23fd5a607c50738ea0dcb6cdbb8185cfe","lessThan":"e8e21aaf5d34015901cd271053a67a62b4204526","versionType":"git","status":"affected"},{"version":"dd26c1a23fd5a607c50738ea0dcb6cdbb8185cfe","lessThan":"d3fee10e40a938331e2aae34348691136db31304","versionType":"git","status":"affected"}]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","programFiles":["drivers/pci/controller/pcie-rcar-host.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"6.17","status":"affected"},{"version":"0","lessThan":"6.17","versionType":"semver","status":"unaffected"},{"version":"6.17.3","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/d3fee10e40a938331e2aae34348691136db31304","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/e8e21aaf5d34015901cd271053a67a62b4204526","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"}]}