In the Linux kernel, the following vulnerability has been resolved:
net/smc: check v2extoffset/eidcnt/ismgid_cnt when receiving proposal msg
When receiving proposal msg in server, the fields v2extoffset/ eidcnt/ismgidcnt in proposal msg are from the remote client and can not be fully trusted. Especially the field v2ext_offset, once exceed the max value, there has the chance to access wrong address, and crash may happen.
This patch checks the fields v2extoffset/eidcnt/ismgid_cnt before using them.
[
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"function_hash": "1870292945537675156512157701112626631",
"length": 1336.0
},
"id": "CVE-2024-49568-0345f9c4",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@295a92e3df32e72aff0f4bc25c310e349d07ffbf",
"target": {
"file": "net/smc/af_smc.c",
"function": "smc_find_rdma_v2_device_serv"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"function_hash": "177703179572212957664810212119129815142",
"length": 298.0
},
"id": "CVE-2024-49568-06620049",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@295a92e3df32e72aff0f4bc25c310e349d07ffbf",
"target": {
"file": "net/smc/smc_clc.h",
"function": "smc_get_clc_v2_ext"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"109345278224930133096903002835514984580",
"138079280322008621682742913211087418572",
"280766311058817991533186329014816248016",
"108491298748715497869140300071559811953"
]
},
"id": "CVE-2024-49568-0a520443",
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7863c9f3d24ba49dbead7e03dfbe40deb5888fdf",
"target": {
"file": "net/smc/af_smc.c"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"function_hash": "1870292945537675156512157701112626631",
"length": 1336.0
},
"id": "CVE-2024-49568-1f5db4a0",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@42f6beb2d5779429417b5f8115a4e3fa695d2a6c",
"target": {
"file": "net/smc/af_smc.c",
"function": "smc_find_rdma_v2_device_serv"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"67351709616596157418342034455617755434",
"213278234263678131731520466084788674999",
"236012483255719910565828676519813475738",
"225703758986821659765555943542567274527",
"109144583777346978687084157564526833059",
"265069641545940594345877357650531192127",
"193337372881893928347067545108765690456",
"165863723098329556814490723680095629860"
]
},
"id": "CVE-2024-49568-2191adc4",
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@295a92e3df32e72aff0f4bc25c310e349d07ffbf",
"target": {
"file": "net/smc/smc_clc.c"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"function_hash": "90145872051921243289566070249933143197",
"length": 964.0
},
"id": "CVE-2024-49568-3193ca93",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@295a92e3df32e72aff0f4bc25c310e349d07ffbf",
"target": {
"file": "net/smc/smc_clc.c",
"function": "smc_clc_msg_prop_valid"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"function_hash": "177703179572212957664810212119129815142",
"length": 298.0
},
"id": "CVE-2024-49568-43dc2238",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@42f6beb2d5779429417b5f8115a4e3fa695d2a6c",
"target": {
"file": "net/smc/smc_clc.h",
"function": "smc_get_clc_v2_ext"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"230766815980930256013937285471475335453",
"207295028667246676704957027111654058186",
"19792493122386602875412571278492523568",
"320327425251530727183973927616921274568",
"23513149253462693268306395363539126549"
]
},
"id": "CVE-2024-49568-645f7a35",
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7863c9f3d24ba49dbead7e03dfbe40deb5888fdf",
"target": {
"file": "net/smc/smc_clc.h"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"67351709616596157418342034455617755434",
"213278234263678131731520466084788674999",
"236012483255719910565828676519813475738",
"225703758986821659765555943542567274527",
"109144583777346978687084157564526833059",
"265069641545940594345877357650531192127",
"193337372881893928347067545108765690456",
"165863723098329556814490723680095629860"
]
},
"id": "CVE-2024-49568-651a706b",
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7863c9f3d24ba49dbead7e03dfbe40deb5888fdf",
"target": {
"file": "net/smc/smc_clc.c"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"230766815980930256013937285471475335453",
"207295028667246676704957027111654058186",
"19792493122386602875412571278492523568",
"320327425251530727183973927616921274568",
"23513149253462693268306395363539126549"
]
},
"id": "CVE-2024-49568-94e4da10",
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@42f6beb2d5779429417b5f8115a4e3fa695d2a6c",
"target": {
"file": "net/smc/smc_clc.h"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"function_hash": "1870292945537675156512157701112626631",
"length": 1336.0
},
"id": "CVE-2024-49568-d7529d02",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7863c9f3d24ba49dbead7e03dfbe40deb5888fdf",
"target": {
"file": "net/smc/af_smc.c",
"function": "smc_find_rdma_v2_device_serv"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"67351709616596157418342034455617755434",
"213278234263678131731520466084788674999",
"236012483255719910565828676519813475738",
"225703758986821659765555943542567274527",
"109144583777346978687084157564526833059",
"265069641545940594345877357650531192127",
"193337372881893928347067545108765690456",
"165863723098329556814490723680095629860"
]
},
"id": "CVE-2024-49568-d8b2f6c8",
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@42f6beb2d5779429417b5f8115a4e3fa695d2a6c",
"target": {
"file": "net/smc/smc_clc.c"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"function_hash": "90145872051921243289566070249933143197",
"length": 964.0
},
"id": "CVE-2024-49568-e226b14a",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@42f6beb2d5779429417b5f8115a4e3fa695d2a6c",
"target": {
"file": "net/smc/smc_clc.c",
"function": "smc_clc_msg_prop_valid"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"109345278224930133096903002835514984580",
"138079280322008621682742913211087418572",
"280766311058817991533186329014816248016",
"108491298748715497869140300071559811953"
]
},
"id": "CVE-2024-49568-e7fb8580",
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@42f6beb2d5779429417b5f8115a4e3fa695d2a6c",
"target": {
"file": "net/smc/af_smc.c"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"function_hash": "90145872051921243289566070249933143197",
"length": 964.0
},
"id": "CVE-2024-49568-e897e843",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7863c9f3d24ba49dbead7e03dfbe40deb5888fdf",
"target": {
"file": "net/smc/smc_clc.c",
"function": "smc_clc_msg_prop_valid"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"230766815980930256013937285471475335453",
"207295028667246676704957027111654058186",
"19792493122386602875412571278492523568",
"320327425251530727183973927616921274568",
"23513149253462693268306395363539126549"
]
},
"id": "CVE-2024-49568-ecfc525f",
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@295a92e3df32e72aff0f4bc25c310e349d07ffbf",
"target": {
"file": "net/smc/smc_clc.h"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"function_hash": "177703179572212957664810212119129815142",
"length": 298.0
},
"id": "CVE-2024-49568-f73a347b",
"signature_type": "Function",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7863c9f3d24ba49dbead7e03dfbe40deb5888fdf",
"target": {
"file": "net/smc/smc_clc.h",
"function": "smc_get_clc_v2_ext"
}
},
{
"deprecated": false,
"signature_version": "v1",
"digest": {
"threshold": 0.9,
"line_hashes": [
"109345278224930133096903002835514984580",
"138079280322008621682742913211087418572",
"280766311058817991533186329014816248016",
"108491298748715497869140300071559811953"
]
},
"id": "CVE-2024-49568-f960218c",
"signature_type": "Line",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@295a92e3df32e72aff0f4bc25c310e349d07ffbf",
"target": {
"file": "net/smc/af_smc.c"
}
}
]