[lvc-project] syzbot: KASAN: slab-out-of-bounds Read in xlog_pack_data

Dave Chinner dchinner at redhat.com
Fri Sep 20 01:45:48 MSK 2024


On Thu, Sep 19, 2024 at 10:56:20PM +0300, Andrey Kalachev wrote:
> Hi,
> 
> I found that the syzbot bug 'KASAN: slab-out-of-bounds Read in xlog_pack_data' [1]
> has been fixed in master branch since v6.4-rc6-11-gf1e1765aad7d [2].
> But, it still exist in LTS kernels: 5.4, 5.10, 5.15 [3], 6.1 [4]
> Common c-reproducer code can be found here [5].
> 
> I've made backport f1e1765aad7d ("xfs: journal geometry is not properly bounds checked")
> Patch for v5.15 & v6.1 is same with original upstream code.
> Patches for v5.4 and v5.10 has some cosmetic variations:
> `xfs_has_crc(mp)` call replaced by `xfs_sb_version_hascrc(&mp->m_sb)` at most.
> 
> I would be grateful for any assistance.

Please cc linux-xfs at vger.kernel.org and the XFS stable kernel
maintainers (listed in MAINTAINERS in the stable kernel source
trees) on any request for stable kernel inclusion. They will
handle the process from there....

-Dave.
-- 
Dave Chinner
dchinner at redhat.com



More information about the lvc-project mailing list