cvelo
P4 · InfoEPSS 0.2%

xfs: fix buffer overflow in corrupt inline attr structure

  • CVE-2026-142791
  • GHSA-9gxq-p58f-5pjr
  • EUVD-2026-142292

Description

In the Linux kernel, the following vulnerability has been resolved: xfs: fix buffer overflow in corrupt inline attr structure LOLLM noticed a buffer overrun if the xattr scrubber encounters a file with a shortform attr fork with sf->count > 0 but if_bytes == sizeof(struct xfs_attr_sf_hdr). Basically, we have enough data to have a header with a nonzero count, but no space for any of those shortform entries. In this case, the xfs_attr_sf_nextentry() call will run off the end of if_data and blow up.

Text from the CVE.org record.

Recommendation

No source states a fixed version. Check the vendor advisory.

Affected

  • Linux

    Affected versionsFixed in
    6.4none stated
    before 6.4: not affectednone stated
    from 6.6.163 up to 6.6.*: not affectednone stated
    from 6.12.117 up to 6.12.*: not affectednone stated
    from 6.18.61 up to 6.18.*: not affectednone stated
    from 7.3.2 up to 7.3.*: not affectednone stated
    from 7.4-rc1 onwards: not affectednone stated

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.