In the Linux kernel, the following vulnerability has been resolved:
ceph: fix memory leak in cephreaddir when notelast_dentry returns error
Reset the lastreaddir at the same time, and add a comment explaining why we don't free lastreaddir when dir_emit returns false.
[
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@f639d9867eea647005dc824e0e24f39ffc50d4e4",
"id": "CVE-2022-49107-070963a6",
"deprecated": false,
"signature_version": "v1",
"target": {
"function": "ceph_readdir",
"file": "fs/ceph/dir.c"
},
"signature_type": "Function",
"digest": {
"length": 6691.0,
"function_hash": "39842682521566324695194743004171097284"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@f4429786129648a8f4bb1e5faa143c4478cc5c4a",
"id": "CVE-2022-49107-16d751d1",
"deprecated": false,
"signature_version": "v1",
"target": {
"file": "fs/ceph/dir.c"
},
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"87748018387131743027844521150941286981",
"297899393039180836104297624097774084975",
"164164307763525227043970719888832066573",
"301680574353529506533502933214878759849",
"98040415576319059061747031977561320816",
"185624780121440339707083838253061074183",
"156755741158351134546271814246325140555",
"143746012927101528495125299333796495800",
"86522696348539164540571568507812470034"
]
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2fe82d3254029ef9ec4e7be890125d5ef4f537de",
"id": "CVE-2022-49107-2aa7b6ed",
"deprecated": false,
"signature_version": "v1",
"target": {
"file": "fs/ceph/dir.c"
},
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"87748018387131743027844521150941286981",
"297899393039180836104297624097774084975",
"164164307763525227043970719888832066573",
"301680574353529506533502933214878759849",
"98040415576319059061747031977561320816",
"185624780121440339707083838253061074183",
"156755741158351134546271814246325140555",
"143746012927101528495125299333796495800",
"86522696348539164540571568507812470034"
]
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e792575b902a3939ca482491ee9fb3a236f99640",
"id": "CVE-2022-49107-482e7e28",
"deprecated": false,
"signature_version": "v1",
"target": {
"function": "ceph_readdir",
"file": "fs/ceph/dir.c"
},
"signature_type": "Function",
"digest": {
"length": 6691.0,
"function_hash": "39842682521566324695194743004171097284"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@f639d9867eea647005dc824e0e24f39ffc50d4e4",
"id": "CVE-2022-49107-7c35cd3a",
"deprecated": false,
"signature_version": "v1",
"target": {
"file": "fs/ceph/dir.c"
},
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"87748018387131743027844521150941286981",
"297899393039180836104297624097774084975",
"164164307763525227043970719888832066573",
"301680574353529506533502933214878759849",
"98040415576319059061747031977561320816",
"185624780121440339707083838253061074183",
"156755741158351134546271814246325140555",
"143746012927101528495125299333796495800",
"86522696348539164540571568507812470034"
]
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7f740ede35132d3d5d19747cad56a511d21bb156",
"id": "CVE-2022-49107-8fd20af6",
"deprecated": false,
"signature_version": "v1",
"target": {
"function": "ceph_readdir",
"file": "fs/ceph/dir.c"
},
"signature_type": "Function",
"digest": {
"length": 6691.0,
"function_hash": "39842682521566324695194743004171097284"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@e792575b902a3939ca482491ee9fb3a236f99640",
"id": "CVE-2022-49107-b887b5bc",
"deprecated": false,
"signature_version": "v1",
"target": {
"file": "fs/ceph/dir.c"
},
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"87748018387131743027844521150941286981",
"297899393039180836104297624097774084975",
"164164307763525227043970719888832066573",
"301680574353529506533502933214878759849",
"98040415576319059061747031977561320816",
"185624780121440339707083838253061074183",
"156755741158351134546271814246325140555",
"143746012927101528495125299333796495800",
"86522696348539164540571568507812470034"
]
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@2fe82d3254029ef9ec4e7be890125d5ef4f537de",
"id": "CVE-2022-49107-dba983d7",
"deprecated": false,
"signature_version": "v1",
"target": {
"function": "ceph_readdir",
"file": "fs/ceph/dir.c"
},
"signature_type": "Function",
"digest": {
"length": 6691.0,
"function_hash": "39842682521566324695194743004171097284"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@f4429786129648a8f4bb1e5faa143c4478cc5c4a",
"id": "CVE-2022-49107-df9f1c21",
"deprecated": false,
"signature_version": "v1",
"target": {
"function": "ceph_readdir",
"file": "fs/ceph/dir.c"
},
"signature_type": "Function",
"digest": {
"length": 6691.0,
"function_hash": "39842682521566324695194743004171097284"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7f740ede35132d3d5d19747cad56a511d21bb156",
"id": "CVE-2022-49107-e9a8fc9b",
"deprecated": false,
"signature_version": "v1",
"target": {
"file": "fs/ceph/dir.c"
},
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"87748018387131743027844521150941286981",
"297899393039180836104297624097774084975",
"164164307763525227043970719888832066573",
"301680574353529506533502933214878759849",
"98040415576319059061747031977561320816",
"185624780121440339707083838253061074183",
"156755741158351134546271814246325140555",
"143746012927101528495125299333796495800",
"86522696348539164540571568507812470034"
]
}
}
]