In the Linux kernel, the following vulnerability has been resolved:
ext4: fix memory leaks in ext4fname{setupfilename,preparelookup}
If the filename casefolding fails, we'll be leaking memory from the fscryptname struct, namely from the 'cryptobuf.name' member.
Make sure we free it in the error path on both ext4fnamesetupfilename() and ext4fnamepreparelookup() functions.
{
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53662.json"
}"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-53662.json"
[
{
"id": "CVE-2023-53662-10c76c54",
"digest": {
"threshold": 0.9,
"line_hashes": [
"234303864672784226971590459716826136905",
"79141283492475713285036908647390665632",
"242851236505122630731362097885262176098",
"68710739092997693461305861623660373007",
"5410772503608436394162142844241921556",
"28915328766742558729032341743665346501",
"206550691744661000703793946982390120670",
"239502242531410848545231001112051635420"
]
},
"signature_type": "Line",
"target": {
"file": "fs/ext4/crypto.c"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@36daf050be3f6f067631dc52054de2d3b7cc849f",
"deprecated": false
},
{
"id": "CVE-2023-53662-134f671c",
"digest": {
"length": 296.0,
"function_hash": "145148978999904435393535543471145434090"
},
"signature_type": "Function",
"target": {
"file": "fs/ext4/crypto.c",
"function": "ext4_fname_prepare_lookup"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1fb3f1bbfdb511034b0360dbeb0f6a8424ed2a5c",
"deprecated": false
},
{
"id": "CVE-2023-53662-1823f66b",
"digest": {
"threshold": 0.9,
"line_hashes": [
"322582870873617482983180514108305262454",
"281623265029263378743346859977595728423",
"256168113446180340434238929941655510517",
"16593946042948398353580663946261962631",
"203969910009578419829235986129889764440",
"147909387926630636096167674942840473648",
"68710739092997693461305861623660373007",
"288175849806678577732257323221791050315",
"103467592038631616738883681833005675669",
"52497949411892226779105933365551638514",
"239502242531410848545231001112051635420",
"194516624229297601096950103424168878627",
"64087862026793872470487681829476254595",
"110341873649823637460500152568202418319",
"153485131122516621750982153543055037664",
"176193987654513903071422335397036457903",
"323014759631891025299056494666300202835",
"48975440476624109402541739828273135101",
"118442014172947492262232328443618706703",
"98087185861174448336878330137382081206",
"243447165651560211270381987389037286590",
"113335823793980052166469526920800433594",
"27996277295875321020974752104232207964",
"159397571535428590229301229096155759611",
"268855580647909651760626925698237326094",
"139135466645133446603331828983872315276",
"41724371926628434517426376839767907166"
]
},
"signature_type": "Line",
"target": {
"file": "fs/ext4/ext4.h"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@98fc9c2cc45cfcb56961a73de3ec69b474063fc0",
"deprecated": false
},
{
"id": "CVE-2023-53662-1bba13ae",
"digest": {
"threshold": 0.9,
"line_hashes": [
"234303864672784226971590459716826136905",
"79141283492475713285036908647390665632",
"242851236505122630731362097885262176098",
"68710739092997693461305861623660373007",
"5410772503608436394162142844241921556",
"28915328766742558729032341743665346501",
"206550691744661000703793946982390120670",
"239502242531410848545231001112051635420"
]
},
"signature_type": "Line",
"target": {
"file": "fs/ext4/crypto.c"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1fb3f1bbfdb511034b0360dbeb0f6a8424ed2a5c",
"deprecated": false
},
{
"id": "CVE-2023-53662-3635752d",
"digest": {
"length": 301.0,
"function_hash": "65324245118331055337228049745484980027"
},
"signature_type": "Function",
"target": {
"file": "fs/ext4/ext4.h",
"function": "ext4_fname_prepare_lookup"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@98fc9c2cc45cfcb56961a73de3ec69b474063fc0",
"deprecated": false
},
{
"id": "CVE-2023-53662-5be522f4",
"digest": {
"length": 296.0,
"function_hash": "145148978999904435393535543471145434090"
},
"signature_type": "Function",
"target": {
"file": "fs/ext4/crypto.c",
"function": "ext4_fname_prepare_lookup"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7ca4b085f430f3774c3838b3da569ceccd6a0177",
"deprecated": false
},
{
"id": "CVE-2023-53662-5d2001e6",
"digest": {
"length": 312.0,
"function_hash": "287385201824056926180607956719746711583"
},
"signature_type": "Function",
"target": {
"file": "fs/ext4/crypto.c",
"function": "ext4_fname_setup_filename"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7ca4b085f430f3774c3838b3da569ceccd6a0177",
"deprecated": false
},
{
"id": "CVE-2023-53662-5f61c866",
"digest": {
"threshold": 0.9,
"line_hashes": [
"234303864672784226971590459716826136905",
"79141283492475713285036908647390665632",
"242851236505122630731362097885262176098",
"68710739092997693461305861623660373007",
"5410772503608436394162142844241921556",
"28915328766742558729032341743665346501",
"206550691744661000703793946982390120670",
"239502242531410848545231001112051635420"
]
},
"signature_type": "Line",
"target": {
"file": "fs/ext4/crypto.c"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7ca4b085f430f3774c3838b3da569ceccd6a0177",
"deprecated": false
},
{
"id": "CVE-2023-53662-8982eb3c",
"digest": {
"length": 296.0,
"function_hash": "145148978999904435393535543471145434090"
},
"signature_type": "Function",
"target": {
"file": "fs/ext4/crypto.c",
"function": "ext4_fname_prepare_lookup"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@36daf050be3f6f067631dc52054de2d3b7cc849f",
"deprecated": false
},
{
"id": "CVE-2023-53662-a443366b",
"digest": {
"length": 317.0,
"function_hash": "34765375957789218999938795559987837394"
},
"signature_type": "Function",
"target": {
"file": "fs/ext4/ext4.h",
"function": "ext4_fname_setup_filename"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@98fc9c2cc45cfcb56961a73de3ec69b474063fc0",
"deprecated": false
},
{
"id": "CVE-2023-53662-d850305b",
"digest": {
"length": 312.0,
"function_hash": "287385201824056926180607956719746711583"
},
"signature_type": "Function",
"target": {
"file": "fs/ext4/crypto.c",
"function": "ext4_fname_setup_filename"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@1fb3f1bbfdb511034b0360dbeb0f6a8424ed2a5c",
"deprecated": false
},
{
"id": "CVE-2023-53662-e595c139",
"digest": {
"length": 312.0,
"function_hash": "287385201824056926180607956719746711583"
},
"signature_type": "Function",
"target": {
"file": "fs/ext4/crypto.c",
"function": "ext4_fname_setup_filename"
},
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@36daf050be3f6f067631dc52054de2d3b7cc849f",
"deprecated": false
}
]