Linux
hfs: fix potential use after free in hfs_correct_next_unused_CNID()
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.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.8high · scored by CNA
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
Linux Linux
- >= a06ec283e125e334155fe13005c76c9f484ce759, < 40a1e0142096dd7dd6cb5373841222b528698588
- >= a06ec283e125e334155fe13005c76c9f484ce759, < c105e76bb17cf4b55fe89c6ad4f6a0e3972b5b08
Fixed in 40a1e0142096dd7dd6cb5373841222b528698588, c105e76bb17cf4b55fe89c6ad4f6a0e3972b5b08
Linux Linux
- 6.18
Fixed in 0, 6.18.2, 6.19
Mitigation
Upgrade Linux to 40a1e0142096dd7dd6cb5373841222b528698588 or c105e76bb17cf4b55fe89c6ad4f6a0e3972b5b08 or later.
Upgrade Linux to 0 or 6.18.2 or 6.19 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.