6.12.14-rc1 review
Subsystems (7)
Greg Kroah-Hartman
maintainerPATCH 422/422 ocfs2: check dir i_size in ocfs2_find_entry
In reply to Greg Kroah-Hartman6.12-stable review patch. If anyone has any objections, please let me know.
------------------
From: Su Yue <[email protected]>
commit b0fce54b8c0d8e5f2b4c243c803c5996e73baee8 upstream.
syz reports an out of bounds read:
==================================================================
BUG: KASAN: slab-out-of-bounds in ocfs2_match fs/ocfs2/dir.c:334 [inline] BUG: KASAN: slab-out-of-bounds in ocfs2_search_dirblock+0x283/0x6e0 fs/ocfs2/dir.c:367 Read of size 1 at addr ffff88804d8b9982 by task syz-executor.2/14802 CPU: 0 UID: 0 PID: 14802 Comm: syz-executor.2 Not tainted 6.13.0-rc4 #2 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.15.0-1 04/01/2014 Sched_ext: serialise (enabled+all), task: runnable_at=-10ms Call Trace: <TASK> __dump_stack lib/dump_stack.c:94 [inline] dump_stack_lvl+0x229/0x350 lib/dump_stack.c:120 print_address_description mm/kasan/report.c:378 [inline] print_report+0x164/0x530 mm/kasan/report.c:489 kasan_report+0x147/0x180 mm/kasan/report.c:602 ocfs2_match fs/ocfs2/dir.c:334 [inline] ocfs2_search_dirblock+0x283/0x6e0 fs/ocfs2/dir.c:367 ocfs2_find_entry_id fs/ocfs2/dir.c:414 [inline] ocfs2_find_entry+0x1143/0x2db0 fs/ocfs2/dir.c:1078 ocfs2_find_files_on_disk+0x18e/0x530 fs/ocfs2/dir.c:1981 ocfs2_lookup_ino_from_name+0xb6/0x110 fs/ocfs2/dir.c:2003 ocfs2_lookup+0x30a/0xd40 fs/ocfs2/namei.c:122 lookup_open fs/namei.c:3627 [inline] open_last_lookups fs/namei.c:3748 [inline] path_openat+0x145a/0x3870 fs/namei.c:3984 do_filp_open+0xe9/0x1c0 fs/namei.c:4014 do_sys_openat2+0x135/0x1d0 fs/open.c:1402 do_sys_open fs/open.c:1417 [inline] __do_sys_openat fs/open.c:1433 [inline] __se_sys_openat fs/open.c:1428 [inline] __x64_sys_openat+0x15d/0x1c0 fs/open.c:1428 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf6/0x210 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f01076903ad Code: c3 e8 a7 2b 00 00 0f 1f 80 00 00 00 00 f3 0f 1e fa 48 89 f8 48 89
f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b0 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f01084acfc8 EFLAGS: 00000246 ORIG_RAX: 0000000000000101
RAX: ffffffffffffffda RBX: 00007f01077cbf80 RCX: 00007f01076903ad
RDX: 0000000000105042 RSI: 0000000020000080 RDI: ffffffffffffff9c
RBP: 00007f01077cbf80 R08: 0000000000000000 R09: 0000000000000000
R10: 00000000000001ff R11: 0000000000000246 R12: 0000000000000000
R13: 00007f01077cbf80 R14: 00007f010764fc90 R15: 00007f010848d000
</TASK> ==================================================================
And a general protection fault in ocfs2_prepare_dir_for_insert:
==================================================================
loop0: detected capacity change from 0 to 32768
JBD2: Ignoring recovery information on journal
ocfs2: Mounting device (7,0) on (node local, slot 0) with ordered data mode.
Oops: general protection fault, probably for non-canonical address 0xdffffc0000000001: 0000 [#1] PREEMPT SMP KASAN NOPTI KASAN: null-ptr-deref in range [0x0000000000000008-0x000000000000000f] CPU: 0 UID: 0 PID: 5096 Comm: syz-executor792 Not tainted 6.11.0-rc4-syzkaller-00002-gb0da640826ba #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 RIP: 0010:ocfs2_find_dir_space_id fs/ocfs2/dir.c:3406 [inline] RIP: 0010:ocfs2_prepare_dir_for_insert+0x3309/0x5c70 fs/ocfs2/dir.c:4280 Code: 00 00 e8 2a 25 13 fe e9 ba 06 00 00 e8 20 25 13 fe e9 4f 01 00 00 e8 16 25 13 fe 49 8d 7f 08 49 8d 5f 09 48 89 f8 48 c1 e8 03 <42> 0f b6 04 20 84 c0 0f 85 bd 23 00 00 48 89 d8 48 c1 e8 03 42 0f RSP: 0018:ffffc9000af9f020 EFLAGS: 00010202 RAX: 0000000000000001 RBX: 0000000000000009 RCX: ffff88801e27a440 RDX: 0000000000000000 RSI: 0000000000000400 RDI: 0000000000000008 RBP: ffffc9000af9f830 R08: ffffffff8380395b R09: ffffffff838090a7 R10: 0000000000000002 R11: ffff88801e27a440 R12: dffffc0000000000 R13: ffff88803c660878 R14: f700000000000088 R15: 0000000000000000 FS: 000055555a677380(0000) GS:ffff888020800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000560bce569178 CR3: 000000001de5a000 CR4: 0000000000350ef0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: <TASK> ocfs2_mknod+0xcaf/0x2b40 fs/ocfs2/namei.c:292 vfs_mknod+0x36d/0x3b0 fs/namei.c:4088 do_mknodat+0x3ec/0x5b0 __do_sys_mknodat fs/namei.c:4166 [inline] __se_sys_mknodat fs/namei.c:4163 [inline] __x64_sys_mknodat+0xa7/0xc0 fs/namei.c:4163 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xf3/0x230 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f2dafda3a99 Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 17 00 00 90 48 89
f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffe336a6658 EFLAGS: 00000246 ORIG_RAX:
0000000000000103
RAX: ffffffffffffffda RBX: 0000000000000000 RCX:00007f2dafda3a99
RDX: 00000000000021c0 RSI: 0000000020000040 RDI:00000000ffffff9c
RBP: 00007f2dafe1b5f0 R08: 0000000000004480 R09:000055555a6784c0
R10: 0000000000000103 R11: 0000000000000246 R12:00007ffe336a6680
R13: 00007ffe336a68a8 R14: 431bde82d7b634db R15:00007f2dafdec03b
</TASK> ==================================================================
The two reports are all caused invalid negative i_size of dir inode. For ocfs2, dir_inode can't be negative or zero.
Here add a check in which is called by ocfs2_check_dir_for_entry(). It fixes the second report as ocfs2_check_dir_for_entry() must be called before ocfs2_prepare_dir_for_insert(). Also set a up limit for dir with OCFS2_INLINE_DATA_FL. The i_size can't be great than blocksize.
--- fs/ocfs2/dir.c | 25 +++++++++++++++++++++---- 1 file changed, 21 insertions(+), 4 deletions(-)
fs/ocfs2/dir.c +21 -4
@@ -1065,26 +1065,39 @@ int ocfs2_find_entry(const char *name, i {struct buffer_head *bh;struct ocfs2_dir_entry *res_dir =NULL ; +int ret =0 ;if (ocfs2_dir_indexed (dir))return ocfs2_find_entry_dx (name, namelen, dir, lookup); +if (unlikely (i_size_read (dir) <=0 )) { + ret = -EFSCORRUPTED ; +mlog_errno (ret); + goto out; + }/* * The unindexed dir code only uses part of the lookup * structure, so there's no reason to push it down further * than this. */ -if (OCFS2_I (dir)->ip_dyn_features &OCFS2_INLINE_DATA_FL ) +if (OCFS2_I (dir)->ip_dyn_features &OCFS2_INLINE_DATA_FL ) { +if (unlikely (i_size_read (dir) > dir->i_sb->s_blocksize)) { + ret = -EFSCORRUPTED ; +mlog_errno (ret); + goto out; + } bh =ocfs2_find_entry_id (name, namelen, dir, &res_dir); -else + }else { bh =ocfs2_find_entry_el (name, namelen, dir, &res_dir); + }if (bh ==NULL )return -ENOENT ; lookup->dl_leaf_bh = bh; lookup->dl_entry = res_dir; -return 0 ; +out: +return ret; }/*
@@ -2010,6 +2023,7 @@ int ocfs2_lookup_ino_from_name(struct in* * Return 0 if the name does not exist * Return -EEXIST if the directory contains the name +* Return -EFSCORRUPTED if found corruption * * Callers should have i_rwsem + a cluster lock on dir */
@@ -2023,9 +2037,12 @@ int ocfs2_check_dir_for_entry(struct inotrace_ocfs2_check_dir_for_entry ( (unsigned long long )OCFS2_I (dir)->ip_blkno, namelen, name); -if (ocfs2_find_entry (name, namelen, dir, &lookup) ==0 ) { + ret =ocfs2_find_entry (name, namelen, dir, &lookup); +if (ret ==0 ) { ret = -EEXIST ;mlog_errno (ret); + }else if (ret == -ENOENT ) { + ret =0 ; }ocfs2_free_dir_lookup_result (&lookup);
Hello,
Quoted 7 lines · On Thu, 13 Feb 2025 15:22:29 +0100 Greg Kroah-Hartman…
This is the start of the stable review cycle for the 6.12.14 release. There are 422 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, 15 Feb 2025 14:23:11 +0000. Anything received after that time might be too late.
This rc kernel passes DAMON functionality test[1] on my test machine. Attaching the test results summary below. Please note that I retrieved the kernel from linux-stable-rc tree[2].
[1] https://github.com/damonitor/damon-tests/tree/next/corr
[2] fb9a4bb2450b ("Linux 6.12.14-rc1")
Thanks,
SJ
[...]
---
ok 9 selftests: damon: damos_tried_regions.py
ok 10 selftests: damon: damon_nr_regions.py
ok 11 selftests: damon: reclaim.sh
ok 12 selftests: damon: lru_sort.sh
ok 13 selftests: damon: debugfs_empty_targets.sh
ok 14 selftests: damon: debugfs_huge_count_read_write.sh
ok 15 selftests: damon: debugfs_duplicate_context_creation.sh ok 16 selftests: damon: debugfs_rm_non_contexts.sh
ok 17 selftests: damon: debugfs_target_ids_read_before_terminate_race.sh ok 18 selftests: damon: debugfs_target_ids_pid_leak.sh
ok 19 selftests: damon: sysfs_update_removed_scheme_dir.sh
ok 20 selftests: damon: sysfs_update_schemes_tried_regions_hang.py ok 1 selftests: damon-tests: kunit.sh
ok 2 selftests: damon-tests: huge_count_read_write.sh
ok 3 selftests: damon-tests: buffer_overflow.sh
ok 4 selftests: damon-tests: rm_contexts.sh
ok 5 selftests: damon-tests: record_null_deref.sh
ok 6 selftests: damon-tests: dbgfs_target_ids_read_before_terminate_race.sh ok 7 selftests: damon-tests: dbgfs_target_ids_pid_leak.sh
ok 8 selftests: damon-tests: damo_tests.sh
ok 9 selftests: damon-tests: masim-record.sh
ok 10 selftests: damon-tests: build_i386.sh
ok 11 selftests: damon-tests: build_arm64.sh # SKIP
ok 12 selftests: damon-tests: build_m68k.sh # SKIP
ok 13 selftests: damon-tests: build_i386_idle_flag.sh
ok 14 selftests: damon-tests: build_i386_highpte.sh
ok 15 selftests: damon-tests: build_nomemcg.sh
[33m
[92mPASS [39m
Quoted 9 lines · Greg Kroah-Hartman
This is the start of the stable review cycle for the 6.12.14 release. There are 422 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, 15 Feb 2025 14:23:11 +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/v6.x/stable-review/patch-6.12.14-rc1.gzor in the git tree and branch at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.gitlinux-6.12.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 4 lines · Greg Kroah-Hartman
This is the start of the stable review cycle for the 6.12.14 release. There are 422 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.
The kernel, bpf tool, perf tool, and kselftest builds fine for v6.12.14-rc1 on x86 and arm64 Azure VM.
Kernel binary size for x86 build:
text data bss dec hex filename 27753180 17708790 6397952 51859922 31751d2 vmlinux
Kernel binary size for arm64 build:
text data bss dec hex filename 36370736 14991857 1052816 52415409 31fcbb1 vmlinux
Thanks,
Hardik
Am 13.02.2025 um 15:22 schrieb Greg Kroah-Hartman:
Quoted 4 lines
This is the start of the stable review cycle for the 6.12.14 release. There are 422 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.
Builds, boots and works on my 2-socket Ivy Bridge Xeon E5-2697 v2 server. No dmesg oddities or regressions found.
Beste Grüße,
Peter Schneider
Signature · 8 lines
Climb the mountain not to plant your flag, but to embrace the challenge, enjoy the air and behold the view. Climb it so you can see the world, not so the world can see you. -- David McCullough Jr. OpenPGP: 0xA3828BD796CCE11A8CADE8866E3A92C92C3FF244 Download: https://www.peters-netzplatz.de/download/pschneider1968_pub.asc https://keys.mailvelope.com/pks/lookup?op=get&[email protected] https://keys.mailvelope.com/pks/lookup?op=get&[email protected]
Quoted 9 lines · Greg Kroah-Hartman
This is the start of the stable review cycle for the 6.12.14 release. There are 422 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, 15 Feb 2025 14:23:11 +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/v6.x/stable-review/patch-6.12.14-rc1.gzor in the git tree and branch at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.gitlinux-6.12.y
and the diffstat can be found below.thanks,
greg k-h
Built and booted successfully on RISC-V RV64 (HiFive Unmatched).
Hi,
Quoted 4 lines · Greg Kroah-Hartman
This is the start of the stable review cycle for the 6.12.14 release. There are 422 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.
I see these build failures:
fs/xfs/xfs_trans.c: In function '__xfs_trans_commit':fs/xfs/xfs_trans.c:843:40: error: macro "xfs_trans_apply_dquot_deltas" requires 2 arguments, but only 1 given
843 | xfs_trans_apply_dquot_deltas(tp);
| ^
In file included from fs/xfs/xfs_trans.c:15:fs/xfs/xfs_quota.h:169:9: note: macro "xfs_trans_apply_dquot_deltas" defined here
169 | #define xfs_trans_apply_dquot_deltas(tp, a)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
fs/xfs/xfs_trans.c:843:9: error: 'xfs_trans_apply_dquot_deltas' undeclared (first use in this function); did you mean 'xfs_trans_apply_sb_deltas'?
843 | xfs_trans_apply_dquot_deltas(tp);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
| xfs_trans_apply_sb_deltasfs/xfs/xfs_trans.c:843:9: note: each undeclared identifier is reported only once for each function it appears in make[4]: *** [scripts/Makefile.build:229: fs/xfs/xfs_trans.o] Error 1
make[4]: *** Waiting for unfinished jobs....
make[3]: *** [scripts/Makefile.build:478: fs/xfs] Error 2
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [scripts/Makefile.build:478: fs] Error 2
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [/builddir/build/BUILD/kernel-6.12.14/linux-6.12.14-master.20250214.el9.rc1/Makefile:1937: .] Error 2
make: *** [Makefile:224: __sub-make] Error 2
This commit: 91717e464c593 ("xfs: don't lose solo dquot update transactions") in the 6.12.14-rc1 is causing this.
Thanks,
Harshit
Greg Kroah-Hartman
maintainerQuoted 39 lines · Harshit Mogalapalli
Hi,
Quoted 4 lines · Greg Kroah-Hartman
This is the start of the stable review cycle for the 6.12.14 release. There are 422 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.
I see these build failures:
fs/xfs/xfs_trans.c: In function '__xfs_trans_commit':fs/xfs/xfs_trans.c:843:40: error: macro "xfs_trans_apply_dquot_deltas" requires 2 arguments, but only 1 given
843 |xfs_trans_apply_dquot_deltas(tp);
| ^
In file included fromfs/xfs/xfs_trans.c:15:fs/xfs/xfs_quota.h:169:9: note: macro "xfs_trans_apply_dquot_deltas" defined here
169 | #definexfs_trans_apply_dquot_deltas(tp, a)| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ fs/xfs/xfs_trans.c:843:9: error: 'xfs_trans_apply_dquot_deltas' undeclared (first use in this function); did you mean 'xfs_trans_apply_sb_deltas'? 843 | xfs_trans_apply_dquot_deltas(tp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | xfs_trans_apply_sb_deltas
fs/xfs/xfs_trans.c:843:9: note: each undeclared identifier is reported only
once for each function it appears in
make[4]: *** [scripts/Makefile.build:229:fs/xfs/xfs_trans.o] Error 1
make[4]: *** Waiting for unfinished jobs....
make[3]: *** [scripts/Makefile.build:478: fs/xfs] Error 2
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [scripts/Makefile.build:478: fs] Error 2
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [/builddir/build/BUILD/kernel-6.12.14/linux-6.12.14-master.20250214.el9.rc1/Makefile:1937:
.] Error 2
make: *** [Makefile:224: __sub-make] Error 2
Quoted 2 lines
This commit:
91717e464c593("xfs: don't lose solo dquot update transactions") in the 6.12.14-rc1 is causing this.
Odd, I am guessing that you do not have CONFIG_XFS_QUOTA enabled?
thanks,
greg k-h
Hi Greg,
Quoted 40 lines · Greg Kroah-Hartman
Quoted 39 lines · Harshit Mogalapalli
Hi,
Quoted 4 lines · Greg Kroah-Hartman
This is the start of the stable review cycle for the 6.12.14 release. There are 422 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.
I see these build failures:
fs/xfs/xfs_trans.c: In function '__xfs_trans_commit':fs/xfs/xfs_trans.c:843:40: error: macro "xfs_trans_apply_dquot_deltas" requires 2 arguments, but only 1 given
843 |xfs_trans_apply_dquot_deltas(tp);
| ^
In file included fromfs/xfs/xfs_trans.c:15:fs/xfs/xfs_quota.h:169:9: note: macro "xfs_trans_apply_dquot_deltas" defined here
169 | #definexfs_trans_apply_dquot_deltas(tp, a)| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ fs/xfs/xfs_trans.c:843:9: error: 'xfs_trans_apply_dquot_deltas' undeclared (first use in this function); did you mean 'xfs_trans_apply_sb_deltas'? 843 | xfs_trans_apply_dquot_deltas(tp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | xfs_trans_apply_sb_deltas
fs/xfs/xfs_trans.c:843:9: note: each undeclared identifier is reported only
once for each function it appears in
make[4]: *** [scripts/Makefile.build:229:fs/xfs/xfs_trans.o] Error 1
make[4]: *** Waiting for unfinished jobs....
make[3]: *** [scripts/Makefile.build:478: fs/xfs] Error 2
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [scripts/Makefile.build:478: fs] Error 2
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [/builddir/build/BUILD/kernel-6.12.14/linux-6.12.14-master.20250214.el9.rc1/Makefile:1937:
.] Error 2
make: *** [Makefile:224: __sub-make] Error 2
Quoted 5 lines
Quoted 2 lines
This commit:
91717e464c593("xfs: don't lose solo dquot update transactions") in the 6.12.14-rc1 is causing this.Odd, I am guessing that you do not have
CONFIG_XFS_QUOTAenabled?
I do have that enabled.
CONFIG_XFS_QUOTA=y
Thanks,
Harshit
Quoted 3 lines
thanks,
greg k-h
Greg Kroah-Hartman
maintainerQuoted 46 lines · Harshit Mogalapalli
Hi Greg,
Quoted 43 lines · Greg Kroah-Hartman
Quoted 41 lines · Harshit Mogalapalli
Hi,
Quoted 4 lines · Greg Kroah-Hartman
This is the start of the stable review cycle for the 6.12.14 release. There are 422 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.
I see these build failures:
fs/xfs/xfs_trans.c: In function '__xfs_trans_commit':fs/xfs/xfs_trans.c:843:40: error: macro "xfs_trans_apply_dquot_deltas" requires 2 arguments, but only 1 given
843 |xfs_trans_apply_dquot_deltas(tp);
| ^
In file included fromfs/xfs/xfs_trans.c:15:fs/xfs/xfs_quota.h:169:9: note: macro "xfs_trans_apply_dquot_deltas" defined here
169 | #definexfs_trans_apply_dquot_deltas(tp, a)| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ fs/xfs/xfs_trans.c:843:9: error: 'xfs_trans_apply_dquot_deltas' undeclared (first use in this function); did you mean 'xfs_trans_apply_sb_deltas'? 843 | xfs_trans_apply_dquot_deltas(tp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | xfs_trans_apply_sb_deltas
fs/xfs/xfs_trans.c:843:9: note: each undeclared identifier is reported only
once for each function it appears in
make[4]: *** [scripts/Makefile.build:229:fs/xfs/xfs_trans.o] Error 1
make[4]: *** Waiting for unfinished jobs....
make[3]: *** [scripts/Makefile.build:478: fs/xfs] Error 2
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [scripts/Makefile.build:478: fs] Error 2
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [/builddir/build/BUILD/kernel-6.12.14/linux-6.12.14-master.20250214.el9.rc1/Makefile:1937:
.] Error 2
make: *** [Makefile:224: __sub-make] Error 2This commit:
91717e464c593("xfs: don't lose solo dquot update transactions") in the 6.12.14-rc1 is causing this.
Quoted 6 lines
Quoted 2 lines
Odd, I am guessing that you do not have
CONFIG_XFS_QUOTAenabled?I do have that enabled.
CONFIG_XFS_QUOTA=y
Odd, that didn't trip in my test builds :(
Anyway, now dropped, thanks!
greg k-h
Quoted 10 lines · Greg Kroah-Hartman
This is the start of the stable review cycle for the 6.12.14 release. There are 422 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, 15 Feb 2025 14:23:11 +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/v6.x/stable-review/patch-6.12.14-rc1.gzor in the git tree and branch at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.gitlinux-6.12.y
and the diffstat can be found below.thanks,
greg k-h
Regressions on the arm64, powerpc builds failed with gcc-8/13 and clang on the Linux stable-rc 6.12.14-rc1.
Build regression: arm, powerpc, fs/xfs/xfs_trans.c too few arguments
Good: v6.12.13 Bad: 6.12.14-rc1 (v6.12.13-423-gfb9a4bb2450b)
* arm, build
- clang-19-davinci_all_defconfig
- clang-nightly-davinci_all_defconfig
- gcc-13-davinci_all_defconfig
- gcc-8-davinci_all_defconfig
* powerpc, build
- clang-19-defconfig
- clang-19-ppc64e_defconfig
- clang-nightly-allyesconfig
- clang-nightly-defconfig
- clang-nightly-lkftconfig-hardening
- clang-nightly-lkftconfig-lto-full
- clang-nightly-lkftconfig-lto-thing
- clang-nightly-ppc64e_defconfig
- gcc-13-defconfig
- gcc-13-lkftconfig-hardening
- gcc-13-ppc64e_defconfig
- gcc-8-defconfig
- gcc-8-lkftconfig-hardening
- gcc-8-ppc64e_defconfig
- korg-clang-19-lkftconfig-hardening
- korg-clang-19-lkftconfig-lto-full
- korg-clang-19-lkftconfig-lto-thing
## Build log arm and powerpcfs/xfs/xfs_trans.c:843:33: error: too few arguments provided to function-like macro invocation
843 | xfs_trans_apply_dquot_deltas(tp);
| ^fs/xfs/xfs_quota.h:169:9: note: macro 'xfs_trans_apply_dquot_deltas' defined here
169 | #define xfs_trans_apply_dquot_deltas(tp, a)
| ^fs/xfs/xfs_trans.c:843:2: error: use of undeclared identifier 'xfs_trans_apply_dquot_deltas'; did you mean 'xfs_trans_apply_sb_deltas'?
843 | xfs_trans_apply_dquot_deltas(tp);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
| xfs_trans_apply_sb_deltas
fs/xfs/xfs_trans.c:475:1: note: 'xfs_trans_apply_sb_deltas' declared here
475 | xfs_trans_apply_sb_deltas(
| ^
fs/xfs/xfs_trans.c:843:2: warning: expression result unused [-Wunused-value]
843 | xfs_trans_apply_dquot_deltas(tp);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~1 warning and 2 errors generated.
## Source
* kernel version: 6.12.14-rc1
* git tree: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git
* git sha: fb9a4bb2450b6b0f073a493bd6a1f54f231413e9
* git describe: v6.12.13-423-gfb9a4bb2450b
* Project details:
https://qa-reports.linaro.org/lkft/linux-stable-rc-linux-6.12.y/build/v6.12.13-423-gfb9a4bb2450b
## Build
* build link: https://storage.tuxsuite.com/public/linaro/lkft/builds/2szXNYzJaqUDby0ajsj9cBcVrPY/
* build log: https://qa-reports.linaro.org/lkft/linux-stable-rc-linux-6.12.y/build/v6.12.13-423-gfb9a4bb2450b/testrun/27280977/suite/build/test/clang-19-davinci_all_defconfig/log
* build history:
https://qa-reports.linaro.org/lkft/linux-stable-rc-linux-6.12.y/build/v6.12.13-423-gfb9a4bb2450b/testrun/27280977/suite/build/test/clang-19-davinci_all_defconfig/history/
* test details:
https://qa-reports.linaro.org/lkft/linux-stable-rc-linux-6.12.y/build/v6.12.13-423-gfb9a4bb2450b/testrun/27280977/suite/build/test/clang-19-davinci_all_defconfig/
* kernel config: arm-clang-19-davinci_all_defconfig and gcc-8-ppc64e_defconfig
* architectures: arm, powerpc
* toolchain version: clang and gcc
## Steps to reproduce
# tuxmake --runtime podman --target-arch arm --toolchain clang-19 --kconfig davinci_all_defconfig LLVM=1 LLVM_IAS=1
--
Linaro LKFT
https://lkft.linaro.org
Quoted 22 lines · Naresh Kamboju
Quoted 10 lines · Greg Kroah-Hartman
This is the start of the stable review cycle for the 6.12.14 release. There are 422 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, 15 Feb 2025 14:23:11 +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/v6.x/stable-review/patch-6.12.14-rc1.gzor in the git tree and branch at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.gitlinux-6.12.y
and the diffstat can be found below.thanks,
greg k-h
Quoted 7 lines
Regressions on the arm64, powerpc builds failed with gcc-8/13 and clang on the Linux stable-rc 6.12.14-rc1.
Build regression: arm, powerpc,
fs/xfs/xfs_trans.ctoo few argumentsGood: v6.12.13 Bad: 6.12.14-rc1 (v6.12.13-423-gfb9a4bb2450b)
Anders bisected this to,
# first bad commit: [91717e464c5939f7d01ca64742f773a75b319981] xfs: don't lose solo dquot update transactions
--
Linaro LKFT
https://lkft.linaro.org
Greg Kroah-Hartman
maintainerQuoted 28 lines · Naresh Kamboju
Quoted 27 lines · Naresh Kamboju
Quoted 10 lines · Greg Kroah-Hartman
This is the start of the stable review cycle for the 6.12.14 release. There are 422 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, 15 Feb 2025 14:23:11 +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/v6.x/stable-review/patch-6.12.14-rc1.gzor in the git tree and branch at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.gitlinux-6.12.y
and the diffstat can be found below.thanks,
greg k-h
Regressions on the arm64, powerpc builds failed with gcc-8/13 and clang on the Linux stable-rc 6.12.14-rc1.
Build regression: arm, powerpc,
fs/xfs/xfs_trans.ctoo few arguments
Quoted 7 lines
Quoted 2 lines
Good: v6.12.13 Bad: 6.12.14-rc1 (v6.12.13-423-gfb9a4bb2450b)Anders bisected this to,
# first bad commit: [91717e464c5939f7d01ca64742f773a75b319981] xfs: don't lose solo dquot update transactions
Offending commit now dropped, thanks.
greg k-h
Jon Hunter
maintainerQuoted 9 lines · Greg Kroah-Hartman
This is the start of the stable review cycle for the 6.12.14 release. There are 422 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, 15 Feb 2025 14:23:11 +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/v6.x/stable-review/patch-6.12.14-rc1.gzor in the git tree and branch at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.gitlinux-6.12.y
and the diffstat can be found below.thanks,
greg k-h
Failures detected for Tegra ...
Test results for stable-v6.12:
10 builds: 10 pass, 0 fail
26 boots: 26 pass, 0 fail
116 tests: 103 pass, 13 failLinux version: 6.12.14-rc1-gfb9a4bb2450b
Boards tested: tegra124-jetson-tk1, tegra186-p2771-0000,
tegra194-p2972-0000, tegra194-p3509-0000+p3668-0000,
tegra20-ventana, tegra210-p2371-2180,
tegra210-p3450-0000, tegra30-cardhu-a04Test failures: tegra124-jetson-tk1: pm-system-suspend.sh
tegra186-p2771-0000: cpu-hotplug
tegra186-p2771-0000: pm-system-suspend.sh
tegra194-p2972-0000: pm-system-suspend.sh
tegra20-ventana: pm-system-suspend.sh
tegra210-p2371-2180: cpu-hotplug
tegra210-p3450-0000: cpu-hotplug
tegra30-cardhu-a04: pm-system-suspend.shJon
Jon Hunter
maintainerQuoted 32 lines · Jon Hunter
Quoted 9 lines · Greg Kroah-Hartman
This is the start of the stable review cycle for the 6.12.14 release. There are 422 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, 15 Feb 2025 14:23:11 +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/v6.x/stable-review/patch-6.12.14-rc1.gzor in the git tree and branch at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.gitlinux-6.12.y
and the diffstat can be found below.thanks,
greg k-h
Failures detected for Tegra ...
Test results for stable-v6.12:
10 builds: 10 pass, 0 fail 26 boots: 26 pass, 0 fail 116 tests: 103 pass, 13 failLinux version: 6.12.14-rc1-gfb9a4bb2450b
Boards tested: tegra124-jetson-tk1, tegra186-p2771-0000,tegra194-p2972-0000, tegra194-p3509-0000+p3668-0000, tegra20-ventana, tegra210-p2371-2180, tegra210-p3450-0000, tegra30-cardhu-a04
Quoted 8 lines
Test failures: tegra124-jetson-tk1:
pm-system-suspend.shtegra186-p2771-0000: cpu-hotplug tegra186-p2771-0000: pm-system-suspend.sh tegra194-p2972-0000: pm-system-suspend.sh tegra20-ventana: pm-system-suspend.sh tegra210-p2371-2180: cpu-hotplug tegra210-p3450-0000: cpu-hotplug tegra30-cardhu-a04: pm-system-suspend.sh
I will kick off a bisect now and see what is going on here.
Jon
Signature · 1 line
nvpublic
Quoted 9 lines · Greg Kroah-Hartman
This is the start of the stable review cycle for the 6.12.14 release. There are 422 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, 15 Feb 2025 14:23:11 +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/v6.x/stable-review/patch-6.12.14-rc1.gzor in the git tree and branch at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.gitlinux-6.12.y
and the diffstat can be found below.thanks,
greg k-h
Tested rc1 against the Fedora build system (aarch64, ppc64le, s390x, x86_64), and boot tested x86_64. No regressions noted.