]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'keys-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/dhowells...
authorLinus Torvalds <torvalds@linux-foundation.org>
Tue, 22 Mar 2022 03:38:53 +0000 (20:38 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 22 Mar 2022 03:38:53 +0000 (20:38 -0700)
commit8d9f86d07668cb775fbca685e8f89db43d36a2fa
tree851ff1f4a6ae4a95d8850e6a2e6ca62dacf9b7fc
parente7ac8e0a0f2a6cea56dbda321b326228846be46e
parent1e0f8c133df769f92d5784c58e7dda8882a5f620
Merge branch 'keys-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs

Pull watch_queue fixes from David Howells:
 "Here are fixes for a couple more watch_queue bugs, both found by syzbot:

   - Fix error cleanup in watch_queue_set_size() where it tries to clean
     up all the pointers in the page list, even if they've not been
     allocated yet[1]. Unfortunately, __free_page() doesn't treat a NULL
     pointer as being "do nothing".

     A second report[2] looks like it's probably the same bug, but on
     arm64 rather than x86_64, but there's no reproducer.

   - Fix a missing kfree in free_watch() to actually free the watch[3]"

Link: https://lore.kernel.org/r/000000000000b1807c05daad8f98@google.com/
Link: https://lore.kernel.org/r/000000000000035b9c05daae8a5e@google.com/
Link: https://lore.kernel.org/r/000000000000bc8eaf05dab91c63@google.com/
* 'keys-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs:
  watch_queue: Actually free the watch
  watch_queue: Fix NULL dereference in error cleanup