Linus Torvalds
2ef5971ff3
Merge tag 'vfs-6.10-rc4.fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs
...
Pull vfs fixes from Christian Brauner:
"Misc:
- Restore debugfs behavior of ignoring unknown mount options
- Fix kernel doc for netfs_wait_for_oustanding_io()
- Fix struct statx comment after new addition for this cycle
- Fix a check in find_next_fd()
iomap:
- Fix data zeroing behavior when an extent spans the block that
contains i_size
- Restore i_size increasing in iomap_write_end() for now to avoid
stale data exposure on xfs with a realtime device
Cachefiles:
- Remove unneeded fdtable.h include
- Improve trace output for cachefiles_obj_{get,put}_ondemand_fd()
- Remove requests from the request list to prevent accessing already
freed requests
- Fix UAF when issuing restore command while the daemon is still
alive by adding an additional reference count to requests
- Fix UAF by grabbing a reference during xarray lookup with xa_lock()
held
- Simplify error handling in cachefiles_ondemand_daemon_read()
- Add consistency checks read and open requests to avoid crashes
- Add a spinlock to protect ondemand_id variable which is used to
determine whether an anonymous cachefiles fd has already been
closed
- Make on-demand reads killable allowing to handle broken cachefiles
daemon better
- Flush all requests after the kernel has been marked dead via
CACHEFILES_DEAD to avoid hung-tasks
- Ensure that closed requests are marked as such to avoid reusing
them with a reopen request
- Defer fd_install() until after copy_to_user() succeeded and thereby
get rid of having to use close_fd()
- Ensure that anonymous cachefiles on-demand fds are reused while
they are valid to avoid pinning already freed cookies"
* tag 'vfs-6.10-rc4.fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs:
iomap: Fix iomap_adjust_read_range for plen calculation
iomap: keep on increasing i_size in iomap_write_end()
cachefiles: remove unneeded include of <linux/fdtable.h>
fs/file: fix the check in find_next_fd()
cachefiles: make on-demand read killable
cachefiles: flush all requests after setting CACHEFILES_DEAD
cachefiles: Set object to close if ondemand_id < 0 in copen
cachefiles: defer exposing anon_fd until after copy_to_user() succeeds
cachefiles: never get a new anonymous fd if ondemand_id is valid
cachefiles: add spin_lock for cachefiles_ondemand_info
cachefiles: add consistency check for copen/cread
cachefiles: remove err_put_fd label in cachefiles_ondemand_daemon_read()
cachefiles: fix slab-use-after-free in cachefiles_ondemand_daemon_read()
cachefiles: fix slab-use-after-free in cachefiles_ondemand_get_fd()
cachefiles: remove requests from xarray during flushing requests
cachefiles: add output string to cachefiles_obj_[get|put]_ondemand_fd
statx: Update offset commentary for struct statx
netfs: fix kernel doc for nets_wait_for_outstanding_io()
debugfs: continue to ignore unknown mount options
2024-06-11 12:04:21 -07:00
..
2023-12-15 17:06:45 +01:00
2021-12-21 15:09:46 -08:00
2024-02-13 11:47:13 +01:00
2021-09-13 14:51:10 -05:00
2024-04-15 13:42:38 +02:00
2022-11-17 22:49:39 +01:00
2024-01-28 13:40:19 +00:00
2022-06-28 21:26:05 +02:00
2024-02-08 15:30:33 -08:00
2022-06-28 21:26:05 +02:00
2023-08-22 15:13:20 +02:00
2022-06-28 21:26:05 +02:00
2022-08-09 19:51:05 +02:00
2023-04-27 18:49:24 -04:00
2023-12-19 10:37:50 -08:00
2023-10-02 20:48:16 +02:00
2023-05-30 15:20:08 +01:00
2021-06-16 17:47:53 +02:00
2024-02-19 10:58:24 +00:00
2024-02-17 17:00:09 +01:00
2022-04-29 14:38:03 -07:00
2022-11-23 19:55:22 +01:00
2023-06-20 14:28:17 -06:00
2022-05-13 10:56:10 +02:00
2021-11-01 13:36:08 +00:00
2022-11-04 16:56:41 +01:00
2022-08-11 10:31:19 -07:00
2022-12-22 18:18:37 -08:00
2023-03-10 21:05:16 +01:00
2022-10-31 07:29:47 -04:00
2023-05-30 16:42:00 -07:00
2024-02-16 12:42:59 +11:00
2023-11-14 08:16:34 +01:00
2024-02-08 08:41:03 -05:00
2021-04-02 11:18:30 -06:00
2023-07-24 20:11:54 -06:00
2024-04-30 09:45:53 -07:00
2022-06-07 10:20:42 -07:00
2023-11-09 14:02:12 +01:00
2024-03-05 17:13:24 +01:00
2022-05-18 00:11:18 +08:00
2024-02-13 11:47:13 +01:00
2023-06-06 17:05:54 -04:00
2022-05-15 18:31:28 -06:00
2022-09-24 08:50:04 +02:00
2022-09-24 08:50:04 +02:00
2023-07-14 08:43:49 -10:00
2024-05-24 10:36:55 +01:00
2021-11-26 16:48:59 +01:00
2022-06-28 21:26:05 +02:00
2023-04-18 16:39:34 -07:00
2023-10-16 11:38:56 -04:00
2024-04-02 10:49:38 +08:00
2024-04-30 08:48:10 -07:00
2022-01-26 14:49:46 +01:00
2022-06-28 21:26:05 +02:00
2023-01-20 09:33:22 +00:00
2024-04-08 14:10:45 +01:00
2021-10-18 12:28:53 -07:00
2023-07-20 17:24:57 -05:00
2023-03-06 15:49:07 -06:00
2023-03-06 15:49:07 -06:00
2023-03-30 15:57:50 -04:00
2022-06-28 21:26:05 +02:00
2022-06-20 18:21:25 +02:00
2024-02-01 15:39:44 +01:00
2021-03-18 17:03:54 +01:00
2022-08-29 15:32:13 +02:00
2022-06-03 20:09:27 +08:00
2023-08-23 14:17:42 -07:00
2024-03-07 17:14:53 +00:00
2024-05-13 18:35:02 -07:00
2024-05-13 18:35:02 -07:00
2023-06-15 14:55:15 +02:00
2024-02-14 11:01:01 +00:00
2023-04-19 23:39:42 -04:00
2022-11-28 12:46:23 -08:00
2024-03-06 13:13:05 +01:00
2024-01-27 18:08:54 -08:00
2024-05-10 08:26:31 +02:00
2021-04-20 08:59:03 -06:00
2022-06-28 21:26:05 +02:00
2023-06-06 07:54:00 +09:00
2023-03-16 21:20:32 -07:00
2024-03-11 11:02:06 -07:00
2023-09-25 22:34:33 -07:00
2023-08-09 15:43:27 +09:30
2022-02-17 09:09:37 +01:00
2024-03-06 09:56:35 +01:00
2023-09-21 19:22:05 +02:00
2022-08-10 13:49:50 +01:00
2024-02-15 08:44:57 +01:00
2023-10-27 09:21:13 +02:00
2024-05-07 01:35:57 +02:00
2023-05-24 22:05:24 -07:00
2023-10-27 18:04:30 +08:00
2022-09-20 11:53:32 +01:00
2023-03-10 21:05:16 +01:00
2022-02-18 13:08:18 +00:00
2021-11-15 07:53:10 -08:00
2021-11-15 07:53:10 -08:00
2021-06-03 15:31:34 -07:00
2024-05-06 11:13:56 +02:00
2023-10-04 13:00:34 +05:30
2022-02-18 21:20:06 -08:00
2022-10-28 12:36:34 +08:00
2022-06-28 21:26:05 +02:00
2021-07-29 15:06:50 +01:00
2021-05-07 00:26:34 -07:00
2023-12-20 11:27:20 +00:00
2022-09-15 09:08:09 +02:00
2021-03-10 12:45:16 -08:00
2024-05-07 01:35:57 +02:00
2022-08-18 20:37:35 -07:00
2023-10-12 09:15:15 +02:00
2022-06-28 21:26:05 +02:00
2024-04-02 18:24:33 -07:00
2022-12-12 09:29:56 +00:00
2024-04-01 10:49:28 +01:00
2023-11-29 14:59:40 -08:00
2022-06-28 21:26:05 +02:00
2024-02-27 18:22:49 -08:00
2023-05-23 15:38:59 +02:00
2022-06-28 21:26:05 +02:00
2024-03-06 13:13:00 +01:00
2024-06-07 11:08:07 +02:00
2022-07-17 07:52:46 -07:00
2024-05-10 06:09:45 -06:00
2024-02-28 11:19:41 +00:00
2022-02-04 20:24:45 -08:00
2023-01-06 19:22:53 -08:00
2024-01-11 13:01:25 -04:00
2023-08-15 10:06:49 -06:00
2022-06-28 21:26:05 +02:00
2023-02-06 09:01:00 +00:00
2022-10-17 09:51:26 -05:00
2021-10-05 06:54:16 -05:00
2023-07-28 13:30:51 -07:00
2022-06-28 21:26:05 +02:00
2023-03-16 15:18:02 +01:00
2022-06-28 21:26:05 +02:00
2022-06-28 21:26:05 +02:00
2024-06-01 07:28:21 +02:00
2024-04-23 14:59:01 +10:00
2024-03-27 08:53:02 -04:00
2023-06-09 12:34:45 -04:00
2021-06-17 14:25:39 -04:00
2024-05-08 01:28:00 +10:00
2022-09-20 09:13:38 +02:00
2024-05-13 06:58:29 +02:00
2022-05-25 09:51:36 -07:00
2022-07-08 10:46:53 -07:00
2022-05-10 06:30:05 -06:00
2024-02-15 23:43:47 -05:00
2022-08-29 10:44:08 +02:00
2024-05-08 17:29:24 -04:00
2021-03-10 09:34:06 +01:00
2021-03-24 08:26:29 +01:00
2021-10-21 23:36:28 +02:00
2024-02-22 13:32:55 +01:00
2024-02-21 14:56:58 -08:00
2024-04-29 14:56:36 +02:00
2023-05-25 16:21:22 +02:00
2023-03-23 17:25:46 +01:00
2023-12-15 17:01:30 +01:00
2023-01-07 11:29:29 +01:00
2023-01-18 17:12:37 -08:00
2024-02-22 10:24:46 -08:00
2022-06-28 21:26:05 +02:00
2023-06-09 16:25:16 -07:00
2022-01-11 18:45:02 -08:00
2023-12-14 11:49:17 +01:00
2023-12-15 12:17:16 +00:00
2024-04-11 08:19:54 -07:00
2022-02-19 16:05:54 +00:00
2021-06-30 15:34:04 -06:00
2023-04-27 19:15:11 -06:00
2022-06-28 21:26:05 +02:00
2022-11-03 20:46:32 -07:00
2022-06-28 21:26:05 +02:00
2023-11-18 18:42:37 -08:00
2021-06-18 13:02:45 -07:00
2024-05-30 12:15:56 +02:00
2022-09-07 16:46:03 +02:00
2023-10-20 11:43:35 +01:00
2024-03-08 10:35:47 +00:00
2021-12-27 14:58:37 +00:00
2022-02-25 18:50:12 -05:00
2022-03-13 12:59:35 -04:00
2024-05-06 12:47:24 -04:00
2024-05-06 09:07:22 -04:00
2021-09-14 11:11:20 +02:00
2021-10-21 17:25:17 +02:00
2024-03-25 15:36:56 +01:00
2023-09-27 09:40:02 +02:00
2023-11-28 19:05:16 +00:00
2024-04-11 15:34:40 +02:00
2022-05-20 06:17:33 -06:00
2022-02-27 10:58:04 -08:00
2023-08-14 08:01:06 +01:00
2024-04-25 12:37:12 -07:00
2023-03-23 12:22:19 +09:00
2024-05-16 18:14:09 -05:00
2023-12-18 11:55:56 +01:00
2023-10-27 15:05:11 +02:00
2021-12-23 09:32:51 +01:00
2021-12-27 17:12:58 +01:00
2024-02-21 09:46:08 +01:00
2024-04-01 10:49:28 +01:00
2024-01-02 14:25:51 +00:00
2023-06-07 14:26:09 -06:00
2022-12-01 03:22:20 +00:00
2024-05-22 09:56:00 -07:00
2021-03-25 15:31:22 -07:00
2023-01-06 17:12:39 +00:00
2023-07-20 22:14:21 +12:00
2024-01-29 20:34:19 +01:00
2024-01-29 13:00:23 +00:00
2023-04-16 14:23:07 +02:00
2023-08-09 09:15:39 +02:00
2022-06-28 21:26:05 +02:00
2022-02-17 09:09:38 +01:00
2023-12-20 19:26:31 -05:00
2022-05-09 14:00:07 +02:00
2024-02-23 14:23:23 +02:00
2022-06-28 21:26:05 +02:00
2023-01-06 19:28:01 -08:00
2023-07-15 11:35:02 -07:00
2022-12-27 12:52:12 +01:00
2022-03-23 19:58:40 +01:00
2023-10-25 18:04:29 -07:00
2023-03-09 11:31:44 +01:00
2023-07-17 16:08:08 -07:00
2023-08-22 11:10:26 -06:00
2022-08-03 16:29:08 -07:00
2022-09-20 12:33:22 +02:00
2022-06-28 21:26:05 +02:00
2023-10-10 08:51:10 +02:00
2023-09-18 11:14:42 +02:00
2024-01-27 18:15:24 -08:00
2023-10-19 18:11:49 -07:00
2021-05-18 16:20:54 -05:00
2023-12-26 20:24:33 +00:00
2023-12-26 20:24:33 +00:00
2024-05-01 10:06:27 +02:00
2022-06-01 16:48:05 -07:00
2022-01-08 17:41:00 +09:00
2024-05-29 10:40:19 +02:00
2024-05-08 00:42:25 -07:00
2022-06-28 21:26:05 +02:00
2022-11-09 14:06:51 +01:00
2023-12-02 01:17:48 +02:00
2022-06-30 13:14:35 +02:00
2023-03-24 16:59:09 -04:00
2023-04-18 16:39:34 -07:00
2024-05-13 14:48:04 -07:00
2022-11-17 11:04:23 -08:00
2024-04-03 14:03:09 +02:00
2022-02-03 19:50:49 +01:00
2023-12-04 10:37:46 +01:00
2022-04-06 13:48:02 +01:00
2022-09-27 17:29:09 -07:00
2023-06-15 13:41:53 +02:00
2024-05-13 18:09:56 -04:00
2021-04-10 10:36:34 +02:00
2022-06-27 16:25:41 +02:00
2023-06-05 09:36:35 +02:00
2024-02-28 18:47:08 -07:00
2024-04-18 11:38:23 +02:00
2022-06-28 21:26:05 +02:00
2022-08-31 09:07:53 +02:00
2024-03-18 10:13:03 -04:00
2023-12-29 11:58:24 -08:00
2023-03-23 17:25:46 +01:00
2023-01-15 23:45:15 +02:00
2022-12-07 17:58:46 +01:00
2023-12-04 10:37:46 +01:00
2022-12-07 17:58:46 +01:00
2024-04-29 14:56:36 +02:00
2024-04-29 14:56:37 +02:00
2024-04-22 17:07:13 -04:00
2022-08-11 04:26:08 -04:00
2024-01-27 18:08:54 -08:00
2022-07-11 09:54:37 +02:00
2023-12-04 14:29:08 -07:00
2023-11-01 09:20:00 -04:00
2024-04-08 04:11:04 -04:00
2024-04-29 14:56:38 +02:00
2022-06-28 21:26:05 +02:00
2023-04-04 11:01:57 -04:00
2024-05-14 10:54:49 -04:00
2023-12-19 11:51:31 -07:00
2022-03-28 16:52:58 -04:00
2021-11-04 16:36:54 +01:00
2023-12-15 19:30:00 +03:00
2021-11-01 05:26:48 -04:00
2022-05-10 07:22:28 -04:00
2021-12-06 15:03:05 +01:00
2024-05-22 08:31:15 -04:00
2024-04-30 10:51:32 +02:00
2024-03-19 02:45:49 -04:00
2021-08-26 22:28:03 +02:00
2024-01-10 13:01:37 -05:00
2022-08-16 01:40:24 -04:00
2021-08-05 10:24:08 +01:00
2024-02-09 14:01:15 +01:00
2021-09-05 16:23:09 -04:00
2023-10-15 13:19:42 +01:00
2023-05-28 19:07:48 -06:00
2021-06-12 13:16:45 -07:00
2024-05-09 10:01:01 -07:00