CVE-2025-38269

Source
https://nvd.nist.gov/vuln/detail/CVE-2025-38269
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-38269.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-38269
Downstream
Published
2025-07-10T08:15:25Z
Modified
2025-08-09T20:01:25Z
Summary
[none]
Details

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

btrfs: exit after state insertion failure at btrfsconvertextent_bit()

If insertstate() state failed it returns an error pointer and we call extentiotreepanic() which will trigger a BUG() call. However if CONFIGBUG is disabled, which is an uncommon and exotic scenario, then we fallthrough and call cachestate() which will dereference the error pointer, resulting in an invalid memory access.

So jump to the 'out' label after calling extentiotreepanic(), it also makes the code more clear besides dealing with the exotic scenario where CONFIGBUG is disabled.

References

Affected packages