Skip to content

memcg_write_event_control(): fix a user-triggerable oops

[email protected] bpf cgroups kvm linux-fsdevel netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest39 patches 55 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/39memcg_write_event_control(): fix a user-triggerable oopsmm/memcontrol-v1.c+5 -23 replies
2/39introduce fd_file(), convert all accessors to it.arch/alpha/kernel/osf_sys.c arch/arm/kernel/sys_oabi-compat.c arch/powerpc/kvm/book3s_64_vio.c +80 more+504 -5021 reply
3/39struct fd: representation changedrivers/infiniband/core/uverbs_cmd.c fs/overlayfs/file.c fs/xfs/xfs_handle.c +3 more+35 -233 replies
4/39add struct fd constructors, get rid of __to_fd()fs/file.c include/linux/file.h+24 -351 reply
5/39regularize emptiness checks in fini_module(2) and vfs_dedupe_file_range()fs/remap_range.c kernel/module/main.c+5 -41 reply
6/39net/socket.c: switch to CLASS(fd)include/linux/file.h net/socket.c+137 -1721 reply
7/39introduce struct fderr, convert overlayfs uses to thatfs/overlayfs/file.c include/linux/file.h+95 -680 replies
8/39experimental: convert fs/overlayfs/file.c to CLASS(...)fs/overlayfs/file.c+29 -434 replies
9/39timerfd: switch to CLASS(fd, ...)fs/timerfd.c+14 -261 reply
10/39get rid of perf_fget_light(), convert kernel/events/core.c to CLASS(fd)kernel/events/core.c+16 -331 reply
11/39switch netlink_getsockbyfilp() to taking descriptorinclude/linux/netlink.h ipc/mqueue.c net/netlink/af_netlink.c+9 -101 reply
12/39do_mq_notify(): saner skb freeing on failuresipc/mqueue.c+5 -110 replies
13/39do_mq_notify(): switch to CLASS(fd, ...)ipc/mqueue.c+3 -61 reply
14/39simplify xfs_find_handle() a bitfs/xfs/xfs_handle.c+7 -90 replies
15/39convert vmsplice() to CLASS(fd, ...)fs/splice.c+10 -231 reply
16/39convert __bpf_prog_get() to CLASS(fd, ...)kernel/bpf/syscall.c+11 -212 replies
17/39bpf: resolve_pseudo_ldimm64(): take handling of a single ldimm64 insn into helperkernel/bpf/verifier.c+172 -17011 replies
18/39bpf maps: switch to CLASS(fd, ...)include/linux/bpf.h kernel/bpf/map_in_map.c kernel/bpf/syscall.c +2 more+60 -1461 reply
19/39fdget_raw() users: switch to CLASS(fd_raw, ...)arch/arm/kernel/sys_oabi-compat.c fs/fcntl.c fs/namei.c +7 more+58 -1071 reply
20/39introduce "fd_pos" class, convert fdget_pos() users to it.arch/alpha/kernel/osf_sys.c fs/read_write.c fs/readdir.c +1 more+26 -421 reply
21/39o2hb_region_dev_store(): avoid goto around fdget()/fdput()fs/ocfs2/cluster/heartbeat.c+5 -60 replies
22/39privcmd_ioeventfd_assign(): don't open-code eventfd_ctx_fdget()drivers/xen/privcmd.c+1 -100 replies
23/39fdget(), trivial conversionsarch/powerpc/kvm/book3s_64_vio.c arch/powerpc/kvm/powerpc.c arch/powerpc/platforms/cell/spu_syscalls.c +32 more+187 -3811 reply
24/39fdget(), more trivial conversionsdrivers/infiniband/core/ucma.c drivers/vfio/group.c fs/eventpoll.c +24 more+207 -4271 reply
25/39convert do_preadv()/do_pwritev()fs/read_write.c+4 -81 reply
26/39convert cachestat(2)mm/filemap.c+5 -121 reply
27/39switch spufs_calls_{get,put}() to CLASS() usearch/powerpc/platforms/cell/spu_syscalls.c+17 -350 replies
28/39convert spu_run(2)arch/powerpc/platforms/cell/spu_syscalls.c+5 -91 reply
29/39convert media_request_get_by_fd()drivers/media/mc/mc-request.c+6 -121 reply
30/39convert coda_parse_fd()fs/coda/inode.c+3 -81 reply
31/39convert cifs_ioctl_copychunk()fs/smb/client/ioctl.c+4 -71 reply
32/39convert vfs_dedupe_file_range().fs/remap_range.c+2 -41 reply
33/39convert do_select()fs/select.c+10 -111 reply
34/39do_pollfd(): convert to CLASS(fd)fs/select.c+11 -161 reply
35/39convert bpf_token_create()kernel/bpf/token.c+26 -434 replies
36/39assorted variants of irqfd setup: convert to CLASS(fd)drivers/vfio/virqfd.c drivers/virt/acrn/irqfd.c drivers/xen/privcmd.c +1 more+14 -472 replies
37/39memcg_write_event_control(): switch to CLASS(fd)mm/memcontrol-v1.c+15 -291 reply
38/39css_set_fork(): switch to CLASS(fd_raw, ...)kernel/cgroup/cgroup.c+4 -81 reply
39/39deal with the last remaing boolean uses of fd_file()drivers/infiniband/core/uverbs_cmd.c fs/stat.c include/linux/cleanup.h +1 more+6 -81 reply

Reviews trailers per patch

32 of 39 patches have a Reviewed-by or Acked-by.

PatchMichal HockoAndrii NakryikoChristian Brauner
1/39A-b
2/39R-b
3/39R-b
4/39R-b
5/39R-b
6/39R-b
7/39
8/39R-b
9/39R-b
10/39R-b
11/39R-b
12/39
13/39R-b
14/39
15/39R-b
16/39A-b R-b
17/39
18/39R-b
19/39R-b
20/39R-b
21/39
22/39
23/39R-b
24/39R-b
25/39R-b
26/39R-b
27/39
28/39R-b
29/39R-b
30/39R-b
31/39R-b
32/39R-b
33/39R-b
34/39R-b
35/39A-b R-b
36/39R-b
37/39R-b
38/39R-b
39/39R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread