stable.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: stable@vger.kernel.org
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	patches@lists.linux.dev, Christoph Hellwig <hch@lst.de>,
	Linus Torvalds <torvalds@linux-foundation.org>,
	Sasha Levin <sashal@kernel.org>
Subject: [PATCH 5.4 158/215] fs: add a vfs_fchown helper
Date: Thu, 11 Apr 2024 11:56:07 +0200	[thread overview]
Message-ID: <20240411095429.628265135@linuxfoundation.org> (raw)
In-Reply-To: <20240411095424.875421572@linuxfoundation.org>

5.4-stable review patch.  If anyone has any objections, please let me know.

------------------

From: Christoph Hellwig <hch@lst.de>

[ Upstream commit c04011fe8cbd80af1be6e12b53193bf3846750d7 ]

Add a helper for struct file based chown operations.  To be used by
the initramfs code soon.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Linus Torvalds <torvalds@linux-foundation.org>
Stable-dep-of: 4624b346cf67 ("init: open /initrd.image with O_LARGEFILE")
Signed-off-by: Sasha Levin <sashal@kernel.org>
---
 fs/open.c          | 29 +++++++++++++++++------------
 include/linux/fs.h |  2 ++
 2 files changed, 19 insertions(+), 12 deletions(-)

diff --git a/fs/open.c b/fs/open.c
index dcbd016112375..9213c15d8a8d6 100644
--- a/fs/open.c
+++ b/fs/open.c
@@ -708,23 +708,28 @@ SYSCALL_DEFINE3(lchown, const char __user *, filename, uid_t, user, gid_t, group
 			   AT_SYMLINK_NOFOLLOW);
 }
 
+int vfs_fchown(struct file *file, uid_t user, gid_t group)
+{
+	int error;
+
+	error = mnt_want_write_file(file);
+	if (error)
+		return error;
+	audit_file(file);
+	error = chown_common(&file->f_path, user, group);
+	mnt_drop_write_file(file);
+	return error;
+}
+
 int ksys_fchown(unsigned int fd, uid_t user, gid_t group)
 {
 	struct fd f = fdget(fd);
 	int error = -EBADF;
 
-	if (!f.file)
-		goto out;
-
-	error = mnt_want_write_file(f.file);
-	if (error)
-		goto out_fput;
-	audit_file(f.file);
-	error = chown_common(&f.file->f_path, user, group);
-	mnt_drop_write_file(f.file);
-out_fput:
-	fdput(f);
-out:
+	if (f.file) {
+		error = vfs_fchown(f.file, user, group);
+		fdput(f);
+	}
 	return error;
 }
 
diff --git a/include/linux/fs.h b/include/linux/fs.h
index 272f261894b17..03de5c7134564 100644
--- a/include/linux/fs.h
+++ b/include/linux/fs.h
@@ -1730,6 +1730,8 @@ int vfs_mkobj(struct dentry *, umode_t,
 		int (*f)(struct dentry *, umode_t, void *),
 		void *);
 
+int vfs_fchown(struct file *file, uid_t user, gid_t group);
+
 extern long vfs_ioctl(struct file *file, unsigned int cmd, unsigned long arg);
 
 #ifdef CONFIG_COMPAT
-- 
2.43.0




  parent reply	other threads:[~2024-04-11 10:21 UTC|newest]

