CVE-2025-68761

Source
https://cve.org/CVERecord?id=CVE-2025-68761
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-68761.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-68761
Downstream
Related
Published
2026-01-05T09:32:33Z
Modified
2026-08-12T03:51:48Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
hfs: fix potential use after free in hfs_correct_next_unused_CNID()
Details

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.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/68xxx/CVE-2025-68761.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
a06ec283e125e334155fe13005c76c9f484ce759
Fixed
40a1e0142096dd7dd6cb5373841222b528698588
Fixed
c105e76bb17cf4b55fe89c6ad4f6a0e3972b5b08

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-68761.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.18.0
Fixed
6.18.2

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-68761.json"