In the Linux kernel, the following vulnerability has been resolved:
ocfs2: validate ltreedepth to avoid out-of-bounds access
The ltreedepth field is 16-bit (_le16), but the actual maximum depth is limited to OCFS2MAXPATHDEPTH.
Add a check to prevent out-of-bounds access if ltreedepth has an invalid value, which may occur when reading from a corrupted mounted disk [1].
[
{
"signature_type": "Function",
"deprecated": false,
"target": {
"file": "fs/ocfs2/alloc.c",
"function": "__ocfs2_find_path"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@11e24802e73362aa2948ee16b8fb4e32635d5b2a",
"digest": {
"length": 1649.0,
"function_hash": "236708372174738400148705342360589646012"
},
"id": "CVE-2025-22079-13610640"
},
{
"signature_type": "Function",
"deprecated": false,
"target": {
"file": "fs/ocfs2/alloc.c",
"function": "__ocfs2_find_path"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3d012ba4404a0bb517658699ba85e6abda386dc3",
"digest": {
"length": 1649.0,
"function_hash": "236708372174738400148705342360589646012"
},
"id": "CVE-2025-22079-1bea4c3e"
},
{
"signature_type": "Function",
"deprecated": false,
"target": {
"file": "fs/ocfs2/alloc.c",
"function": "__ocfs2_find_path"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e95d97c9c8cd0c239b7b59c79be0f6a9dcf7905c",
"digest": {
"length": 1649.0,
"function_hash": "236708372174738400148705342360589646012"
},
"id": "CVE-2025-22079-25a23a36"
},
{
"signature_type": "Line",
"deprecated": false,
"target": {
"file": "fs/ocfs2/alloc.c"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@11e24802e73362aa2948ee16b8fb4e32635d5b2a",
"digest": {
"line_hashes": [
"193484047670209118163677027301455254349",
"128571575757516123493397818114343394600",
"119605533943906763527746606708255512886",
"156062171666452370831431277025324914586"
],
"threshold": 0.9
},
"id": "CVE-2025-22079-41f6bb1d"
},
{
"signature_type": "Function",
"deprecated": false,
"target": {
"file": "fs/ocfs2/alloc.c",
"function": "__ocfs2_find_path"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@17c99ab3db2ba74096d36c69daa6e784e98fc0b8",
"digest": {
"length": 1649.0,
"function_hash": "236708372174738400148705342360589646012"
},
"id": "CVE-2025-22079-66aa5433"
},
{
"signature_type": "Line",
"deprecated": false,
"target": {
"file": "fs/ocfs2/alloc.c"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@ef34840bda333fe99bafbd2d73b70ceaaf9eba66",
"digest": {
"line_hashes": [
"193484047670209118163677027301455254349",
"128571575757516123493397818114343394600",
"119605533943906763527746606708255512886",
"156062171666452370831431277025324914586"
],
"threshold": 0.9
},
"id": "CVE-2025-22079-71cb7511"
},
{
"signature_type": "Line",
"deprecated": false,
"target": {
"file": "fs/ocfs2/alloc.c"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@17c99ab3db2ba74096d36c69daa6e784e98fc0b8",
"digest": {
"line_hashes": [
"193484047670209118163677027301455254349",
"128571575757516123493397818114343394600",
"119605533943906763527746606708255512886",
"156062171666452370831431277025324914586"
],
"threshold": 0.9
},
"id": "CVE-2025-22079-77660be3"
},
{
"signature_type": "Function",
"deprecated": false,
"target": {
"file": "fs/ocfs2/alloc.c",
"function": "__ocfs2_find_path"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@ef34840bda333fe99bafbd2d73b70ceaaf9eba66",
"digest": {
"length": 1649.0,
"function_hash": "236708372174738400148705342360589646012"
},
"id": "CVE-2025-22079-b4985792"
},
{
"signature_type": "Line",
"deprecated": false,
"target": {
"file": "fs/ocfs2/alloc.c"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e95d97c9c8cd0c239b7b59c79be0f6a9dcf7905c",
"digest": {
"line_hashes": [
"193484047670209118163677027301455254349",
"128571575757516123493397818114343394600",
"119605533943906763527746606708255512886",
"156062171666452370831431277025324914586"
],
"threshold": 0.9
},
"id": "CVE-2025-22079-c5b683cd"
},
{
"signature_type": "Line",
"deprecated": false,
"target": {
"file": "fs/ocfs2/alloc.c"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3d012ba4404a0bb517658699ba85e6abda386dc3",
"digest": {
"line_hashes": [
"193484047670209118163677027301455254349",
"128571575757516123493397818114343394600",
"119605533943906763527746606708255512886",
"156062171666452370831431277025324914586"
],
"threshold": 0.9
},
"id": "CVE-2025-22079-f57e737a"
}
]