Bug 2532161 (CVE-2026-89769) - CVE-2026-89769 kernel: clocksource/drivers/nxp-pit: Fix IRQ leak on cpuhp_setup_state error path
Summary: CVE-2026-89769 kernel: clocksource/drivers/nxp-pit: Fix IRQ leak on cpuhp_set...
Keywords:
Status: NEW
Alias: CVE-2026-89769
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-09-11 21:02 UTC by OSIDB Bzimport
Modified: 2026-10-15 17:38 UTC (History)
17 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-09-11 21:02:44 UTC
In the Linux kernel, the following vulnerability has been resolved:

clocksource/drivers/nxp-pit: Fix IRQ leak on cpuhp_setup_state error path

When cpuhp_setup_state fails after pit_clockevent_per_cpu_init has
successfully called request_irq, the error handling jumps directly to
out_pit_clocksource_unregister without freeing the registered IRQ.

This leaks the IRQ line and, since kfree(pit) follows, leaves a
dangling pointer registered as the interrupt handler's dev_id,
potentially leading to a use-after-free if the IRQ fires afterwards.

Fix it by calling pit_clockevent_per_cpu_exit to properly release the
IRQ before falling through to the existing cleanup chain.


Note You need to log in before you can comment on or make changes to this bug.