In nftflushtable of nftablesapi.c, there is a possible way to corrupt memory due to a double free. This could lead to local escalation of privilege with System execution privileges needed. User interaction is not needed for exploitation.
{
"types": [
"EoP"
],
"spl": "2022-06-05",
"severity": "Moderate",
"vanir_signatures": [
{
"id": "PUB-A-197614484-44856747",
"source": "https://android.googlesource.com/kernel/common/+/8f4dc50b5c12e159",
"deprecated": false,
"signature_version": "v1",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"16499807788155931427744795268877489223",
"204534404321698258421847161585289544881",
"187554030087676587629183073256954601280",
"307719300518042427890433005594967079423",
"83442853727861301252738097874087701206",
"110334422007884509995933032182736069341",
"208134823330899312737252866681491368932",
"299702700535875746707811785754279091631",
"308493595990117255577017759205537877921"
]
},
"target": {
"file": "net/netfilter/nf_tables_api.c"
}
},
{
"id": "PUB-A-197614484-6a74328f",
"source": "https://android.googlesource.com/kernel/common/+/8f4dc50b5c12e159",
"deprecated": false,
"signature_version": "v1",
"signature_type": "Function",
"digest": {
"function_hash": "34866843053721100836634346017966600930",
"length": 1128.0
},
"target": {
"function": "nft_flush_table",
"file": "net/netfilter/nf_tables_api.c"
}
}
],
"fixes": [
"https://android.googlesource.com/kernel/common/+/8f4dc50b5c12e159"
]
}