# CVE-2026-97543: xfs: destroy seen inode bitmap when we fail to add a dirpath

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.20%, higher than 10% of CVEs (2026-12-02)
- Published: 2026-09-25T10:21:39.249Z
- Modified: 2026-10-19T10:17:23.347Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

xfs: destroy seen inode bitmap when we fail to add a dirpath

LOLLM observes a memory leak in xchk_dirtree_create_path if we create
the directory path object but appending the name to the path fails.
When this happens, we don't tear down the (empty) seen inode bitmap.
This is a pretty trivial error, but let's not leave logic bombs.

Do the same for a similar bug in xrep_dirtree_create_adoption_path.

(As written by CVE List.)

## Affected

- Linux Linux: from 928b721a11789a9363d6d7c32a1f3166a79f3b5f before 3b10ca4302ee2dda4233f70b2033883ee376fa6a; from 928b721a11789a9363d6d7c32a1f3166a79f3b5f before 0b756de8167f2f06ffceadc71cb17c1fc7be4be8; from 928b721a11789a9363d6d7c32a1f3166a79f3b5f before 582f54dce62043f7a0503ab8c76d718d0293da59; from 928b721a11789a9363d6d7c32a1f3166a79f3b5f before 1a441c6842da75c5b862cc1c9f7969d6a93b54b9; 6.10 (not affected: before 6.10; from 6.12.111 up to 6.12.*; from 6.18.53 up to 6.18.*; from 7.2.7 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/3b10ca4302ee2dda4233f70b2033883ee376fa6a>
- <https://git.kernel.org/stable/c/0b756de8167f2f06ffceadc71cb17c1fc7be4be8>
- <https://git.kernel.org/stable/c/582f54dce62043f7a0503ab8c76d718d0293da59>
- <https://git.kernel.org/stable/c/1a441c6842da75c5b862cc1c9f7969d6a93b54b9>

## Sources

- CVE List: [CVE-2026-97543](https://www.cve.org/CVERecord?id=CVE-2026-97543), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-97543](https://nvd.nist.gov/vuln/detail/CVE-2026-97543), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-97543 · Whole record: https://cve.day/CVE-2026-97543.json · Rebuilt by cve.day 2026-11-25T22:59:40.952Z
