In the Linux kernel, the following vulnerability has been resolved:jffs2: check that raw node were preallocated before writing summarySyzkaller detected a kernel bug in jffs2_link_node_ref, caused by faultinjection in jffs2_prealloc_raw_node_refs. jffs2_sum_write_sumnode doesn'tcheck return value of jffs2_prealloc_raw_node_refs and simply lets anyerror propagate into jffs2_sum_write_data, which eventually callsjffs2_link_node_ref in order to link the summary to an expectedly allocatednode.kernel BUG at fs/jffs2/nodelist.c:592!invalid opcode: 0000 [#1] PREEMPT SMP KASAN NOPTICPU: 1 PID: 31277 Comm: syz-executor.7 Not tainted 6.1.128-syzkaller-00139-ge10f83ca10a1 #0Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.12.0-1 04/01/2014RIP: 0010:jffs2_link_node_ref+0x570/0x690 fs/jffs2/nodelist.c:592Call Trace:
No PoCs from references.
- https://github.com/w4zu/Debian_security