Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • L linux
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Kirill Smelkov
  • linux
  • Repository
You need to sign in or sign up before continuing.
  • linux
  • kernel
  • time
  • timer_migration.c
Find file BlameHistoryPermalink
  • Levi Yun's avatar
    timers/migration: Prevent out of bounds access on failure · d7ad05c8
    Levi Yun authored May 06, 2024
    When tmigr_setup_groups() fails the level 0 group allocation, then the
    cleanup derefences index -1 of the local stack array.
    
    Prevent this by checking the loop condition first.
    
    Fixes: 7ee98877
    
     ("timers: Implement the hierarchical pull model")
    Signed-off-by: default avatarLevi Yun <ppbuk5246@gmail.com>
    Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
    Reviewed-by: default avatarAnna-Maria Behnsen <anna-maria@linutronix.de>
    Link: https://lore.kernel.org/r/20240506041059.86877-1-ppbuk5246@gmail.com
    d7ad05c8
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7