CVE-2025-39965

Description

In the Linux kernel, the following vulnerability has been resolved:xfrm: xfrm_alloc_spi shouldnt use 0 as SPIx->id.spi == 0 means no SPI assigned, but since commit94f39804d891 (xfrm: Duplicate SPI Handling), we now create statesand add them to the byspi list with this value.__xfrm_state_delete doesnt remove those states from the byspi list,since they shouldnt be there, and this shows up as a UAF the nexttime we go through the byspi list.

Risk Information

Base Score
5.5
MODERATE
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS Score
Exploitation Probability
0.006

Associated Vulnerability

No records found

Patch Details

No records found

References

https://nvd.nist.gov/vuln/detail/CVE-2023-1234
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-1234