What’s Vulnerable › Vulnerabilities

CVE-2025-68761: hfs: fix potential use after free in hfs_correct_next_unused_CNID()

Description

In the Linux kernel, the following vulnerability has been resolved: hfs: fix potential use after free in hfs_correct_next_unused_CNID() This code calls hfs_bnode_put(node) which drops the refcount and then dreferences "node" on the next line. It's only safe to use "node" when we're holding a reference so flip these two lines around.

Affected products

How to fix

Upgrade to a fixed version: Linux kernel 6.19. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-68761 or the next vulnerability affects your stack