Skip to content
CVE PROGRAM SOURCE RECORD7.8 High

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

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • a06ec283e125e334155fe13005c76c9f484ce759 to < 40a1e0142096dd7dd6cb5373841222b528698588affected
  • a06ec283e125e334155fe13005c76c9f484ce759 to < c105e76bb17cf4b55fe89c6ad4f6a0e3972b5b08affected

Linux Linux

Default version status: affected

  • 6.18affected
  • 0 to < 6.18unaffected
  • 6.18.2 to ≤ 6.18.*unaffected
  • 6.19 to ≤ *unaffected

References