Thread overview: 229+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-11  9:53 [PATCH 5.4 000/215] 5.4.274-rc1 review Greg Kroah-Hartman
2024-04-11  9:53 ` [PATCH 5.4 001/215] Documentation/hw-vuln: Update spectre doc Greg Kroah-Hartman
2024-04-11  9:53 ` [PATCH 5.4 002/215] x86/cpu: Support AMD Automatic IBRS Greg Kroah-Hartman
2024-04-11  9:53 ` [PATCH 5.4 003/215] x86/bugs: Use sysfs_emit() Greg Kroah-Hartman
2024-04-11  9:53 ` [PATCH 5.4 004/215] timers: Update kernel-doc for various functions Greg Kroah-Hartman
2024-04-11  9:53 ` [PATCH 5.4 005/215] timers: Use del_timer_sync() even on UP Greg Kroah-Hartman
2024-04-11  9:53 ` [PATCH 5.4 006/215] timers: Rename del_timer_sync() to timer_delete_sync() Greg Kroah-Hartman
2024-04-11  9:53 ` [PATCH 5.4 007/215] wifi: brcmfmac: Fix use-after-free bug in brcmf_cfg80211_detach Greg Kroah-Hartman
2024-04-11  9:53 ` [PATCH 5.4 008/215] media: staging: ipu3-imgu: Set fields before media_entity_pads_init() Greg Kroah-Hartman
2024-04-11  9:53 ` [PATCH 5.4 009/215] clk: qcom: gcc-sdm845: Add soft dependency on rpmhpd Greg Kroah-Hartman
2024-04-11  9:53 ` [PATCH 5.4 010/215] smack: Set SMACK64TRANSMUTE only for dirs in smack_inode_setxattr() Greg Kroah-Hartman
2024-04-11  9:53 ` [PATCH 5.4 011/215] smack: Handle SMACK64TRANSMUTE in smack_inode_setsecurity() Greg Kroah-Hartman
2024-04-11  9:53 ` [PATCH 5.4 012/215] ARM: dts: mmp2-brownstone: Dont redeclare phandle references Greg Kroah-Hartman
2024-04-11  9:53 ` [PATCH 5.4 013/215] arm: dts: marvell: Fix maxium->maxim typo in brownstone dts Greg Kroah-Hartman
2024-04-11  9:53 ` [PATCH 5.4 014/215] serial: max310x: fix NULL pointer dereference in I2C instantiation Greg Kroah-Hartman
2024-04-11  9:53 ` [PATCH 5.4 015/215] media: xc4000: Fix atomicity violation in xc4000_get_frequency Greg Kroah-Hartman
2024-04-11  9:53 ` [PATCH 5.4 016/215] KVM: Always flush async #PF workqueue when vCPU is being destroyed Greg Kroah-Hartman
2024-04-11  9:53 ` [PATCH 5.4 017/215] sparc64: NMI watchdog: fix return value of __setup handler Greg Kroah-Hartman
2024-04-11  9:53 ` [PATCH 5.4 018/215] sparc: vDSO: " Greg Kroah-Hartman
2024-04-11  9:53 ` [PATCH 5.4 019/215] crypto: qat - fix double free during reset Greg Kroah-Hartman
2024-04-11  9:53 ` [PATCH 5.4 020/215] crypto: qat - resolve race condition during AER recovery Greg Kroah-Hartman
2024-04-11  9:53 ` [PATCH 5.4 021/215] selftests/mqueue: Set timeout to 180 seconds Greg Kroah-Hartman
2024-04-11  9:53 ` [PATCH 5.4 022/215] ext4: correct best extent lstart adjustment logic Greg Kroah-Hartman
2024-04-11  9:53 ` [PATCH 5.4 023/215] fat: fix uninitialized field in nostale filehandles Greg Kroah-Hartman
2024-04-11  9:53 ` [PATCH 5.4 024/215] ubifs: Set page uptodate in the correct place Greg Kroah-Hartman
2024-04-11  9:53 ` [PATCH 5.4 025/215] ubi: Check for too small LEB size in VTBL code Greg Kroah-Hartman
2024-04-11  9:53 ` [PATCH 5.4 026/215] ubi: correct the calculation of fastmap size Greg Kroah-Hartman
2024-04-11  9:53 ` [PATCH 5.4 027/215] mtd: rawnand: meson: fix scrambling mode value in command macro Greg Kroah-Hartman
2024-04-11  9:53 ` [PATCH 5.4 028/215] parisc: Do not hardcode registers in checksum functions Greg Kroah-Hartman
2024-04-11  9:53 ` [PATCH 5.4 029/215] parisc: Fix ip_fast_csum Greg Kroah-Hartman
2024-04-11  9:53 ` [PATCH 5.4 030/215] parisc: Fix csum_ipv6_magic on 32-bit systems Greg Kroah-Hartman
2024-04-11  9:54 ` [PATCH 5.4 031/215] parisc: Fix csum_ipv6_magic on 64-bit systems Greg Kroah-Hartman
2024-04-11  9:54 ` [PATCH 5.4 032/215] parisc: Strip upper 32 bit of sum in csum_ipv6_magic for 64-bit builds Greg Kroah-Hartman
2024-04-11  9:54 ` [PATCH 5.4 033/215] PM: suspend: Set mem_sleep_current during kernel command line setup Greg Kroah-Hartman
2024-04-11  9:54 ` [PATCH 5.4 034/215] clk: qcom: gcc-ipq8074: fix terminating of frequency table arrays Greg Kroah-Hartman
2024-04-11  9:54 ` [PATCH 5.4 035/215] clk: qcom: mmcc-apq8084: " Greg Kroah-Hartman
2024-04-11  9:54 ` [PATCH 5.4 036/215] clk: qcom: mmcc-msm8974: " Greg Kroah-Hartman
2024-04-11  9:54 ` [PATCH 5.4 037/215] powerpc/fsl: Fix mfpmr build errors with newer binutils Greg Kroah-Hartman
2024-04-11  9:54 ` [PATCH 5.4 038/215] USB: serial: ftdi_sio: add support for GMC Z216C Adapter IR-USB Greg Kroah-Hartman
2024-04-11  9:54 ` [PATCH 5.4 039/215] USB: serial: add device ID for VeriFone adapter Greg Kroah-Hartman
2024-04-11  9:54 ` [PATCH 5.4 040/215] USB: serial: cp210x: add ID for MGP Instruments PDS100 Greg Kroah-Hartman
2024-04-11  9:54 ` [PATCH 5.4 041/215] USB: serial: option: add MeiG Smart SLM320 product Greg Kroah-Hartman
2024-04-11  9:54 ` [PATCH 5.4 042/215] USB: serial: cp210x: add pid/vid for TDK NC0110013M and MM0110113M Greg Kroah-Hartman
2024-04-11  9:54 ` [PATCH 5.4 043/215] PM: sleep: wakeirq: fix wake irq warning in system suspend Greg Kroah-Hartman
2024-04-11  9:54 ` [PATCH 5.4 044/215] mmc: tmio: avoid concurrent runs of mmc_request_done() Greg Kroah-Hartman
2024-04-11  9:54 ` [PATCH 5.4 045/215] fuse: store fuse_conn in fuse_req Greg Kroah-Hartman
2024-04-11 10:38   ` Miklos Szeredi
2024-04-11 15:10     ` Greg Kroah-Hartman
2024-04-11  9:54 ` [PATCH 5.4 046/215] fuse: drop fuse_conn parameter where possible Greg Kroah-Hartman
2024-04-11  9:54 ` [PATCH 5.4 047/215] fuse: dont unhash root Greg Kroah-Hartman
2024-04-11  9:54 ` [PATCH 5.4 048/215] btrfs: fix off-by-one chunk length calculation at contains_pending_extent() Greg Kroah-Hartman
2024-04-11  9:54 ` [PATCH 5.4 049/215] PCI: Drop pci_device_remove() test of pci_dev->driver Greg Kroah-Hartman
2024-04-11  9:54 ` [PATCH 5.4 050/215] PCI/PM: Drain runtime-idle callbacks before driver removal Greg Kroah-Hartman
2024-04-11  9:54 ` [PATCH 5.4 051/215] Revert "Revert "md/raid5: Wait for MD_SB_CHANGE_PENDING in raid5d"" Greg Kroah-Hartman
2024-04-11  9:54 ` [PATCH 5.4 052/215] dm-raid: fix lockdep waring in "pers->hot_add_disk" Greg Kroah-Hartman
2024-04-11  9:54 ` [PATCH 5.4 053/215] mmc: core: Fix switch on gp3 partition Greg Kroah-Hartman
2024-04-11  9:54 ` [PATCH 5.4 054/215] hwmon: (amc6821) add of_match table Greg Kroah-Hartman
2024-04-11  9:54 ` [PATCH 5.4 055/215] ext4: fix corruption during on-line resize Greg Kroah-Hartman
2024-04-11  9:54 ` [PATCH 5.4 056/215] firmware: meson_sm: Rework driver as a proper platform driver Greg Kroah-Hartman
2024-04-11  9:54 ` [PATCH 5.4 057/215] nvmem: meson-efuse: fix function pointer type mismatch Greg Kroah-Hartman
2024-04-11  9:54 ` [PATCH 5.4 058/215] slimbus: core: Remove usage of the deprecated ida_simple_xx() API Greg Kroah-Hartman
2024-04-11  9:54 ` [PATCH 5.4 059/215] speakup: Fix 8bit characters from direct synth Greg Kroah-Hartman
2024-04-11  9:54 ` [PATCH 5.4 060/215] kbuild: Move -Wenum-{compare-conditional,enum-conversion} into W=1 Greg Kroah-Hartman
2024-04-11  9:54 ` [PATCH 5.4 061/215] vfio/platform: Disable virqfds on cleanup Greg Kroah-Hartman
2024-04-11  9:54 ` [PATCH 5.4 062/215] ring-buffer: Fix resetting of shortest_full Greg Kroah-Hartman
2024-04-11  9:54 ` [PATCH 5.4 063/215] ring-buffer: Fix full_waiters_pending in poll Greg Kroah-Hartman
2024-04-11  9:54 ` [PATCH 5.4 064/215] soc: fsl: qbman: Always disable interrupts when taking cgr_lock Greg Kroah-Hartman
2024-04-11  9:54 ` [PATCH 5.4 065/215] soc: fsl: qbman: Add helper for sanity checking cgr ops Greg Kroah-Hartman
2024-04-11  9:54 ` [PATCH 5.4 066/215] soc: fsl: qbman: Add CGR update function Greg Kroah-Hartman
2024-04-11  9:54 ` [PATCH 5.4 067/215] soc: fsl: qbman: Use raw spinlock for cgr_lock Greg Kroah-Hartman
2024-04-11  9:54 ` [PATCH 5.4 068/215] s390/zcrypt: fix reference counting on zcrypt card objects Greg Kroah-Hartman
2024-04-11  9:54 ` [PATCH 5.4 069/215] drm/exynos: do not return negative values from .get_modes() Greg Kroah-Hartman
2024-04-11  9:54 ` [PATCH 5.4 070/215] drm/imx/ipuv3: " Greg Kroah-Hartman
2024-04-11  9:54 ` [PATCH 5.4 071/215] drm/vc4: hdmi: " Greg Kroah-Hartman
2024-04-11  9:54 ` [PATCH 5.4 072/215] memtest: use {READ,WRITE}_ONCE in memory scanning Greg Kroah-Hartman
2024-04-11  9:54 ` [PATCH 5.4 073/215] nilfs2: fix failure to detect DAT corruption in btree and direct mappings Greg Kroah-Hartman
2024-04-11  9:54 ` [PATCH 5.4 074/215] nilfs2: use a more common logging style Greg Kroah-Hartman
2024-04-11  9:54 ` [PATCH 5.4 075/215] nilfs2: prevent kernel bug at submit_bh_wbc() Greg Kroah-Hartman
2024-04-11  9:54 ` [PATCH 5.4 076/215] x86/CPU/AMD: Update the Zenbleed microcode revisions Greg Kroah-Hartman
2024-04-11  9:54 ` [PATCH 5.4 077/215] ahci: asm1064: correct count of reported ports Greg Kroah-Hartman
2024-04-11  9:54 ` [PATCH 5.4 078/215] ahci: asm1064: asm1166: dont limit " Greg Kroah-Hartman
2024-04-11  9:54 ` [PATCH 5.4 079/215] dm snapshot: fix lockup in dm_exception_table_exit Greg Kroah-Hartman
2024-04-11  9:54 ` [PATCH 5.4 080/215] comedi: comedi_test: Prevent timers rescheduling during deletion Greg Kroah-Hartman
2024-04-11  9:54 ` [PATCH 5.4 081/215] netfilter: nf_tables: mark set as dead when unbinding anonymous set with timeout Greg Kroah-Hartman
2024-04-11  9:54 ` [PATCH 5.4 082/215] netfilter: nf_tables: disallow anonymous set with timeout flag Greg Kroah-Hartman
2024-04-11  9:54 ` [PATCH 5.4 083/215] netfilter: nf_tables: reject constant set with timeout Greg Kroah-Hartman
2024-04-11  9:54 ` [PATCH 5.4 084/215] xfrm: Avoid clang fortify warning in copy_to_user_tmpl() Greg Kroah-Hartman
2024-04-11  9:54 ` [PATCH 5.4 085/215] ALSA: hda/realtek - Fix headset Mic no show at resume back for Lenovo ALC897 platform Greg Kroah-Hartman
2024-04-11  9:54 ` [PATCH 5.4 086/215] USB: usb-storage: Prevent divide-by-0 error in isd200_ata_command Greg Kroah-Hartman
2024-04-11  9:54 ` [PATCH 5.4 087/215] usb: gadget: ncm: Fix handling of zero block length packets Greg Kroah-Hartman
2024-04-11  9:54 ` [PATCH 5.4 088/215] usb: port: Dont try to peer unused USB ports based on location Greg Kroah-Hartman
2024-04-11  9:54 ` [PATCH 5.4 089/215] tty: serial: fsl_lpuart: avoid idle preamble pending if CTS is enabled Greg Kroah-Hartman
2024-04-11  9:54 ` [PATCH 5.4 090/215] vt: fix unicode buffer corruption when deleting characters Greg Kroah-Hartman
2024-04-11  9:55 ` [PATCH 5.4 091/215] fs/aio: Check IOCB_AIO_RW before the struct aio_kiocb conversion Greg Kroah-Hartman
2024-04-11  9:55 ` [PATCH 5.4 092/215] objtool: is_fentry_call() crashes if call has no destination Greg Kroah-Hartman
2024-04-11  9:55 ` [PATCH 5.4 093/215] objtool: Add support for intra-function calls Greg Kroah-Hartman
2024-04-11  9:55 ` [PATCH 5.4 094/215] x86/speculation: Support intra-function call validation Greg Kroah-Hartman
2024-04-11  9:55 ` [PATCH 5.4 095/215] xen/events: close evtchn after mapping cleanup Greg Kroah-Hartman
2024-04-11  9:55 ` [PATCH 5.4 096/215] printk: Update @console_may_schedule in console_trylock_spinning() Greg Kroah-Hartman
2024-04-11  9:55 ` [PATCH 5.4 097/215] btrfs: allocate btrfs_ioctl_defrag_range_args on stack Greg Kroah-Hartman
2024-04-11  9:55 ` [PATCH 5.4 098/215] Revert "loop: Check for overflow while configuring loop" Greg Kroah-Hartman
2024-04-11  9:55 ` [PATCH 5.4 099/215] loop: Call loop_config_discard() only after new config is applied Greg Kroah-Hartman
2024-04-11  9:55 ` [PATCH 5.4 100/215] loop: Remove sector_t truncation checks Greg Kroah-Hartman
2024-04-11  9:55 ` [PATCH 5.4 101/215] loop: Factor out setting loop device size Greg Kroah-Hartman
2024-04-11  9:55 ` [PATCH 5.4 102/215] loop: Refactor loop_set_status() size calculation Greg Kroah-Hartman
2024-04-11  9:55 ` [PATCH 5.4 103/215] loop: Factor out configuring loop from status Greg Kroah-Hartman
2024-04-11  9:55 ` [PATCH 5.4 104/215] loop: Check for overflow while configuring loop Greg Kroah-Hartman
2024-04-11  9:55 ` [PATCH 5.4 105/215] loop: loop_set_status_from_info() check before assignment Greg Kroah-Hartman
2024-04-11  9:55 ` [PATCH 5.4 106/215] perf/core: Fix reentry problem in perf_output_read_group() Greg Kroah-Hartman
2024-04-11  9:55 ` [PATCH 5.4 107/215] efivarfs: Request at most 512 bytes for variable names Greg Kroah-Hartman
2024-04-11  9:55 ` [PATCH 5.4 108/215] powerpc: xor_vmx: Add -mhard-float to CFLAGS Greg Kroah-Hartman
2024-04-11  9:55 ` [PATCH 5.4 109/215] bounds: support non-power-of-two CONFIG_NR_CPUS Greg Kroah-Hartman
2024-04-11  9:55 ` [PATCH 5.4 110/215] vt: fix memory overlapping when deleting chars in the buffer Greg Kroah-Hartman
2024-04-11  9:55 ` [PATCH 5.4 111/215] mm/memory-failure: fix an incorrect use of tail pages Greg Kroah-Hartman
2024-04-11  9:55 ` [PATCH 5.4 112/215] mm/migrate: set swap entry values of THP tail pages properly Greg Kroah-Hartman
2024-04-11  9:55 ` [PATCH 5.4 113/215] wifi: mac80211: check/clear fast rx for non-4addr sta VLAN changes Greg Kroah-Hartman
2024-04-11  9:55 ` [PATCH 5.4 114/215] exec: Fix NOMMU linux_binprm::exec in transfer_args_to_stack() Greg Kroah-Hartman
2024-04-11  9:55 ` [PATCH 5.4 115/215] mmc: core: Initialize mmc_blk_ioc_data Greg Kroah-Hartman
2024-04-11  9:55 ` [PATCH 5.4 116/215] mmc: core: Avoid negative index with array access Greg Kroah-Hartman
2024-04-11  9:55 ` [PATCH 5.4 117/215] usb: cdc-wdm: close race between read and workqueue Greg Kroah-Hartman
2024-04-11  9:55 ` [PATCH 5.4 118/215] ALSA: sh: aica: reorder cleanup operations to avoid UAF bugs Greg Kroah-Hartman
2024-04-11  9:55 ` [PATCH 5.4 119/215] scsi: core: Fix unremoved procfs host directory regression Greg Kroah-Hartman
2024-04-11  9:55 ` [PATCH 5.4 120/215] usb: dwc2: host: Fix remote wakeup from hibernation Greg Kroah-Hartman
2024-04-11  9:55 ` [PATCH 5.4 121/215] usb: dwc2: host: Fix hibernation flow Greg Kroah-Hartman
2024-04-11  9:55 ` [PATCH 5.4 122/215] usb: dwc2: host: Fix ISOC flow in DDMA mode Greg Kroah-Hartman
2024-04-11  9:55 ` [PATCH 5.4 123/215] usb: dwc2: gadget: LPM flow fix Greg Kroah-Hartman
2024-04-11  9:55 ` [PATCH 5.4 124/215] usb: udc: remove warning when queue disabled ep Greg Kroah-Hartman
2024-04-11  9:55 ` [PATCH 5.4 125/215] scsi: qla2xxx: Fix command flush on cable pull Greg Kroah-Hartman
2024-04-11  9:55 ` [PATCH 5.4 126/215] x86/cpu: Enable STIBP on AMD if Automatic IBRS is enabled Greg Kroah-Hartman
2024-04-11  9:55 ` [PATCH 5.4 127/215] scsi: lpfc: Correct size for wqe for memset() Greg Kroah-Hartman
2024-04-11  9:55 ` [PATCH 5.4 128/215] USB: core: Fix deadlock in usb_deauthorize_interface() Greg Kroah-Hartman
2024-04-11  9:55 ` [PATCH 5.4 129/215] nfc: nci: Fix uninit-value in nci_dev_up and nci_ntf_packet Greg Kroah-Hartman
2024-04-11  9:55 ` [PATCH 5.4 130/215] ixgbe: avoid sleeping allocation in ixgbe_ipsec_vf_add_sa() Greg Kroah-Hartman
2024-04-11  9:55 ` [PATCH 5.4 131/215] tcp: properly terminate timers for kernel sockets Greg Kroah-Hartman
2024-04-11  9:55 ` [PATCH 5.4 132/215] dm integrity: fix out-of-range warning Greg Kroah-Hartman
2024-04-11  9:55 ` [PATCH 5.4 133/215] r8169: fix issue caused by buggy BIOS on certain boards with RTL8168d Greg Kroah-Hartman
2024-04-11  9:55 ` [PATCH 5.4 134/215] x86/cpufeatures: Add new word for scattered features Greg Kroah-Hartman
2024-04-11  9:55 ` [PATCH 5.4 135/215] Bluetooth: hci_event: set the conn encrypted before conn establishes Greg Kroah-Hartman
2024-04-11  9:55 ` [PATCH 5.4 136/215] Bluetooth: Fix TOCTOU in HCI debugfs implementation Greg Kroah-Hartman
2024-04-11  9:55 ` [PATCH 5.4 137/215] netfilter: nf_tables: disallow timeout for anonymous sets Greg Kroah-Hartman
2024-04-11  9:55 ` [PATCH 5.4 138/215] net/rds: fix possible cp null dereference Greg Kroah-Hartman
2024-04-11  9:55 ` [PATCH 5.4 139/215] vfio/pci: Disable auto-enable of exclusive INTx IRQ Greg Kroah-Hartman
2024-04-11  9:55 ` [PATCH 5.4 140/215] vfio/pci: Lock external INTx masking ops Greg Kroah-Hartman
2024-04-11  9:55 ` [PATCH 5.4 141/215] vfio: Introduce interface to flush virqfd inject workqueue Greg Kroah-Hartman
2024-04-11  9:55 ` [PATCH 5.4 142/215] vfio/pci: Create persistent INTx handler Greg Kroah-Hartman
2024-04-11  9:55 ` [PATCH 5.4 143/215] vfio/platform: Create persistent IRQ handlers Greg Kroah-Hartman
2024-04-11  9:55 ` [PATCH 5.4 144/215] Revert "x86/mm/ident_map: Use gbpages only where full GB page should be mapped." Greg Kroah-Hartman
2024-04-11  9:55 ` [PATCH 5.4 145/215] mm, vmscan: prevent infinite loop for costly GFP_NOIO | __GFP_RETRY_MAYFAIL allocations Greg Kroah-Hartman
2024-04-11  9:55 ` [PATCH 5.4 146/215] netfilter: nf_tables: flush pending destroy work before exit_net release Greg Kroah-Hartman
2024-04-11  9:55 ` [PATCH 5.4 147/215] netfilter: nf_tables: Fix potential data-race in __nft_flowtable_type_get() Greg Kroah-Hartman
2024-04-11  9:55 ` [PATCH 5.4 148/215] bpf, sockmap: Prevent lock inversion deadlock in map delete elem Greg Kroah-Hartman
2024-04-11  9:55 ` [PATCH 5.4 149/215] net/sched: act_skbmod: prevent kernel-infoleak Greg Kroah-Hartman
2024-04-11  9:55 ` [PATCH 5.4 150/215] net: stmmac: fix rx queue priority assignment Greg Kroah-Hartman
2024-04-11  9:56 ` [PATCH 5.4 151/215] selftests: reuseaddr_conflict: add missing new line at the end of the output Greg Kroah-Hartman
2024-04-11  9:56 ` [PATCH 5.4 152/215] ipv6: Fix infinite recursion in fib6_dump_done() Greg Kroah-Hartman
2024-04-11  9:56 ` [PATCH 5.4 153/215] i40e: fix vf may be used uninitialized in this function warning Greg Kroah-Hartman
2024-04-11  9:56 ` [PATCH 5.4 154/215] staging: mmal-vchiq: Allocate and free components as required Greg Kroah-Hartman
2024-04-11  9:56 ` [PATCH 5.4 155/215] staging: mmal-vchiq: Fix client_component for 64 bit kernel Greg Kroah-Hartman
2024-04-11  9:56 ` [PATCH 5.4 156/215] staging: vc04_services: changen strncpy() to strscpy_pad() Greg Kroah-Hartman
2024-04-11  9:56 ` [PATCH 5.4 157/215] staging: vc04_services: fix information leak in create_component() Greg Kroah-Hartman
2024-04-11  9:56 ` Greg Kroah-Hartman [this message]
2024-04-11  9:56 ` [PATCH 5.4 159/215] fs: add a vfs_fchmod helper Greg Kroah-Hartman
2024-04-11  9:56 ` [PATCH 5.4 160/215] initramfs: switch initramfs unpacking to struct file based APIs Greg Kroah-Hartman
2024-04-11  9:56 ` [PATCH 5.4 161/215] init: open /initrd.image with O_LARGEFILE Greg Kroah-Hartman
2024-04-11  9:56 ` [PATCH 5.4 162/215] erspan: Add type I version 0 support Greg Kroah-Hartman
2024-04-11  9:56 ` [PATCH 5.4 163/215] erspan: make sure erspan_base_hdr is present in skb->head Greg Kroah-Hartman
2024-04-11  9:56 ` [PATCH 5.4 164/215] net: ravb: Always process TX descriptor ring Greg Kroah-Hartman
2024-04-11  9:56 ` [PATCH 5.4 165/215] ASoC: ops: Fix wraparound for mask in snd_soc_get_volsw Greg Kroah-Hartman
2024-04-11  9:56 ` [PATCH 5.4 166/215] ata: sata_sx4: fix pdc20621_get_from_dimm() on 64-bit Greg Kroah-Hartman
2024-04-11  9:56 ` [PATCH 5.4 167/215] scsi: mylex: Fix sysfs buffer lengths Greg Kroah-Hartman
2024-04-11  9:56 ` [PATCH 5.4 168/215] ata: sata_mv: Fix PCI device ID table declaration compilation warning Greg Kroah-Hartman
2024-04-11  9:56 ` [PATCH 5.4 169/215] ALSA: hda/realtek: Update Panasonic CF-SZ6 quirk to support headset with microphone Greg Kroah-Hartman
2024-04-11  9:56 ` [PATCH 5.4 170/215] x86/mce: Make sure to grab mce_sysfs_mutex in set_bank() Greg Kroah-Hartman
2024-04-11  9:56 ` [PATCH 5.4 171/215] s390/entry: align system call table on 8 bytes Greg Kroah-Hartman
2024-04-11  9:56 ` [PATCH 5.4 172/215] wifi: ath9k: fix LNA selection in ath_ant_try_scan() Greg Kroah-Hartman
2024-04-11  9:56 ` [PATCH 5.4 173/215] batman-adv: Return directly after a failed batadv_dat_select_candidates() in batadv_dat_forward_data() Greg Kroah-Hartman
2024-04-11  9:56 ` [PATCH 5.4 174/215] batman-adv: Improve exception handling in batadv_throw_uevent() Greg Kroah-Hartman
2024-04-11  9:56 ` [PATCH 5.4 175/215] VMCI: Fix memcpy() run-time warning in dg_dispatch_as_host() Greg Kroah-Hartman
2024-04-11  9:56 ` [PATCH 5.4 176/215] panic: Flush kernel log buffer at the end Greg Kroah-Hartman
2024-04-11  9:56 ` [PATCH 5.4 177/215] arm64: dts: rockchip: fix rk3328 hdmi ports node Greg Kroah-Hartman
2024-04-11  9:56 ` [PATCH 5.4 178/215] arm64: dts: rockchip: fix rk3399 " Greg Kroah-Hartman
2024-04-11  9:56 ` [PATCH 5.4 179/215] ionic: set adminq irq affinity Greg Kroah-Hartman
2024-04-11  9:56 ` [PATCH 5.4 180/215] tools/power x86_energy_perf_policy: Fix file leak in get_pkg_num() Greg Kroah-Hartman
2024-04-11  9:56 ` [PATCH 5.4 181/215] btrfs: handle chunk tree lookup error in btrfs_relocate_sys_chunks() Greg Kroah-Hartman
2024-04-11  9:56 ` [PATCH 5.4 182/215] btrfs: export: handle invalid inode or root reference in btrfs_get_parent() Greg Kroah-Hartman
2024-04-11  9:56 ` [PATCH 5.4 183/215] btrfs: send: handle path ref underflow in header iterate_inode_ref() Greg Kroah-Hartman
2024-04-11  9:56 ` [PATCH 5.4 184/215] Bluetooth: btintel: Fix null ptr deref in btintel_read_version Greg Kroah-Hartman
2024-04-11  9:56 ` [PATCH 5.4 185/215] Input: synaptics-rmi4 - fail probing if memory allocation for "phys" fails Greg Kroah-Hartman
2024-04-11  9:56 ` [PATCH 5.4 186/215] sysv: dont call sb_bread() with pointers_lock held Greg Kroah-Hartman
2024-04-11  9:56 ` [PATCH 5.4 187/215] scsi: lpfc: Fix possible memory leak in lpfc_rcv_padisc() Greg Kroah-Hartman
2024-04-11  9:56 ` [PATCH 5.4 188/215] isofs: handle CDs with bad root inode but good Joliet root directory Greg Kroah-Hartman
2024-04-11  9:56 ` [PATCH 5.4 189/215] media: sta2x11: fix irq handler cast Greg Kroah-Hartman
2024-04-11  9:56 ` [PATCH 5.4 190/215] drm/amd/display: Fix nanosec stat overflow Greg Kroah-Hartman
2024-04-11  9:56 ` [PATCH 5.4 191/215] SUNRPC: increase size of rpc_wait_queue.qlen from unsigned short to unsigned int Greg Kroah-Hartman
2024-04-11  9:56 ` [PATCH 5.4 192/215] Revert "ACPI: PM: Block ASUS B1400CEAE from suspend to idle by default" Greg Kroah-Hartman
2024-04-11  9:56 ` [PATCH 5.4 193/215] block: prevent division by zero in blk_rq_stat_sum() Greg Kroah-Hartman
2024-04-11  9:56 ` [PATCH 5.4 194/215] Input: allocate keycode for Display refresh rate toggle Greg Kroah-Hartman
2024-04-11  9:56 ` [PATCH 5.4 195/215] ktest: force $buildonly = 1 for make_warnings_file test type Greg Kroah-Hartman
2024-04-11  9:56 ` [PATCH 5.4 196/215] tools: iio: replace seekdir() in iio_generic_buffer Greg Kroah-Hartman
2024-04-11  9:56 ` [PATCH 5.4 197/215] usb: typec: tcpci: add generic tcpci fallback compatible Greg Kroah-Hartman
2024-04-11  9:56 ` [PATCH 5.4 198/215] usb: sl811-hcd: only defined function checkdone if QUIRK2 is defined Greg Kroah-Hartman
2024-04-11  9:56 ` [PATCH 5.4 199/215] fbdev: viafb: fix typo in hw_bitblt_1 and hw_bitblt_2 Greg Kroah-Hartman
2024-04-11  9:56 ` [PATCH 5.4 200/215] fbmon: prevent division by zero in fb_videomode_from_videomode() Greg Kroah-Hartman
2024-04-11  9:56 ` [PATCH 5.4 201/215] netfilter: nf_tables: reject new basechain after table flag update Greg Kroah-Hartman
2024-04-11  9:56 ` [PATCH 5.4 202/215] netfilter: nf_tables: release batch on table validation from abort path Greg Kroah-Hartman
2024-04-11  9:56 ` [PATCH 5.4 203/215] netfilter: nf_tables: release mutex after nft_gc_seq_end " Greg Kroah-Hartman
2024-04-11  9:56 ` [PATCH 5.4 204/215] netfilter: nf_tables: discard table flag update with pending basechain deletion Greg Kroah-Hartman
2024-04-11  9:56 ` [PATCH 5.4 205/215] tty: n_gsm: require CAP_NET_ADMIN to attach N_GSM0710 ldisc Greg Kroah-Hartman
2024-04-11  9:56 ` [PATCH 5.4 206/215] drm/vkms: call drm_atomic_helper_shutdown before drm_dev_put() Greg Kroah-Hartman
2024-04-11  9:56 ` [PATCH 5.4 207/215] virtio: reenable config if freezing device failed Greg Kroah-Hartman
2024-04-11  9:56 ` [PATCH 5.4 208/215] x86/mm/pat: fix VM_PAT handling in COW mappings Greg Kroah-Hartman
2024-04-11  9:56 ` [PATCH 5.4 209/215] drm/i915/gt: Reset queue_priority_hint on parking Greg Kroah-Hartman
2024-04-11  9:56 ` [PATCH 5.4 210/215] x86/alternative: Dont call text_poke() in lazy TLB mode Greg Kroah-Hartman
2024-04-11  9:57 ` [PATCH 5.4 211/215] Bluetooth: btintel: Fixe build regression Greg Kroah-Hartman
2024-04-11  9:57 ` [PATCH 5.4 212/215] VMCI: Fix possible memcpy() run-time warning in vmci_datagram_invoke_guest_handler() Greg Kroah-Hartman
2024-04-11  9:57 ` [PATCH 5.4 213/215] erspan: Check IFLA_GRE_ERSPAN_VER is set Greg Kroah-Hartman
2024-04-11  9:57 ` [PATCH 5.4 214/215] ip_gre: do not report erspan version on GRE interface Greg Kroah-Hartman
2024-04-11  9:57 ` [PATCH 5.4 215/215] firmware: meson_sm: fix to avoid potential NULL pointer dereference Greg Kroah-Hartman
2024-04-11 18:09 ` [PATCH 5.4 000/215] 5.4.274-rc1 review Florian Fainelli
2024-04-11 23:51 ` Shuah Khan
2024-04-12  6:43 ` Shreeya Patel
2024-04-12  8:03 ` Jon Hunter
2024-04-12 10:10 ` Harshit Mogalapalli
2024-04-12 10:55 ` Naresh Kamboju
2024-04-18 19:25 ` Guenter Roeck
2024-04-18 19:38   ` Guenter Roeck
2024-04-19 10:41     ` Greg Kroah-Hartman
2024-04-19 12:36       ` Guenter Roeck
2024-04-23 13:13         ` Greg Kroah-Hartman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240411095429.628265135@linuxfoundation.org \
    --to=gregkh@linuxfoundation.org \
    --cc=hch@lst.de \
    --cc=patches@lists.linux.dev \
    --cc=sashal@kernel.org \
    --cc=stable@vger.kernel.org \
    --cc=torvalds@linux-foundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).