xfrm: espintcp: reorder operations within espintcp_init_sk (Linux Linux)

CVE-2026-99774
Not available

At a glance

Source
NVD
EPSS
EPSS 0.17 % · percentile 6 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
Affected products
Linux · Linux
NVD status
Received

Description

In the Linux kernel, the following vulnerability has been resolved: xfrm: espintcp: reorder operations within espintcp_init_sk When enabled on a socket, espintcp sets the socket callbacks to its own before it has finished setting up its context and published it as icsk_ulp_data. Any one of those callbacks that gets called before will dereference a NULL icsk_ulp_data. Fix this by reording the operations, and add memory barriers to ensure callers will have a struct espintcp_ctx available. Add a few WRITE_ONCE/READ_ONCE too while we're there.

References

European references

CERT-FR advisories

Affected products

ProductAffected versions
Linux · Linux
affected : ≥ e27cca96cd68fa2c6814c90f9a1cfd36bb68c593 < b3db5d2f73f3246bf42865f317727338586bf9e7
affected : ≥ e27cca96cd68fa2c6814c90f9a1cfd36bb68c593 < fc33bc17ec5c127d0b80b2650c4e83ef64079368
affected : ≥ e27cca96cd68fa2c6814c90f9a1cfd36bb68c593 < ccee76927f45868e9abe318b95cadae728834ccd
affected : ≥ e27cca96cd68fa2c6814c90f9a1cfd36bb68c593 < 505e5d5bf1248fc011523bbe7feb5ace3cda5d62
affected : ≥ e27cca96cd68fa2c6814c90f9a1cfd36bb68c593 < 6653f281a84dfc050042b837fbf0a1ab87f8f645
affected : ≥ e27cca96cd68fa2c6814c90f9a1cfd36bb68c593 < d50065a04b8b2edd9215a1960a48c4a4667a5b8c
affected : ≥ e27cca96cd68fa2c6814c90f9a1cfd36bb68c593 < 3eac7cf352cedd05215bdc7e9786c3ee4b4b43b2
affected : ≥ e27cca96cd68fa2c6814c90f9a1cfd36bb68c593 < f9a11716c8445b496e9fafeec7e8412d384d02e2
Other versions : unaffected
Linux · Linux
affected : 5.6
unaffected : ≥ 0 < 5.6
unaffected : ≥ 5.10.275 ≤ 5.10.*
unaffected : ≥ 5.15.226 ≤ 5.15.*
unaffected : ≥ 6.1.193 ≤ 6.1.*
unaffected : ≥ 6.6.163 ≤ 6.6.*
unaffected : ≥ 6.12.118 ≤ 6.12.*
unaffected : ≥ 6.18.64 ≤ 6.18.*
unaffected : ≥ 7.3.5 ≤ 7.3.*
unaffected : ≥ 7.4-rc2 ≤ *
Other versions : affected

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD