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