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.
{
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/52xxx/CVE-2023-52927.json"
}"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-52927.json"
[
{
"signature_type": "Line",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4914109a8e1e494c6aa9852f9e84ec77a5fc643f",
"digest": {
"line_hashes": [
"228750281098312947003085664347667926710",
"301994370140900696609735385470094657831",
"215384853548945658142872408159428758503",
"279889418303842533349964739138271724626",
"108706389730499368172522871365055473421",
"185429587397905950068178262939282176716",
"183540577982566797943167382465495744892",
"188678778271249597756911515439958217795"
],
"threshold": 0.9
},
"id": "CVE-2023-52927-08cca45e",
"deprecated": false,
"target": {
"file": "net/netfilter/nf_conntrack_expect.c"
}
},
{
"signature_type": "Function",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3fa58a6fbd1e9e5682d09cdafb08fba004cb12ec",
"digest": {
"function_hash": "34119150258317526648568946848140543665",
"length": 333.0
},
"id": "CVE-2023-52927-12a1f6fd",
"deprecated": false,
"target": {
"file": "net/netfilter/nft_ct.c",
"function": "nft_ct_tmpl_alloc_pcpu"
}
},
{
"signature_type": "Function",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4914109a8e1e494c6aa9852f9e84ec77a5fc643f",
"digest": {
"function_hash": "54655039955847891789801262754058922533",
"length": 837.0
},
"id": "CVE-2023-52927-244af9ea",
"deprecated": false,
"target": {
"file": "net/netfilter/nf_conntrack_expect.c",
"function": "nf_ct_find_expectation"
}
},
{
"signature_type": "Line",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4914109a8e1e494c6aa9852f9e84ec77a5fc643f",
"digest": {
"line_hashes": [
"81178833188468319563751622949412684398",
"282849745805324806109150515749982589795",
"40103968226231221693407962193032052729",
"98343357933855234406072866820183332095"
],
"threshold": 0.9
},
"id": "CVE-2023-52927-34bdb78c",
"deprecated": false,
"target": {
"file": "net/netfilter/nf_conntrack_core.c"
}
},
{
"signature_type": "Line",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3fa58a6fbd1e9e5682d09cdafb08fba004cb12ec",
"digest": {
"line_hashes": [
"136060423791331593110439369014130298953",
"105326108311832383068026261778688986044",
"109553657121387931552902824127413702096",
"253444509716652244412618872456408573232",
"284432097826919804537535652834153782998",
"331902107481330227304924424799816537360",
"158239821325213822809324991161375894289"
],
"threshold": 0.9
},
"id": "CVE-2023-52927-5e8c386f",
"deprecated": false,
"target": {
"file": "net/netfilter/nft_ct.c"
}
},
{
"signature_type": "Function",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4914109a8e1e494c6aa9852f9e84ec77a5fc643f",
"digest": {
"function_hash": "259291779799305473877582334114295839434",
"length": 885.0
},
"id": "CVE-2023-52927-84d30dd9",
"deprecated": false,
"target": {
"file": "net/netfilter/nft_ct.c",
"function": "nft_ct_set_zone_eval"
}
},
{
"signature_type": "Function",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3fa58a6fbd1e9e5682d09cdafb08fba004cb12ec",
"digest": {
"function_hash": "282130119942355374816115690916184531158",
"length": 2061.0
},
"id": "CVE-2023-52927-86df771c",
"deprecated": false,
"target": {
"file": "net/netfilter/nf_conntrack_core.c",
"function": "init_conntrack"
}
},
{
"signature_type": "Line",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3fa58a6fbd1e9e5682d09cdafb08fba004cb12ec",
"digest": {
"line_hashes": [
"81178833188468319563751622949412684398",
"282849745805324806109150515749982589795",
"104428924303533891117691011121753212766",
"186489849911126129735069870160032312767"
],
"threshold": 0.9
},
"id": "CVE-2023-52927-af50d577",
"deprecated": false,
"target": {
"file": "net/netfilter/nf_conntrack_core.c"
}
},
{
"signature_type": "Function",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3fa58a6fbd1e9e5682d09cdafb08fba004cb12ec",
"digest": {
"function_hash": "54655039955847891789801262754058922533",
"length": 837.0
},
"id": "CVE-2023-52927-b1d13d3a",
"deprecated": false,
"target": {
"file": "net/netfilter/nf_conntrack_expect.c",
"function": "nf_ct_find_expectation"
}
},
{
"signature_type": "Function",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4914109a8e1e494c6aa9852f9e84ec77a5fc643f",
"digest": {
"function_hash": "31857549580956457000612915869384549994",
"length": 1954.0
},
"id": "CVE-2023-52927-b59deb86",
"deprecated": false,
"target": {
"file": "net/netfilter/nf_conntrack_core.c",
"function": "init_conntrack"
}
},
{
"signature_type": "Line",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3fa58a6fbd1e9e5682d09cdafb08fba004cb12ec",
"digest": {
"line_hashes": [
"126333514929699002323360445828459266983",
"260112486005603436627248786531543652834",
"334223714926955524838091350527672188860",
"317927858281631111838631420650250176588"
],
"threshold": 0.9
},
"id": "CVE-2023-52927-cbfbba66",
"deprecated": false,
"target": {
"file": "include/net/netfilter/nf_conntrack_expect.h"
}
},
{
"signature_type": "Function",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4914109a8e1e494c6aa9852f9e84ec77a5fc643f",
"digest": {
"function_hash": "34119150258317526648568946848140543665",
"length": 333.0
},
"id": "CVE-2023-52927-d5d542f4",
"deprecated": false,
"target": {
"file": "net/netfilter/nft_ct.c",
"function": "nft_ct_tmpl_alloc_pcpu"
}
},
{
"signature_type": "Function",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3fa58a6fbd1e9e5682d09cdafb08fba004cb12ec",
"digest": {
"function_hash": "259291779799305473877582334114295839434",
"length": 885.0
},
"id": "CVE-2023-52927-d86c1681",
"deprecated": false,
"target": {
"file": "net/netfilter/nft_ct.c",
"function": "nft_ct_set_zone_eval"
}
},
{
"signature_type": "Line",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4914109a8e1e494c6aa9852f9e84ec77a5fc643f",
"digest": {
"line_hashes": [
"136060423791331593110439369014130298953",
"105326108311832383068026261778688986044",
"109553657121387931552902824127413702096",
"253444509716652244412618872456408573232",
"284432097826919804537535652834153782998",
"331902107481330227304924424799816537360",
"158239821325213822809324991161375894289"
],
"threshold": 0.9
},
"id": "CVE-2023-52927-ef009255",
"deprecated": false,
"target": {
"file": "net/netfilter/nft_ct.c"
}
},
{
"signature_type": "Line",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@3fa58a6fbd1e9e5682d09cdafb08fba004cb12ec",
"digest": {
"line_hashes": [
"228750281098312947003085664347667926710",
"301994370140900696609735385470094657831",
"215384853548945658142872408159428758503",
"279889418303842533349964739138271724626",
"108706389730499368172522871365055473421",
"185429587397905950068178262939282176716",
"183540577982566797943167382465495744892",
"188678778271249597756911515439958217795"
],
"threshold": 0.9
},
"id": "CVE-2023-52927-efb120de",
"deprecated": false,
"target": {
"file": "net/netfilter/nf_conntrack_expect.c"
}
},
{
"signature_type": "Line",
"signature_version": "v1",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@4914109a8e1e494c6aa9852f9e84ec77a5fc643f",
"digest": {
"line_hashes": [
"126333514929699002323360445828459266983",
"260112486005603436627248786531543652834",
"334223714926955524838091350527672188860",
"317927858281631111838631420650250176588"
],
"threshold": 0.9
},
"id": "CVE-2023-52927-f2cda95e",
"deprecated": false,
"target": {
"file": "include/net/netfilter/nf_conntrack_expect.h"
}
}
]