Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'timers-urgent-2024-05-10' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip

Pull timer fix from Ingo Molnar:
"Fix possible (but unlikely) out-of-bounds access in the timer
migration per-CPU-init code"

* tag 'timers-urgent-2024-05-10' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
timers/migration: Prevent out of bounds access on failure

+2 -2
+2 -2
kernel/time/timer_migration.c
··· 1596 1596 1597 1597 } while (i < tmigr_hierarchy_levels); 1598 1598 1599 - do { 1599 + while (i > 0) { 1600 1600 group = stack[--i]; 1601 1601 1602 1602 if (err < 0) { ··· 1645 1645 tmigr_connect_child_parent(child, group); 1646 1646 } 1647 1647 } 1648 - } while (i > 0); 1648 + } 1649 1649 1650 1650 kfree(stack); 1651 1651