Skip to content
Commit 8d657eb3 authored by Dave Jones's avatar Dave Jones Committed by Linus Torvalds
Browse files

Remove easily user-triggerable BUG from generic_setlease



This can be trivially triggered from userspace by passing in something unexpected.

    kernel BUG at fs/locks.c:1468!
    invalid opcode: 0000 [#1] SMP
    RIP: 0010:generic_setlease+0xc2/0x100
    Call Trace:
      __vfs_setlease+0x35/0x40
      fcntl_setlease+0x76/0x150
      sys_fcntl+0x1c6/0x810
      system_call_fastpath+0x1a/0x1f

Signed-off-by: default avatarDave Jones <davej@redhat.com>
Cc: stable@kernel.org # 3.2+
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 39ea32ca
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment