CVE-2026-31518 PUBLISHED

esp: fix skb leak with espintcp and async crypto

Assigner: Linux
Reserved: 09.03.2026 Published: 22.04.2026 Updated: 22.04.2026

In the Linux kernel, the following vulnerability has been resolved:

esp: fix skb leak with espintcp and async crypto

When the TX queue for espintcp is full, esp_output_tail_tcp will return an error and not free the skb, because with synchronous crypto, the common xfrm output code will drop the packet for us.

With async crypto (esp_output_done), we need to drop the skb when esp_output_tail_tcp returns an error.

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from e27cca96cd68fa2c6814c90f9a1cfd36bb68c593 to aca3ad0c262f54a5b5c95dda80a48365997d1224 (excl.)
  • affected from e27cca96cd68fa2c6814c90f9a1cfd36bb68c593 to 41aafca57de4a4c026701622bd4648f112a9edcd (excl.)
  • affected from e27cca96cd68fa2c6814c90f9a1cfd36bb68c593 to 4820847e036ff1035b01b69ad68dfc17e7028fe9 (excl.)
  • affected from e27cca96cd68fa2c6814c90f9a1cfd36bb68c593 to 6a3ec6efbc4f90e0ccb2e71574f07351f19996f4 (excl.)
  • affected from e27cca96cd68fa2c6814c90f9a1cfd36bb68c593 to df6f995358dc1f3c42484f5cfe241d7bd3e1cd15 (excl.)
  • affected from e27cca96cd68fa2c6814c90f9a1cfd36bb68c593 to 88d386243ed374ac969dabd3bbc1409a31d81818 (excl.)
  • affected from e27cca96cd68fa2c6814c90f9a1cfd36bb68c593 to 6aa9841d917532d0f2d932d1ff2f3a94305aaf47 (excl.)
  • affected from e27cca96cd68fa2c6814c90f9a1cfd36bb68c593 to 0c0eef8ccd2413b0a10eb6bbd3442333b1e64dd2 (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 5.6 is affected
  • unaffected from 0 to 5.6 (excl.)
  • unaffected from 5.10.253 to 5.10.* (incl.)
  • unaffected from 5.15.203 to 5.15.* (incl.)
  • unaffected from 6.1.168 to 6.1.* (incl.)
  • unaffected from 6.6.131 to 6.6.* (incl.)
  • unaffected from 6.12.80 to 6.12.* (incl.)
  • unaffected from 6.18.21 to 6.18.* (incl.)
  • unaffected from 6.19.11 to 6.19.* (incl.)
  • unaffected from 7.0 to * (incl.)

References