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",
"id": "CVE-2025-22079-0b3c43c9",
"signature_version": "v1",
"digest": {
"length": 1649.0,
"function_hash": "236708372174738400148705342360589646012"
},
"target": {
"function": "__ocfs2_find_path",
"file": "fs/ocfs2/alloc.c"
},
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a406aff8c05115119127c962cbbbbd202e1973ef"
},
{
"signature_type": "Function",
"id": "CVE-2025-22079-13610640",
"signature_version": "v1",
"digest": {
"length": 1649.0,
"function_hash": "236708372174738400148705342360589646012"
},
"target": {
"function": "__ocfs2_find_path",
"file": "fs/ocfs2/alloc.c"
},
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@11e24802e73362aa2948ee16b8fb4e32635d5b2a"
},
{
"signature_type": "Function",
"id": "CVE-2025-22079-1bea4c3e",
"signature_version": "v1",
"digest": {
"length": 1649.0,
"function_hash": "236708372174738400148705342360589646012"
},
"target": {
"function": "__ocfs2_find_path",
"file": "fs/ocfs2/alloc.c"
},
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3d012ba4404a0bb517658699ba85e6abda386dc3"
},
{
"signature_type": "Function",
"id": "CVE-2025-22079-25a23a36",
"signature_version": "v1",
"digest": {
"length": 1649.0,
"function_hash": "236708372174738400148705342360589646012"
},
"target": {
"function": "__ocfs2_find_path",
"file": "fs/ocfs2/alloc.c"
},
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e95d97c9c8cd0c239b7b59c79be0f6a9dcf7905c"
},
{
"signature_type": "Line",
"id": "CVE-2025-22079-41f6bb1d",
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"193484047670209118163677027301455254349",
"128571575757516123493397818114343394600",
"119605533943906763527746606708255512886",
"156062171666452370831431277025324914586"
]
},
"target": {
"file": "fs/ocfs2/alloc.c"
},
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@11e24802e73362aa2948ee16b8fb4e32635d5b2a"
},
{
"signature_type": "Function",
"id": "CVE-2025-22079-4c556a5d",
"signature_version": "v1",
"digest": {
"length": 1649.0,
"function_hash": "236708372174738400148705342360589646012"
},
"target": {
"function": "__ocfs2_find_path",
"file": "fs/ocfs2/alloc.c"
},
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@49d2a2ea9d30991bae82107f9523915b91637683"
},
{
"signature_type": "Line",
"id": "CVE-2025-22079-5aa621d3",
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"193484047670209118163677027301455254349",
"128571575757516123493397818114343394600",
"119605533943906763527746606708255512886",
"156062171666452370831431277025324914586"
]
},
"target": {
"file": "fs/ocfs2/alloc.c"
},
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b942f88fe7d2d789e51c5c30a675fa1c126f5a6d"
},
{
"signature_type": "Function",
"id": "CVE-2025-22079-66aa5433",
"signature_version": "v1",
"digest": {
"length": 1649.0,
"function_hash": "236708372174738400148705342360589646012"
},
"target": {
"function": "__ocfs2_find_path",
"file": "fs/ocfs2/alloc.c"
},
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@17c99ab3db2ba74096d36c69daa6e784e98fc0b8"
},
{
"signature_type": "Line",
"id": "CVE-2025-22079-71cb7511",
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"193484047670209118163677027301455254349",
"128571575757516123493397818114343394600",
"119605533943906763527746606708255512886",
"156062171666452370831431277025324914586"
]
},
"target": {
"file": "fs/ocfs2/alloc.c"
},
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@ef34840bda333fe99bafbd2d73b70ceaaf9eba66"
},
{
"signature_type": "Line",
"id": "CVE-2025-22079-77660be3",
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"193484047670209118163677027301455254349",
"128571575757516123493397818114343394600",
"119605533943906763527746606708255512886",
"156062171666452370831431277025324914586"
]
},
"target": {
"file": "fs/ocfs2/alloc.c"
},
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@17c99ab3db2ba74096d36c69daa6e784e98fc0b8"
},
{
"signature_type": "Function",
"id": "CVE-2025-22079-b4985792",
"signature_version": "v1",
"digest": {
"length": 1649.0,
"function_hash": "236708372174738400148705342360589646012"
},
"target": {
"function": "__ocfs2_find_path",
"file": "fs/ocfs2/alloc.c"
},
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@ef34840bda333fe99bafbd2d73b70ceaaf9eba66"
},
{
"signature_type": "Line",
"id": "CVE-2025-22079-bd994792",
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"193484047670209118163677027301455254349",
"128571575757516123493397818114343394600",
"119605533943906763527746606708255512886",
"156062171666452370831431277025324914586"
]
},
"target": {
"file": "fs/ocfs2/alloc.c"
},
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@49d2a2ea9d30991bae82107f9523915b91637683"
},
{
"signature_type": "Line",
"id": "CVE-2025-22079-c5b683cd",
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"193484047670209118163677027301455254349",
"128571575757516123493397818114343394600",
"119605533943906763527746606708255512886",
"156062171666452370831431277025324914586"
]
},
"target": {
"file": "fs/ocfs2/alloc.c"
},
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e95d97c9c8cd0c239b7b59c79be0f6a9dcf7905c"
},
{
"signature_type": "Line",
"id": "CVE-2025-22079-ca347102",
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"193484047670209118163677027301455254349",
"128571575757516123493397818114343394600",
"119605533943906763527746606708255512886",
"156062171666452370831431277025324914586"
]
},
"target": {
"file": "fs/ocfs2/alloc.c"
},
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@538ed8b049ef801a86c543433e5061a91cc106e3"
},
{
"signature_type": "Function",
"id": "CVE-2025-22079-d739b72e",
"signature_version": "v1",
"digest": {
"length": 1649.0,
"function_hash": "236708372174738400148705342360589646012"
},
"target": {
"function": "__ocfs2_find_path",
"file": "fs/ocfs2/alloc.c"
},
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@538ed8b049ef801a86c543433e5061a91cc106e3"
},
{
"signature_type": "Line",
"id": "CVE-2025-22079-f57e737a",
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"193484047670209118163677027301455254349",
"128571575757516123493397818114343394600",
"119605533943906763527746606708255512886",
"156062171666452370831431277025324914586"
]
},
"target": {
"file": "fs/ocfs2/alloc.c"
},
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3d012ba4404a0bb517658699ba85e6abda386dc3"
},
{
"signature_type": "Line",
"id": "CVE-2025-22079-f5a6a9ed",
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"193484047670209118163677027301455254349",
"128571575757516123493397818114343394600",
"119605533943906763527746606708255512886",
"156062171666452370831431277025324914586"
]
},
"target": {
"file": "fs/ocfs2/alloc.c"
},
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a406aff8c05115119127c962cbbbbd202e1973ef"
},
{
"signature_type": "Function",
"id": "CVE-2025-22079-fd18214e",
"signature_version": "v1",
"digest": {
"length": 1649.0,
"function_hash": "236708372174738400148705342360589646012"
},
"target": {
"function": "__ocfs2_find_path",
"file": "fs/ocfs2/alloc.c"
},
"deprecated": false,
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b942f88fe7d2d789e51c5c30a675fa1c126f5a6d"
}
]