In the Linux kernel, the following vulnerability has been resolved:
netfilter: nftables: fix percpu memory leak at nftables_addchain()
It seems to me that percpu memory for chain stats started leaking since commit 3bc158f8d0330f0a ("netfilter: nftables: map basechain priority to hardware priority") when nftchainoffloadpriority() returned an error.
[
{
"id": "CVE-2022-48642-2d7be8df",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9a4d6dd554b86e65581ef6b6638a39ae079b17ac",
"signature_version": "v1",
"digest": {
"length": 2840.0,
"function_hash": "42384173895106465877995026462746217463"
},
"target": {
"function": "nf_tables_addchain",
"file": "net/netfilter/nf_tables_api.c"
},
"signature_type": "Function",
"deprecated": false
},
{
"id": "CVE-2022-48642-5ba304bc",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@985b031667c3177b9e7fb9787b989628e4271714",
"signature_version": "v1",
"digest": {
"line_hashes": [
"204587774008535719788252580989962843675",
"123929436361683685537328161015063187912",
"121443924845365930011198963642849191692",
"115761660287870625849458945705454019517"
],
"threshold": 0.9
},
"target": {
"file": "net/netfilter/nf_tables_api.c"
},
"signature_type": "Line",
"deprecated": false
},
{
"id": "CVE-2022-48642-762bcf53",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b043a525a3f5520abb676a7cd8f6328fdf959e88",
"signature_version": "v1",
"digest": {
"line_hashes": [
"204587774008535719788252580989962843675",
"123929436361683685537328161015063187912",
"121443924845365930011198963642849191692",
"115761660287870625849458945705454019517"
],
"threshold": 0.9
},
"target": {
"file": "net/netfilter/nf_tables_api.c"
},
"signature_type": "Line",
"deprecated": false
},
{
"id": "CVE-2022-48642-963e8555",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@985b031667c3177b9e7fb9787b989628e4271714",
"signature_version": "v1",
"digest": {
"length": 2840.0,
"function_hash": "42384173895106465877995026462746217463"
},
"target": {
"function": "nf_tables_addchain",
"file": "net/netfilter/nf_tables_api.c"
},
"signature_type": "Function",
"deprecated": false
},
{
"id": "CVE-2022-48642-9a8f5878",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@9a4d6dd554b86e65581ef6b6638a39ae079b17ac",
"signature_version": "v1",
"digest": {
"line_hashes": [
"204587774008535719788252580989962843675",
"123929436361683685537328161015063187912",
"121443924845365930011198963642849191692",
"115761660287870625849458945705454019517"
],
"threshold": 0.9
},
"target": {
"file": "net/netfilter/nf_tables_api.c"
},
"signature_type": "Line",
"deprecated": false
},
{
"id": "CVE-2022-48642-bd389fef",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@08d7524f366a886b99b1630a24a27dd6e0d7f852",
"signature_version": "v1",
"digest": {
"line_hashes": [
"204587774008535719788252580989962843675",
"123929436361683685537328161015063187912",
"121443924845365930011198963642849191692",
"115761660287870625849458945705454019517"
],
"threshold": 0.9
},
"target": {
"file": "net/netfilter/nf_tables_api.c"
},
"signature_type": "Line",
"deprecated": false
},
{
"id": "CVE-2022-48642-e1836510",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@08d7524f366a886b99b1630a24a27dd6e0d7f852",
"signature_version": "v1",
"digest": {
"length": 2753.0,
"function_hash": "104845682151073677119969166992071285406"
},
"target": {
"function": "nf_tables_addchain",
"file": "net/netfilter/nf_tables_api.c"
},
"signature_type": "Function",
"deprecated": false
},
{
"id": "CVE-2022-48642-f20511fc",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b043a525a3f5520abb676a7cd8f6328fdf959e88",
"signature_version": "v1",
"digest": {
"length": 2729.0,
"function_hash": "59563857127883266507338232178145792328"
},
"target": {
"function": "nf_tables_addchain",
"file": "net/netfilter/nf_tables_api.c"
},
"signature_type": "Function",
"deprecated": false
}
]