[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <0000000000006b25a7060ae67eae@google.com>
Date: Fri, 24 Nov 2023 06:08:59 -0800
From: syzbot <syzbot+c5b339d16ffa61fd512d@...kaller.appspotmail.com>
To: linux-kernel@...r.kernel.org
Subject: Re: [syzbot] [ntfs3?] WARNING in indx_insert_into_buffer
For archival purposes, forwarding an incoming command email to
linux-kernel@...r.kernel.org.
***
Subject: [ntfs3?] WARNING in indx_insert_into_buffer
Author: eadavis@...com
please test WARNING in indx_insert_into_buffer
#syz test https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 037266a5f723
diff --git a/fs/ntfs3/index.c b/fs/ntfs3/index.c
index cf92b2433f7a..92448d922aec 100644
--- a/fs/ntfs3/index.c
+++ b/fs/ntfs3/index.c
@@ -1909,6 +1909,10 @@ indx_insert_into_buffer(struct ntfs_index *indx, struct ntfs_inode *ni,
* Undo critical operations.
*/
indx_mark_free(indx, ni, new_vbn >> indx->idx2vbn_bits);
+ printk("h1: %s\n", (char *)hdr1);
+ printk("h1s: %s\n", (char *)hdr1_saved);
+ if (!level && err == -ENOMEM)
+ goto out;
memcpy(hdr1, hdr1_saved, used1);
indx_write(indx, ni, n1, 0);
}
Powered by blists - more mailing lists