Security mailing lists by PureSourceCode

CVE-2026-143058

not scored yet

gpio: brcmstb: fix UAF after IRQ domain setup failure

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

gpio: brcmstb: fix UAF after IRQ domain setup failure

When devm_request_irq() fails in brcmstb_gpio_irq_setup(), the error
path removes the IRQ domain but leaves priv->irq_domain non-NULL.

The probe error path subsequently calls brcmstb_gpio_remove(), which
checks priv->irq_domain and attempts to access the already-freed
domain through irq_find_mapping(). It also attempts to remove the
domain again, resulting in a use-after-free and potentially further
memory corruption.

Set priv->irq_domain to NULL after removing it so that the common
cleanup path skips the already-freed IRQ domain.

This issue was found by our static analysis tool under development.

Published
3 Dec 2026
Last modified
3 Dec 2026
Assigned by
416baaa9-dc9f-4396-8d5f-8c081fb06d67
NVD status
Received
Sources
NVDJSONCVE ListJSON

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
CVE List Linux Linux >= 0ba31dc201deb4f47277d7ff676b45da31c530e4, < ae57126e5e8fd2883ff64bccc442a59b227ef804; >= 0ba31dc201deb4f47277d7ff676b45da31c530e4, < 8c70068d8fecfd5f4d9a0487edcdcbc17c81c0e8; >= 0ba31dc201deb4f47277d7ff676b45da31c530e4, < 40a6f3ffed2051a88ae5eab772a43464e216f000; >= 0ba31dc201deb4f47277d7ff676b45da31c530e4, < 2d175ac3b6e76ba5fdf18fedb54bf4f87cb33be8; >= 0ba31dc201deb4f47277d7ff676b45da31c530e4, < 1526045b4fa863a72b16bc2e3ac9350ca13a53c9; >= 0ba31dc201deb4f47277d7ff676b45da31c530e4, < baa14758afb3e2828de1f76511edc1de50216f39 ae57126e5e8fd2883ff64bccc442a59b227ef804, 8c70068d8fecfd5f4d9a0487edcdcbc17c81c0e8, 40a6f3ffed2051a88ae5eab772a43464e216f000, 2d175ac3b6e76ba5fdf18fedb54bf4f87cb33be8, 1526045b4fa863a72b16bc2e3ac9350ca13a53c9, baa14758afb3e2828de1f76511edc1de50216f39
CVE List Linux Linux = 4.15

References

History

  • 3 Dec 2026 11:07 UTC · NVD: first stored (published 3 Dec 2026)
  • 3 Dec 2026 10:07 UTC · CVE List: first stored (published 3 Dec 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.