* f69e749a4935 ("Abort file_remove_privs() for non-reg. files")
@ 2019-06-20 16:30 Zubin Mithra
2019-06-20 16:44 ` Greg KH
0 siblings, 1 reply; 3+ messages in thread
From: Zubin Mithra @ 2019-06-20 16:30 UTC (permalink / raw)
To: stable; +Cc: gregkh, groeck, alexander.lochmann, viro
Hello,
Syzkaller has triggered a kernel WARNING when fuzzing a 4.14 kernel with the following stacktrace.
Call Trace:
__dump_stack lib/dump_stack.c:17 [inline]
dump_stack+0x114/0x1cf lib/dump_stack.c:53
panic+0x1bb/0x3a0 kernel/panic.c:181
__warn.cold.9+0x149/0x186 kernel/panic.c:542
report_bug+0x1f7/0x272 lib/bug.c:186
fixup_bug arch/x86/kernel/traps.c:177 [inline]
do_error_trap+0x1c1/0x430 arch/x86/kernel/traps.c:295
do_invalid_op+0x20/0x30 arch/x86/kernel/traps.c:314
invalid_op+0x1b/0x40 arch/x86/entry/entry_64.S:944
__remove_privs fs/inode.c:1805 [inline]
file_remove_privs+0x291/0x4c0 fs/inode.c:1827
__generic_file_write_iter+0x166/0x5b0 mm/filemap.c:3096
blkdev_write_iter+0x1f5/0x3b0 fs/block_dev.c:1905
call_write_iter include/linux/fs.h:1782 [inline]
new_sync_write fs/read_write.c:471 [inline]
__vfs_write+0x53f/0x7d0 fs/read_write.c:484
vfs_write+0x18c/0x500 fs/read_write.c:546
SYSC_write fs/read_write.c:593 [inline]
SyS_write+0xf4/0x230 fs/read_write.c:585
do_syscall_32_irqs_on arch/x86/entry/common.c:340 [inline]
do_fast_syscall_32+0x3c1/0xbf1 arch/x86/entry/common.c:403
entry_SYSENTER_compat+0x84/0x96 arch/x86/entry/entry_64_compat.S:139
Could the following patch be applied to 5.0.y, 4.19.y, 4.14.y? The commit is present in 5.1.y.
* f69e749a4935 ("Abort file_remove_privs() for non-reg. files")
Tests run:
* Syzkaller reproducer
* Chrome OS tryjobs
Thanks,
- Zubin
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: f69e749a4935 ("Abort file_remove_privs() for non-reg. files")
2019-06-20 16:30 f69e749a4935 ("Abort file_remove_privs() for non-reg. files") Zubin Mithra
@ 2019-06-20 16:44 ` Greg KH
2019-06-20 16:56 ` Zubin Mithra
0 siblings, 1 reply; 3+ messages in thread
From: Greg KH @ 2019-06-20 16:44 UTC (permalink / raw)
To: Zubin Mithra; +Cc: stable, groeck, alexander.lochmann, viro
On Thu, Jun 20, 2019 at 09:30:49AM -0700, Zubin Mithra wrote:
> Hello,
>
> Syzkaller has triggered a kernel WARNING when fuzzing a 4.14 kernel with the following stacktrace.
> Call Trace:
> __dump_stack lib/dump_stack.c:17 [inline]
> dump_stack+0x114/0x1cf lib/dump_stack.c:53
> panic+0x1bb/0x3a0 kernel/panic.c:181
> __warn.cold.9+0x149/0x186 kernel/panic.c:542
> report_bug+0x1f7/0x272 lib/bug.c:186
> fixup_bug arch/x86/kernel/traps.c:177 [inline]
> do_error_trap+0x1c1/0x430 arch/x86/kernel/traps.c:295
> do_invalid_op+0x20/0x30 arch/x86/kernel/traps.c:314
> invalid_op+0x1b/0x40 arch/x86/entry/entry_64.S:944
> __remove_privs fs/inode.c:1805 [inline]
> file_remove_privs+0x291/0x4c0 fs/inode.c:1827
> __generic_file_write_iter+0x166/0x5b0 mm/filemap.c:3096
> blkdev_write_iter+0x1f5/0x3b0 fs/block_dev.c:1905
> call_write_iter include/linux/fs.h:1782 [inline]
> new_sync_write fs/read_write.c:471 [inline]
> __vfs_write+0x53f/0x7d0 fs/read_write.c:484
> vfs_write+0x18c/0x500 fs/read_write.c:546
> SYSC_write fs/read_write.c:593 [inline]
> SyS_write+0xf4/0x230 fs/read_write.c:585
> do_syscall_32_irqs_on arch/x86/entry/common.c:340 [inline]
> do_fast_syscall_32+0x3c1/0xbf1 arch/x86/entry/common.c:403
> entry_SYSENTER_compat+0x84/0x96 arch/x86/entry/entry_64_compat.S:139
>
>
> Could the following patch be applied to 5.0.y, 4.19.y, 4.14.y? The commit is present in 5.1.y.
> * f69e749a4935 ("Abort file_remove_privs() for non-reg. files")
5.0 is long end-of-life, but 4.19.y and 4.14.y is good. What about
older kernels? it seems to be applicable there too, right?
thanks,
greg k-h
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: f69e749a4935 ("Abort file_remove_privs() for non-reg. files")
2019-06-20 16:44 ` Greg KH
@ 2019-06-20 16:56 ` Zubin Mithra
0 siblings, 0 replies; 3+ messages in thread
From: Zubin Mithra @ 2019-06-20 16:56 UTC (permalink / raw)
To: Greg KH; +Cc: stable, groeck, alexander.lochmann, viro
On Thu, Jun 20, 2019 at 06:44:28PM +0200, Greg KH wrote:
> On Thu, Jun 20, 2019 at 09:30:49AM -0700, Zubin Mithra wrote:
> > Hello,
> >
> > Syzkaller has triggered a kernel WARNING when fuzzing a 4.14 kernel with the following stacktrace.
> > Call Trace:
> > __dump_stack lib/dump_stack.c:17 [inline]
> > dump_stack+0x114/0x1cf lib/dump_stack.c:53
> > panic+0x1bb/0x3a0 kernel/panic.c:181
> > __warn.cold.9+0x149/0x186 kernel/panic.c:542
> > report_bug+0x1f7/0x272 lib/bug.c:186
> > fixup_bug arch/x86/kernel/traps.c:177 [inline]
> > do_error_trap+0x1c1/0x430 arch/x86/kernel/traps.c:295
> > do_invalid_op+0x20/0x30 arch/x86/kernel/traps.c:314
> > invalid_op+0x1b/0x40 arch/x86/entry/entry_64.S:944
> > __remove_privs fs/inode.c:1805 [inline]
> > file_remove_privs+0x291/0x4c0 fs/inode.c:1827
> > __generic_file_write_iter+0x166/0x5b0 mm/filemap.c:3096
> > blkdev_write_iter+0x1f5/0x3b0 fs/block_dev.c:1905
> > call_write_iter include/linux/fs.h:1782 [inline]
> > new_sync_write fs/read_write.c:471 [inline]
> > __vfs_write+0x53f/0x7d0 fs/read_write.c:484
> > vfs_write+0x18c/0x500 fs/read_write.c:546
> > SYSC_write fs/read_write.c:593 [inline]
> > SyS_write+0xf4/0x230 fs/read_write.c:585
> > do_syscall_32_irqs_on arch/x86/entry/common.c:340 [inline]
> > do_fast_syscall_32+0x3c1/0xbf1 arch/x86/entry/common.c:403
> > entry_SYSENTER_compat+0x84/0x96 arch/x86/entry/entry_64_compat.S:139
> >
> >
> > Could the following patch be applied to 5.0.y, 4.19.y, 4.14.y? The commit is present in 5.1.y.
> > * f69e749a4935 ("Abort file_remove_privs() for non-reg. files")
>
> 5.0 is long end-of-life, but 4.19.y and 4.14.y is good. What about
> older kernels? it seems to be applicable there too, right?
Yes, 4.9.y and 4.4.y as well.
Thanks,
- Zubin
>
> thanks,
>
> greg k-h
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-06-20 16:56 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-06-20 16:30 f69e749a4935 ("Abort file_remove_privs() for non-reg. files") Zubin Mithra
2019-06-20 16:44 ` Greg KH
2019-06-20 16:56 ` Zubin Mithra
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).