An issue was discovered in the Linux kernel through 5.18.14. xfrmexpandpolicies in net/xfrm/xfrm_policy.c can cause a refcount to be dropped twice.
{
"cna_assigner": "mitre",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/36xxx/CVE-2022-36879.json",
"unresolved_ranges": [
{
"source": "DESCRIPTION",
"extracted_events": [
{
"fixed": "5.18.14"
}
]
}
]
}"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-36879.json"
[
{
"source": "https://github.com/torvalds/linux/commit/f85daf0e725358be78dfd208dea5fd665d8cb901",
"signature_type": "Function",
"digest": {
"function_hash": "340179696276931924337647149154489008694",
"length": 899.0
},
"target": {
"file": "net/xfrm/xfrm_policy.c",
"function": "xfrm_expand_policies"
},
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2022-36879-04a9712c"
},
{
"source": "https://github.com/torvalds/linux/commit/f85daf0e725358be78dfd208dea5fd665d8cb901",
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"64770765655699051116314066207470762286",
"281635362092371243654738623725534138838",
"73206753855327912375896872359758150745",
"323268933979802406347714737631878113268",
"222361715068293732600848727324963722268",
"78153044366567918195333246380033962830",
"266061930872896623305741030836978558204",
"296995975102299253949774459334118351878",
"161020028728047180536192040756788660425"
]
},
"target": {
"file": "net/xfrm/xfrm_policy.c"
},
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2022-36879-b9711cf9"
}
]
"2026-05-08T16:16:45Z"