A use-after-free vulnerability in the Linux kernel's netfilter: nf_tables component can be exploited to achieve local privilege escalation.
The nftverdictinit() function allows positive values as drop error within the hook verdict, and hence the nfhookslow() function can cause a double free vulnerability when NFDROP is issued with a drop error which resembles NFACCEPT.
We recommend upgrading past commit f342de4e2f33e0e39165d8639387aa6c19dff660.
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-1086.json"
[
{
"digest": {
"function_hash": "52037573133864551215063376951794851667",
"length": 1516.0
},
"signature_version": "v1",
"target": {
"file": "net/netfilter/nf_tables_api.c",
"function": "nft_verdict_init"
},
"signature_type": "Function",
"id": "CVE-2024-1086-0e31467d",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@f342de4e2f33e0e39165d8639387aa6c19dff660",
"deprecated": false
},
{
"digest": {
"line_hashes": [
"277294132891000797433978903380538763600",
"113355117434710461022274926866503814092",
"181307216207640342122634005986987030227",
"13679372748136239760056357177045585285",
"129937626977250719938957357389523085136",
"316241296191263269625362515567833110419",
"214910942230508631129613654971468849017",
"259271952768780164293996009123442908294",
"10159363312468416494411373139083858061",
"39138469783930049179429855091633330594",
"193030550941920843721607474966270460346",
"173190320082889802618034757014096483234",
"73221783719303610173845764533083929960",
"281038362175588340708371141213203609983",
"50465500512884780904566645568770907985",
"140568804245588623230349428170264503827",
"36131598717289818231944657852078058187"
],
"threshold": 0.9
},
"signature_version": "v1",
"target": {
"file": "net/netfilter/nf_tables_api.c"
},
"signature_type": "Line",
"id": "CVE-2024-1086-b89d4ddf",
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git@f342de4e2f33e0e39165d8639387aa6c19dff660",
"deprecated": false
}
]