Files
linux-stable-mirror/include/linux
Benjamin Coddington 184cefbe62 NLM: Defend against file_lock changes after vfs_test_lock()
Instead of trusting that struct file_lock returns completely unchanged
after vfs_test_lock() when there's no conflicting lock, stash away our
nlm_lockowner reference so we can properly release it for all cases.

This defends against another file_lock implementation overwriting fl_owner
when the return type is F_UNLCK.

Reported-by: Roberto Bergantinos Corpas <rbergant@redhat.com>
Tested-by: Roberto Bergantinos Corpas <rbergant@redhat.com>
Signed-off-by: Benjamin Coddington <bcodding@redhat.com>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
2022-07-29 20:08:56 -04:00
..
2022-05-22 20:44:29 +01:00
2022-07-29 20:08:56 -04:00
2022-06-08 14:04:14 -04:00
2022-05-20 15:29:00 -07:00
2022-05-16 13:37:59 -07:00
2022-06-28 10:37:25 -03:00
2022-06-03 06:52:57 -07:00
2022-05-13 07:20:18 -07:00
2022-06-06 09:52:17 +09:00
2022-05-19 14:08:53 -07:00
2022-05-13 07:20:17 -07:00
2022-05-12 10:29:41 -07:00
2022-05-17 13:32:46 -04:00
2022-06-10 11:29:48 +02:00
2022-05-22 21:03:01 +01:00
2022-06-02 10:15:05 -07:00
2022-05-24 08:41:18 -06:00
2022-05-31 12:45:10 -04:00
2022-06-13 09:54:52 -07:00