hfs: fix general protection fault in hfs_find_init()
In the Linux kernel, the following vulnerability has been resolved: hfs: fix general protection fault in hfs_find_init() The hfs_find_init() method can trigger the crash if tree pointer is NULL: [ 45.746290][ T9787] Oops: general protection fault, probably for non-canonical address 0xdffffc0000000008: 0000 [#1] SMP KAI [ 45.747287][ T9787] KASAN: null-ptr-deref in range [0x0000000000000040-0x0000000000000047] [ 45.748716][ T9787] CPU: 2 UID: 0 PID: 9787 Comm: repro Not tainted 6.16.0-rc3 #10 PREEMPT(full) [ 45.750250][ T9787] Hardware name: QEMU Ubuntu 24.04 PC (i440FX + PIIX, 1996), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 45.751983][ T9787] RIP: 0010:hfs_find_init+0x86/0x230 [ 45.752834][ T9787] Code: c1 ea 03 80 3c 02 00 0f 85 9a 01 00 00 4c 8d 6b 40 48 c7 45 18 00 00 00 00 48 b8 00 00 00 00 00 fc [ 45.755574][ T9787] RSP: 0018:ffffc90015157668 EFLAGS: 00010202 [ 45.756432][ T9787] RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffffff819a4d09 [ 45.757457][ T9787] RDX: 0000000000000008 RSI: ffffffff819acd3a RDI: ffffc900151576e8 [ 45.758282][ T9787] RBP: ffffc900151576d0 R08: 0000000000000005 R09: 0000000000000000 [ 45.758943][ T9787] R10: 0000000080000000 R11: 0000000000000001 R12: 0000000000000004 [ 45.759619][ T9787] R13: 0000000000000040 R14: ffff88802c50814a R15: 0000000000000000 [ 45.760293][ T9787] FS: 00007ffb72734540(0000) GS:ffff8880cec64000(0000) knlGS:0000000000000000 [ 45.761050][ T9787] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 45.761606][ T9787]
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 6.12.43, 6.15.11, 6.16.2, 6.6.103
- CVEs
- CVE-2025-38716
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 5 Nov 2026, 01:51 UTC · Revision 1
Source evidence
hfs: fix general protection fault in hfs_find_init()
core-osv · Original sourcePublished 4 Sept 2025, 15:33 UTC
In the Linux kernel, the following vulnerability has been resolved: hfs: fix general protection fault in hfs_find_init() The hfs_find_init() method can trigger the crash if tree pointer is NULL: [ 45.746290][ T9787] Oops: general protection fault, probably for non-canonical address 0xdffffc0000000008: 0000 [#1] SMP KAI [ 45.747287][ T9787] KASAN: null-ptr-deref in range [0x0000000000000040-0x0000000000000047] [ 45.748716][ T9787] CPU: 2 UID: 0 PID: 9787 Comm: repro Not tainted 6.16.0-rc3 #10 PREEMPT(full) [ 45.750250][ T9787] Hardware name: QEMU Ubuntu 24.04 PC (i440FX + PIIX, 1996), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 45.751983][ T9787] RIP: 0010:hfs_find_init+0x86/0x230 [ 45.752834][ T9787] Code: c1 ea 03 80 3c 02 00 0f 85 9a 01 00 00 4c 8d 6b 40 48 c7 45 18 00 00 00 00 48 b8 00 00 00 00 00 fc [ 45.755574][ T9787] RSP: 0018:ffffc90015157668 EFLAGS: 00010202 [ 45.756432][ T9787] RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffffff819a4d09 [ 45.757457][ T9787] RDX: 0000000000000008 RSI: ffffffff819acd3a RDI: ffffc900151576e8 [ 45.758282][ T9787] RBP: ffffc900151576d0 R08: 0000000000000005 R09: 0000000000000000 [ 45.758943][ T9787] R10: 0000000080000000 R11: 0000000000000001 R12: 0000000000000004 [ 45.759619][ T9787] R13: 0000000000000040 R14: ffff88802c50814a R15: 0000000000000000 [ 45.760293][ T9787] FS: 00007ffb72734540(0000) GS:ffff8880cec64000(0000) knlGS:0000000000000000 [ 45.761050][ T9787] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 45.761606][ T9787]
osv:CVE-2025-38716
Kernel
Fixed versions: 6.6.103, 6.12.43, 6.15.11, 6.16.2
Complete source record
{
"id": "798b01b01f6bb2b242c5e3ed254e1dadd86d105aec34a2d94353ccfc70600c17",
"url": "https://osv.dev/vulnerability/CVE-2025-38716",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "hfs: fix general protection fault in hfs_find_init()",
"summary": "In the Linux kernel, the following vulnerability has been resolved: hfs: fix general protection fault in hfs_find_init() The hfs_find_init() method can trigger the crash if tree pointer is NULL: [ 45.746290][ T9787] Oops: general protection fault, probably for non-canonical address 0xdffffc0000000008: 0000 [#1] SMP KAI [ 45.747287][ T9787] KASAN: null-ptr-deref in range [0x0000000000000040-0x0000000000000047] [ 45.748716][ T9787] CPU: 2 UID: 0 PID: 9787 Comm: repro Not tainted 6.16.0-rc3 #10 PREEMPT(full) [ 45.750250][ T9787] Hardware name: QEMU Ubuntu 24.04 PC (i440FX + PIIX, 1996), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 [ 45.751983][ T9787] RIP: 0010:hfs_find_init+0x86/0x230 [ 45.752834][ T9787] Code: c1 ea 03 80 3c 02 00 0f 85 9a 01 00 00 4c 8d 6b 40 48 c7 45 18 00 00 00 00 48 b8 00 00 00 00 00 fc [ 45.755574][ T9787] RSP: 0018:ffffc90015157668 EFLAGS: 00010202 [ 45.756432][ T9787] RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffffff819a4d09 [ 45.757457][ T9787] RDX: 0000000000000008 RSI: ffffffff819acd3a RDI: ffffc900151576e8 [ 45.758282][ T9787] RBP: ffffc900151576d0 R08: 0000000000000005 R09: 0000000000000000 [ 45.758943][ T9787] R10: 0000000080000000 R11: 0000000000000001 R12: 0000000000000004 [ 45.759619][ T9787] R13: 0000000000000040 R14: ffff88802c50814a R15: 0000000000000000 [ 45.760293][ T9787] FS: 00007ffb72734540(0000) GS:ffff8880cec64000(0000) knlGS:0000000000000000 [ 45.761050][ T9787] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [ 45.761606][ T9787] ",
"evidence": "osv:CVE-2025-38716",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "6.6.103",
"evidence": "/affected/1/ranges"
},
{
"value": "6.12.43",
"evidence": "/affected/1/ranges"
},
{
"value": "6.15.11",
"evidence": "/affected/1/ranges"
},
{
"value": "6.16.2",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "CVE-2025-38716",
"aliases": [
"CVE-2025-38716"
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "434a964daa14b9db083ce20404a4a2add54d037a"
},
{
"fixed": "4f032979b63ad52e08aadf0faeac34ed35133ec0"
},
{
"fixed": "5d8b249527362e0ccafcaf76b3bec2a0d2aa1498"
},
{
"fixed": "b918c17a1934ac6309b0083f41d4e9d8fb3bb46c"
},
{
"fixed": "6e20e10064fdc43231636fca519c15c013a8e3d6"
},
{
"fixed": "736a0516a16268995f4898eded49bfef077af709"
}
]
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "2.6.27.60"
},
{
"fixed": "2.6.28"
}
]
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "2.6.32.51"
},
{
"fixed": "2.6.33"
}
]
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "2.6.34.14"
},
{
"fixed": "2.6.35"
}
]
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "3.0.14"
},
{
"fixed": "3.1"
}
]
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "3.1.6"
},
{
"fixed": "3.2"
}
]
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "3db7e32f7521df6f9b64a9b04abb00dd11ca5735"
}
]
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "34456bfafc2743a19eb148d56502f9a8c0dc6fcc"
}
]
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "9d6b8fa025237243e1782c358c83f20062d39fbe"
}
]
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "70f2545d9e75f9d8ed4bfe0a6efa232abd88806e"
}
]
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "9f0f2bb728f4e87568f89a5603f7d3b76ef6a3b9"
}
]
}
],
"versions": [
"v2.6.27.62",
"v2.6.27.61",
"v2.6.27.60",
"v2.6.32.71",
"v2.6.32.70",
"v2.6.32.69",
"v2.6.32.68",
"v2.6.32.67",
"v2.6.32.66",
"v2.6.32.65",
"v2.6.32.64",
"v2.6.32.63",
"v2.6.32.62",
"v2.6.32.61",
"v2.6.32.60",
"v2.6.32.59",
"v2.6.32.58",
"v2.6.32.57",
"v2.6.32.56",
"v2.6.32.55",
"v2.6.32.54",
"v2.6.32.53",
"v2.6.32.52",
"v2.6.32.51",
"v2.6.34.15",
"v2.6.34.14",
"v3.0.101",
"v3.0.100",
"v3.0.99",
"v3.0.98",
"v3.0.97",
"v3.0.96",
"v3.0.95",
"v3.0.94",
"v3.0.93",
"v3.0.92",
"v3.0.91",
"v3.0.90",
"v3.0.89",
"v3.0.88",
"v3.0.87",
"v3.0.86",
"v3.0.85",
"v3.0.84",
"v3.0.83",
"v3.0.82",
"v3.0.81",
"v3.0.80",
"v3.0.79",
"v3.0.78",
"v3.0.77",
"v3.0.76",
"v3.0.75",
"v3.0.74",
"v3.0.73",
"v3.0.72",
"v3.0.71",
"v3.0.70",
"v3.0.69",
"v3.0.68",
"v3.0.67",
"v3.0.66",
"v3.0.65",
"v3.0.64",
"v3.0.63",
"v3.0.62",
"v3.0.61",
"v3.0.60",
"v3.0.59",
"v3.0.58",
"v3.0.57",
"v3.0.56",
"v3.0.55",
"v3.0.54",
"v3.0.53",
"v3.0.52",
"v3.0.51",
"v3.0.50",
"v3.0.49",
"v3.0.48",
"v3.0.47",
"v3.0.46",
"v3.0.45",
"v3.0.44",
"v3.0.43",
"v3.0.42",
"v3.0.41",
"v3.0.40",
"v3.0.39",
"v3.0.38",
"v3.0.37",
"v3.0.36",
"v3.0.35",
"v3.0.34",
"v3.0.33",
"v3.0.32",
"v3.0.31",
"v3.0.30",
"v3.0.29",
"v3.0.28",
"v3.0.27",
"v3.0.26",
"v3.0.25",
"v3.0.24",
"v3.0.23",
"v3.0.22",
"v3.0.21",
"v3.0.20",
"v3.0.19",
"v3.0.18",
"v3.0.17",
"v3.0.16",
"v3.0.15",
"v3.0.14",
"v3.1.10",
"v3.1.9",
"v3.1.8",
"v3.1.7",
"v3.1.6"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-38716.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "3.2.0"
},
{
"fixed": "6.6.103"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.7.0"
},
{
"fixed": "6.12.43"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.13.0"
},
{
"fixed": "6.15.11"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.16.0"
},
{
"fixed": "6.16.2"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-38716.json"
}
}
],
"modified": "2026-10-28T02:30:41.540621365Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/4f032979b63ad52e08aadf0faeac34ed35133ec0",
"https://git.kernel.org/stable/c/5d8b249527362e0ccafcaf76b3bec2a0d2aa1498",
"https://git.kernel.org/stable/c/6e20e10064fdc43231636fca519c15c013a8e3d6",
"https://git.kernel.org/stable/c/736a0516a16268995f4898eded49bfef077af709",
"https://git.kernel.org/stable/c/b918c17a1934ac6309b0083f41d4e9d8fb3bb46c",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38716.json",
"https://nvd.nist.gov/vuln/detail/CVE-2025-38716",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38716.json"
}
},
"related_cves": [
{
"value": "CVE-2025-38716",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 509225,
"published_at": "2025-09-04T15:33:10.875+00:00"
}