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
  • linux
  • kernel
  • fork.c
Find file BlameHistoryPermalink
  • Kirill Korotaev's avatar
    [PATCH] wrong error path in dup_fd() leading to oopses in RCU · 42862298
    Kirill Korotaev authored Mar 31, 2006
    
    
    Wrong error path in dup_fd() - it should return NULL on error,
    not an address of already freed memory :/
    
    Triggered by OpenVZ stress test suite.
    
    What is interesting is that it was causing different oopses in RCU like
    below:
    Call Trace:
       [<c013492c>] rcu_do_batch+0x2c/0x80
       [<c0134bdd>] rcu_process_callbacks+0x3d/0x70
       [<c0126cf3>] tasklet_action+0x73/0xe0
       [<c01269aa>] __do_softirq+0x10a/0x130
       [<c01058ff>] do_softirq+0x4f/0x60
       =======================
       [<c0113817>] smp_apic_timer_interrupt+0x77/0x110
       [<c0103b54>] apic_timer_interrupt+0x1c/0x24
      Code:  Bad EIP value.
       <0>Kernel panic - not syncing: Fatal exception in interrupt
    
    Signed-Off-By: default avatarPavel Emelianov <xemul@sw.ru>
    Signed-Off-By: default avatarDmitry Mishin <dim@openvz.org>
    Signed-Off-By: default avatarKirill Korotaev <dev@openvz.org>
    Signed-Off-By: default avatarLinus Torvalds <torvalds@osdl.org>
    42862298
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7