• Linus Torvalds's avatar
    Make sure to kunmap() the right address in fs/nfs/dir.c. · 8f44c5c2
    Linus Torvalds authored
    Found by Rik van Riel:
    
     "There's a serious bug in the handling of the pointer returned
      by kmap_atomic() in nfs/dir.c.   The pointer (part of desc) is
      passed into find_dirent_name and from there into dir_decode,
      which modifies the pointer.
    
      That means you end up passing a wrong address to kunmap_atomic()."
    8f44c5c2
dir.c 32.9 KB