In the Linux kernel, the following vulnerability has been resolved:
netfilter: allow exp not to be removed in nfctfind_expectation
Currently nfconntrackin() calling nfctfind_expectation() will remove the exp from the hash table. However, in some scenario, we expect the exp not to be removed when the created ct will not be confirmed, like in OVS and TC conntrack in the following patches.
This patch allows exp not to be removed by setting IPS_CONFIRMED in the status of the tmpl.
[
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4914109a8e1e494c6aa9852f9e84ec77a5fc643f",
"id": "CVE-2023-52927-08cca45e",
"deprecated": false,
"signature_version": "v1",
"target": {
"file": "net/netfilter/nf_conntrack_expect.c"
},
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"228750281098312947003085664347667926710",
"301994370140900696609735385470094657831",
"215384853548945658142872408159428758503",
"279889418303842533349964739138271724626",
"108706389730499368172522871365055473421",
"185429587397905950068178262939282176716",
"183540577982566797943167382465495744892",
"188678778271249597756911515439958217795"
]
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3fa58a6fbd1e9e5682d09cdafb08fba004cb12ec",
"id": "CVE-2023-52927-12a1f6fd",
"deprecated": false,
"signature_version": "v1",
"target": {
"function": "nft_ct_tmpl_alloc_pcpu",
"file": "net/netfilter/nft_ct.c"
},
"signature_type": "Function",
"digest": {
"length": 333.0,
"function_hash": "34119150258317526648568946848140543665"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4914109a8e1e494c6aa9852f9e84ec77a5fc643f",
"id": "CVE-2023-52927-244af9ea",
"deprecated": false,
"signature_version": "v1",
"target": {
"function": "nf_ct_find_expectation",
"file": "net/netfilter/nf_conntrack_expect.c"
},
"signature_type": "Function",
"digest": {
"length": 837.0,
"function_hash": "54655039955847891789801262754058922533"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4914109a8e1e494c6aa9852f9e84ec77a5fc643f",
"id": "CVE-2023-52927-34bdb78c",
"deprecated": false,
"signature_version": "v1",
"target": {
"file": "net/netfilter/nf_conntrack_core.c"
},
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"81178833188468319563751622949412684398",
"282849745805324806109150515749982589795",
"40103968226231221693407962193032052729",
"98343357933855234406072866820183332095"
]
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3fa58a6fbd1e9e5682d09cdafb08fba004cb12ec",
"id": "CVE-2023-52927-5e8c386f",
"deprecated": false,
"signature_version": "v1",
"target": {
"file": "net/netfilter/nft_ct.c"
},
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"136060423791331593110439369014130298953",
"105326108311832383068026261778688986044",
"109553657121387931552902824127413702096",
"253444509716652244412618872456408573232",
"284432097826919804537535652834153782998",
"331902107481330227304924424799816537360",
"158239821325213822809324991161375894289"
]
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4914109a8e1e494c6aa9852f9e84ec77a5fc643f",
"id": "CVE-2023-52927-84d30dd9",
"deprecated": false,
"signature_version": "v1",
"target": {
"function": "nft_ct_set_zone_eval",
"file": "net/netfilter/nft_ct.c"
},
"signature_type": "Function",
"digest": {
"length": 885.0,
"function_hash": "259291779799305473877582334114295839434"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3fa58a6fbd1e9e5682d09cdafb08fba004cb12ec",
"id": "CVE-2023-52927-86df771c",
"deprecated": false,
"signature_version": "v1",
"target": {
"function": "init_conntrack",
"file": "net/netfilter/nf_conntrack_core.c"
},
"signature_type": "Function",
"digest": {
"length": 2061.0,
"function_hash": "282130119942355374816115690916184531158"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3fa58a6fbd1e9e5682d09cdafb08fba004cb12ec",
"id": "CVE-2023-52927-af50d577",
"deprecated": false,
"signature_version": "v1",
"target": {
"file": "net/netfilter/nf_conntrack_core.c"
},
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"81178833188468319563751622949412684398",
"282849745805324806109150515749982589795",
"104428924303533891117691011121753212766",
"186489849911126129735069870160032312767"
]
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3fa58a6fbd1e9e5682d09cdafb08fba004cb12ec",
"id": "CVE-2023-52927-b1d13d3a",
"deprecated": false,
"signature_version": "v1",
"target": {
"function": "nf_ct_find_expectation",
"file": "net/netfilter/nf_conntrack_expect.c"
},
"signature_type": "Function",
"digest": {
"length": 837.0,
"function_hash": "54655039955847891789801262754058922533"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4914109a8e1e494c6aa9852f9e84ec77a5fc643f",
"id": "CVE-2023-52927-b59deb86",
"deprecated": false,
"signature_version": "v1",
"target": {
"function": "init_conntrack",
"file": "net/netfilter/nf_conntrack_core.c"
},
"signature_type": "Function",
"digest": {
"length": 1954.0,
"function_hash": "31857549580956457000612915869384549994"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3fa58a6fbd1e9e5682d09cdafb08fba004cb12ec",
"id": "CVE-2023-52927-cbfbba66",
"deprecated": false,
"signature_version": "v1",
"target": {
"file": "include/net/netfilter/nf_conntrack_expect.h"
},
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"126333514929699002323360445828459266983",
"260112486005603436627248786531543652834",
"334223714926955524838091350527672188860",
"317927858281631111838631420650250176588"
]
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4914109a8e1e494c6aa9852f9e84ec77a5fc643f",
"id": "CVE-2023-52927-d5d542f4",
"deprecated": false,
"signature_version": "v1",
"target": {
"function": "nft_ct_tmpl_alloc_pcpu",
"file": "net/netfilter/nft_ct.c"
},
"signature_type": "Function",
"digest": {
"length": 333.0,
"function_hash": "34119150258317526648568946848140543665"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3fa58a6fbd1e9e5682d09cdafb08fba004cb12ec",
"id": "CVE-2023-52927-d86c1681",
"deprecated": false,
"signature_version": "v1",
"target": {
"function": "nft_ct_set_zone_eval",
"file": "net/netfilter/nft_ct.c"
},
"signature_type": "Function",
"digest": {
"length": 885.0,
"function_hash": "259291779799305473877582334114295839434"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4914109a8e1e494c6aa9852f9e84ec77a5fc643f",
"id": "CVE-2023-52927-ef009255",
"deprecated": false,
"signature_version": "v1",
"target": {
"file": "net/netfilter/nft_ct.c"
},
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"136060423791331593110439369014130298953",
"105326108311832383068026261778688986044",
"109553657121387931552902824127413702096",
"253444509716652244412618872456408573232",
"284432097826919804537535652834153782998",
"331902107481330227304924424799816537360",
"158239821325213822809324991161375894289"
]
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3fa58a6fbd1e9e5682d09cdafb08fba004cb12ec",
"id": "CVE-2023-52927-efb120de",
"deprecated": false,
"signature_version": "v1",
"target": {
"file": "net/netfilter/nf_conntrack_expect.c"
},
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"228750281098312947003085664347667926710",
"301994370140900696609735385470094657831",
"215384853548945658142872408159428758503",
"279889418303842533349964739138271724626",
"108706389730499368172522871365055473421",
"185429587397905950068178262939282176716",
"183540577982566797943167382465495744892",
"188678778271249597756911515439958217795"
]
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4914109a8e1e494c6aa9852f9e84ec77a5fc643f",
"id": "CVE-2023-52927-f2cda95e",
"deprecated": false,
"signature_version": "v1",
"target": {
"file": "include/net/netfilter/nf_conntrack_expect.h"
},
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"126333514929699002323360445828459266983",
"260112486005603436627248786531543652834",
"334223714926955524838091350527672188860",
"317927858281631111838631420650250176588"
]
}
}
]