7.1.6-rc1 review
Subsystems (4)
Greg Kroah-Hartman
maintainerRe: [PATCH 7.1 625/744] ceph: add owner/capability checks for CEPH_IOC_SET_LAYOUT*
In reply to Ilya DryomovQuoted 59 lines · Ilya Dryomov
Quoted 45 lines · Greg Kroah-Hartman
7.1-stable review patch. If anyone has any objections, please let me know.
------------------
From: Max Kellermann <[email protected]>
commit
cee38bbf5556a8e0a232ccae41649580827d7806upstream.These permission checks were already missing in the initial impementation of these ioctls. This Ceph allows any user who owns a file descriptor to manipulate the layout of any file, even if they don't have write permissions.
It might be a good idea to guard other ioctls with permission checks as well or even disallow regular users (even if they own the file) to manipulate layout settings completely, as this may be abused to DoS the Ceph servers, but right now, I find it most urgent to have setter checks at all.
Fixes 8f4e91dee2a2 ("ceph: ioctls")Signed-off-by Max Kellermann <[email protected]>Reviewed-by Xiubo Li <[email protected]>Signed-off-by Ilya Dryomov <[email protected]>Signed-off-by Greg Kroah-Hartman <[email protected]>--- fs/ceph/ioctl.c | 6 ++++++ 1 file changed, 6 insertions(+)fs/ceph/ioctl.c +3
-0@@ -72,6 +72,9 @@ static long ceph_ioctl_set_layout(structstruct ceph_ioctl_layout nl;int err; +if (!inode_owner_or_capable (&nop_mnt_idmap, inode)) +return -EACCES ; +if (copy_from_user (&l, arg,sizeof (l)))return -EFAULT ;fs/ceph/ioctl.c static long ceph_ioctl_set_layout_policy · line 153
Quoted 9 lines
fs/ceph/ioctl.c +3
-0@@ -142,6 +145,9 @@ static long ceph_ioctl_set_layout_policyint err;struct ceph_mds_client *mdsc =ceph_sb_to_fs_client (inode->i_sb)->mdsc; +if (!inode_owner_or_capable (&nop_mnt_idmap, inode)) +return -EACCES ; +/* copy and validate */ if (copy_from_user (&l, arg,sizeof (l)))return -EFAULT ;Hi Greg,
Quoted 2 lines
There is a concern about the correctness of this patch, please drop it for now.
Ok, dropped now from all branches. If you want it back, please let us know in the future.
thanks,
greg k-h
Re: [PATCH 7.1 286/744] cifs: prevent readdir from changing file size due to stale directory metadata
In reply to Greg Kroah-HartmanQuoted 7 lines · Greg Kroah-Hartman
7.1-stable review patch. If anyone has any objections, please let me know.
------------------
From: Frank Sorenson <[email protected]>
[ Upstream commit
e8a8d54c2d508891c142a928fc7d298c4c8bd0dd]
These two allegedly fix the above:ecababf08905 ("cifs: fix time_last_write stamp placement in setattr/truncate paths") 0e3ea5445c22 ("cifs: consolidate time_last_write stamp into _cifsFileInfo_put()")
thanks,
Signature · 2 lines
js suse labs
Re: [PATCH 7.1 667/744] ptp: ptp_s390: Add missing facility check
In reply to Greg Kroah-HartmanQuoted 25 lines · Greg Kroah-Hartman
7.1-stable review patch. If anyone has any objections, please let me know.
------------------
From: Sven Schnelle <[email protected]>
commit
e78f1ac37afcb16cb6fef8a2c92591eab6558956upstream.Only register the physical clock when facility 28 is installed and PTFF QAF returns that PTFF QPT is available.
Fixes 2d7de7a3010d ("s390/time: Add PtP driver")Signed-off-by Sven Schnelle <[email protected]>Reviewed-by Heiko Carstens <[email protected]>Signed-off-by Jakub Kicinski <[email protected]>Signed-off-by Greg Kroah-Hartman <[email protected]>--- drivers/ptp/ptp_s390.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)
drivers/ptp/ptp_s390.c static __init int ptp_s390_init(void) · line 110
Quoted 4 lines
drivers/ptp/ptp_s390.c +1
-0@@ -107,6 +107,9 @@ static __init int ptp_s390_init(void)if (IS_ERR (ptp_stcke_clock))return PTR_ERR (ptp_stcke_clock); +if (!test_facility (28 ) || !ptff_query (PTFF_QPT ))
ptff_query() here needs:9de445d8296a ("s390/ptff: Export ptff_function_mask[]")
thanks,
Signature · 2 lines
js suse labs
Greg Kroah-Hartman
maintainerRe: [PATCH 7.1 667/744] ptp: ptp_s390: Add missing facility check
Quoted 23 lines · Jiri Slaby
Quoted 22 lines · Greg Kroah-Hartman
7.1-stable review patch. If anyone has any objections, please let me know.
------------------
From: Sven Schnelle <[email protected]>
commit
e78f1ac37afcb16cb6fef8a2c92591eab6558956upstream.Only register the physical clock when facility 28 is installed and PTFF QAF returns that PTFF QPT is available.
Fixes 2d7de7a3010d ("s390/time: Add PtP driver")Signed-off-by Sven Schnelle <[email protected]>Reviewed-by Heiko Carstens <[email protected]>Signed-off-by Jakub Kicinski <[email protected]>Signed-off-by Greg Kroah-Hartman <[email protected]>--- drivers/ptp/ptp_s390.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)
Quoted 9 lines
drivers/ptp/ptp_s390.c static __init int ptp_s390_init(void) · line 109
Quoted 6 lines
drivers/ptp/ptp_s390.c +1
-0@@ -107,6 +107,9 @@ static __init int ptp_s390_init(void)if (IS_ERR (ptp_stcke_clock))return PTR_ERR (ptp_stcke_clock); +if (!test_facility (28 ) || !ptff_query (PTFF_QPT ))
ptff_query()here needs:9de445d8296a("s390/ptff: Export ptff_function_mask[]")
Ah, good catch, now queued up. How did you find that thing?
greg k-h
Greg Kroah-Hartman
maintainerRe: [PATCH 7.1 286/744] cifs: prevent readdir from changing file size due to stale directory metadata
In reply to Jiri SlabyQuoted 7 lines · Jiri Slaby
Quoted 6 lines · Greg Kroah-Hartman
7.1-stable review patch. If anyone has any objections, please let me know.
------------------
From: Frank Sorenson <[email protected]>
Quoted 7 lines
Quoted 1 line
[ Upstream commit
e8a8d54c2d508891c142a928fc7d298c4c8bd0dd]These two allegedly fix the above:
ecababf08905("cifs: fixtime_last_writestamp placement in setattr/truncate paths")0e3ea5445c22("cifs: consolidatetime_last_writestamp into_cifsFileInfo_put()")
I don't scan Linus's tree (i.e. stuff before a -rc) so I missed these. Thanks for that, I'll go queue them up now.
greg k-h
Re: [PATCH 7.1 667/744] ptp: ptp_s390: Add missing facility check
In reply to Greg Kroah-HartmanQuoted 34 lines · Greg Kroah-Hartman
Quoted 23 lines · Jiri Slaby
Quoted 22 lines · Greg Kroah-Hartman
7.1-stable review patch. If anyone has any objections, please let me know.
------------------
From: Sven Schnelle <[email protected]>
commit
e78f1ac37afcb16cb6fef8a2c92591eab6558956upstream.Only register the physical clock when facility 28 is installed and PTFF QAF returns that PTFF QPT is available.
Fixes 2d7de7a3010d ("s390/time: Add PtP driver")Signed-off-by Sven Schnelle <[email protected]>Reviewed-by Heiko Carstens <[email protected]>Signed-off-by Jakub Kicinski <[email protected]>Signed-off-by Greg Kroah-Hartman <[email protected]>--- drivers/ptp/ptp_s390.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)Quoted 9 lines
drivers/ptp/ptp_s390.c static __init int ptp_s390_init(void) · line 109
Quoted 6 lines
drivers/ptp/ptp_s390.c +1
-0@@ -107,6 +107,9 @@ static __init int ptp_s390_init(void)if (IS_ERR (ptp_stcke_clock))return PTR_ERR (ptp_stcke_clock); +if (!test_facility (28 ) || !ptff_query (PTFF_QPT ))
ptff_query()here needs:9de445d8296a("s390/ptff: Export ptff_function_mask[]")
Quoted 1 line
Ah, good catch, now queued up. How did you find that thing?
It broke openSUSE kernel build. We have:
config/s390x/default:CONFIG_PTP_S390=m
thanks,
Signature · 2 lines
js suse labs
Re: [PATCH 7.1 667/744] ptp: ptp_s390: Add missing facility check
In reply to Greg Kroah-HartmanQuoted 34 lines · Greg Kroah-Hartman
Quoted 23 lines · Jiri Slaby
Quoted 22 lines · Greg Kroah-Hartman
7.1-stable review patch. If anyone has any objections, please let me know.
------------------
From: Sven Schnelle <[email protected]>
commit
e78f1ac37afcb16cb6fef8a2c92591eab6558956upstream.Only register the physical clock when facility 28 is installed and PTFF QAF returns that PTFF QPT is available.
Fixes 2d7de7a3010d ("s390/time: Add PtP driver")Signed-off-by Sven Schnelle <[email protected]>Reviewed-by Heiko Carstens <[email protected]>Signed-off-by Jakub Kicinski <[email protected]>Signed-off-by Greg Kroah-Hartman <[email protected]>--- drivers/ptp/ptp_s390.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)Quoted 9 lines
drivers/ptp/ptp_s390.c static __init int ptp_s390_init(void) · line 109
Quoted 6 lines
drivers/ptp/ptp_s390.c +1
-0@@ -107,6 +107,9 @@ static __init int ptp_s390_init(void)if (IS_ERR (ptp_stcke_clock))return PTR_ERR (ptp_stcke_clock); +if (!test_facility (28 ) || !ptff_query (PTFF_QPT ))
ptff_query()here needs:9de445d8296a("s390/ptff: Export ptff_function_mask[]")
Quoted 1 line
Ah, good catch, now queued up. How did you find that thing?
Maybe we should change the documentation. I was wondering whether I have to mark that as a dependency, looked up ./process/stable-kernel-rules.rst which says:
Note that for a patch series, you do not have to list as prerequisites the patches present in the series itself. For example, if you have the following patch series::
patch1
patch2
where patch2 depends on patch1, you do not have to list patch1 as prerequisite of patch2 if you have already marked patch1 for stable inclusion.
Which lead me to believe that I don't have to add stable@ to the the other patch, but looks like this was wrong?
Greg Kroah-Hartman
maintainerRe: [PATCH 7.1 667/744] ptp: ptp_s390: Add missing facility check
Quoted 49 lines · Sven Schnelle
Quoted 34 lines · Greg Kroah-Hartman
Quoted 23 lines · Jiri Slaby
Quoted 22 lines · Greg Kroah-Hartman
7.1-stable review patch. If anyone has any objections, please let me know.
------------------
From: Sven Schnelle <[email protected]>
commit
e78f1ac37afcb16cb6fef8a2c92591eab6558956upstream.Only register the physical clock when facility 28 is installed and PTFF QAF returns that PTFF QPT is available.
Fixes 2d7de7a3010d ("s390/time: Add PtP driver")Signed-off-by Sven Schnelle <[email protected]>Reviewed-by Heiko Carstens <[email protected]>Signed-off-by Jakub Kicinski <[email protected]>Signed-off-by Greg Kroah-Hartman <[email protected]>--- drivers/ptp/ptp_s390.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)Quoted 9 lines
drivers/ptp/ptp_s390.c static __init int ptp_s390_init(void) · line 109
Quoted 6 lines
drivers/ptp/ptp_s390.c +1
-0@@ -107,6 +107,9 @@ static __init int ptp_s390_init(void)if (IS_ERR (ptp_stcke_clock))return PTR_ERR (ptp_stcke_clock); +if (!test_facility (28 ) || !ptff_query (PTFF_QPT ))
ptff_query()here needs:9de445d8296a("s390/ptff: Export ptff_function_mask[]")Quoted 1 line
Ah, good catch, now queued up. How did you find that thing?
Maybe we should change the documentation. I was wondering whether I have to mark that as a dependency, looked up
./process/stable-kernel-rules.rstwhich says:Note that for a patch series, you do not have to list as prerequisites the patches present in the series itself. For example, if you have the following patch series::
patch1
patch2
Quoted 6 lines
where patch2 depends on patch1, you do not have to list patch1 as prerequisite of patch2 if you have already marked patch1 for stable inclusion.
Which lead me to believe that I don't have to add stable@ to the the other patch, but looks like this was wrong?
The issue is that was no link that I could find between 9de445d8296a ("s390/ptff: Export ptff_function_mask[]") and e78f1ac37afc ("ptp:ptp_s390: Add missing facility check")
i.e. no "Fixes:" tag, or dependancy info, so if I took the "add missing..." patch, I didn't know that the export patch was required.
Not a big deal, happens at times, just if you know a commit fixes an older patch, a "Fixes:" tag is helpful.
thanks,
greg k-h
Hi Greg
Quoted 10 lines · Greg Kroah-Hartman
This is the start of the stable review cycle for the 7.1.6 release. There are 744 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know.
Responses should be made by Sat, 01 Aug 2026 14:13:38 +0000. Anything received after that time might be too late.
The whole patch series can be found in one patch at:
Quoted 9 lines
https://www.kernel.org/pub/linux/kernel/v7.x/stable-review/patch-7.1.6-rc1.gzor in the git tree and branch at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.gitlinux-7.1.y
and the diffstat can be found below.thanks,
greg k-h
Linux version 7.1.6-rc1 tested.
Build successfully completed.
Boot successfully completed.
No dmesg regressions.
Video output normal.
Sound output normal.
Lenovo ThinkPad X1 Carbon Gen10(Intel i7-1260P(x86_64) arch linux)
[ 0.000000] Linux version 7.1.6-rc1rv-gecc0c68d2044
(takeshi@ThinkPadX1Gen10J0764) (gcc (GCC) 16.1.1 20260728, GNU ld (GNU Binutils) 2.47) #1 SMP PREEMPT_DYNAMIC Fri Jul 31 19:44:25 JST 2026
Thanks
Quoted 7 lines · Greg Kroah-Hartman
This is the start of the stable review cycle for the 7.1.6 release. There are 744 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know.
Responses should be made by Sat, 01 Aug 2026 14:13:38 +0000. Anything received after that time might be too late.
Build and boot tested with qemu for x86_64, i386, arm64 and riscv and different configurations. No regressions observed.
Quoted 4 lines · Greg Kroah-Hartman
This is the start of the stable review cycle for the 7.1.6 release. There are 744 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know.
Quoted 9 lines · Greg Kroah-Hartman
This is the start of the stable review cycle for the 7.1.6 release. There are 744 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know.
Responses should be made by Sat, 01 Aug 2026 14:13:38 +0000. Anything received after that time might be too late.
The whole patch series can be found in one patch at:
Quoted 8 lines
https://www.kernel.org/pub/linux/kernel/v7.x/stable-review/patch-7.1.6-rc1.gzor in the git tree and branch at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.gitlinux-7.1.y
and the diffstat can be found below.thanks,
greg k-h
On ARCH_BRCMSTB using 32-bit and 64-bit ARM kernels, build tested on BMIPS_GENERIC:
Signature · 1 line
Florian
Quoted 9 lines · Greg Kroah-Hartman
This is the start of the stable review cycle for the 7.1.6 release. There are 744 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know.
Responses should be made by Sat, 01 Aug 2026 14:13:38 +0000. Anything received after that time might be too late.
The whole patch series can be found in one patch at:
Quoted 8 lines
https://www.kernel.org/pub/linux/kernel/v7.x/stable-review/patch-7.1.6-rc1.gzor in the git tree and branch at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.gitlinux-7.1.y
and the diffstat can be found below.thanks,
greg k-h
Tested on 2 amd64 systems and an arm64 virtual machine. Working well, no regressions observed.
Signature · 1 line
-Barry K. Nathan <[email protected]>
Quoted 9 lines · Greg Kroah-Hartman
This is the start of the stable review cycle for the 7.1.6 release. There are 744 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know.
Responses should be made by Sat, 01 Aug 2026 14:13:38 +0000. Anything received after that time might be too late.
The whole patch series can be found in one patch at:
Quoted 8 lines
https://www.kernel.org/pub/linux/kernel/v7.x/stable-review/patch-7.1.6-rc1.gzor in the git tree and branch at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.gitlinux-7.1.y
and the diffstat can be found below.thanks,
greg k-h
Built and booted successfully on RISC-V RV64 (HiFive Unmatched).
hello,
Compiled and booted 7.1.6-rc1 (using qemu-system-amd64)
No new typical dmesg regressions .
--
software engineer
rajagiri school of engineering and technology