# CVE-2026-99056: strparser: make sure __strp_recv isn't running before tearing down the parser

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.16%, higher than 5% of CVEs (2026-12-01)
- Published: 2026-10-23T12:22:42.234Z
- Modified: 2026-10-30T13:21:42.260Z
- Assigned by: Linux

## Description

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

strparser: make sure __strp_recv isn't running before tearing down the parser

The comment above strp_done() claims that if strp is stopped,
strp_recv will no longer be called. That's only true if the caller has
a mechanism (eg locking) to guarantee that strp_recv() calls that
started before strp_stop() have completed by the time we call
strp_done().

This adds a dummy lock_sock/release_sock pair to guarantee that any
in-flight strp_recv() (which runs under either bh_lock_sock or
lock_sock, depending if it's called from ->sk_data_ready or strp_work)
has completed.

Only espintcp can be affected by this race condition, but this patch
makes sure no future user of strp can have the bug.

This could crash on strp->sk ("general mode" of strp), but this mode
has been here for 9 years and has never been used. It'll be gone soon,
no point worrying about it.

Switch the stopped/paused/etc bits to u8's to avoid races between
strp_stop() and strp_pause/unpause().

A reproducer has been published and turns the possible UAF into an
exploit [1].

(As written by CVE List.)

## Affected

- Linux Linux: from e27cca96cd68fa2c6814c90f9a1cfd36bb68c593 before b09071e2f8460b35c7d355addad0fc7b31c6904d; from e27cca96cd68fa2c6814c90f9a1cfd36bb68c593 before 933df60a465b1b82ff92dcd6870504da90ba4e9b; from e27cca96cd68fa2c6814c90f9a1cfd36bb68c593 before 61cc5dac60d50dee06cf5c7b7ab246f9c825a715; from e27cca96cd68fa2c6814c90f9a1cfd36bb68c593 before a18dd388045dc7263d99a07db9de4e0f149ca8f1; from e27cca96cd68fa2c6814c90f9a1cfd36bb68c593 before 9f3e9fe1b155e9b4572054d8d140586bc3512ecf; from e27cca96cd68fa2c6814c90f9a1cfd36bb68c593 before d2b5f637b9b67a79a50d42614d10653c13b4e449; from e27cca96cd68fa2c6814c90f9a1cfd36bb68c593 before eaa3a29004c063d7e9d5ea55636f693f67e6db0f; from e27cca96cd68fa2c6814c90f9a1cfd36bb68c593 before 0984ebc631792acf8fff105112ee74a6b8f1efcc; 5.6 (not affected: before 5.6; from 5.10.273 up to 5.10.*; from 5.15.224 up to 5.15.*; from 6.1.191 up to 6.1.*; from 6.6.160 up to 6.6.*; from 6.12.113 up to 6.12.*; from 6.18.57 up to 6.18.*; from 7.2.11 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/b09071e2f8460b35c7d355addad0fc7b31c6904d>
- <https://git.kernel.org/stable/c/933df60a465b1b82ff92dcd6870504da90ba4e9b>
- <https://git.kernel.org/stable/c/61cc5dac60d50dee06cf5c7b7ab246f9c825a715>
- <https://git.kernel.org/stable/c/a18dd388045dc7263d99a07db9de4e0f149ca8f1>
- <https://git.kernel.org/stable/c/9f3e9fe1b155e9b4572054d8d140586bc3512ecf>
- <https://git.kernel.org/stable/c/d2b5f637b9b67a79a50d42614d10653c13b4e449>
- <https://git.kernel.org/stable/c/eaa3a29004c063d7e9d5ea55636f693f67e6db0f>
- <https://git.kernel.org/stable/c/0984ebc631792acf8fff105112ee74a6b8f1efcc>

## Sources

- CVE List: [CVE-2026-99056](https://www.cve.org/CVERecord?id=CVE-2026-99056), CVE Terms of Use, modified 2026-10-30
- NVD: [CVE-2026-99056](https://nvd.nist.gov/vuln/detail/CVE-2026-99056), Public domain, modified 2026-10-30

---

Page: https://cve.day/CVE-2026-99056 · Whole record: https://cve.day/CVE-2026-99056.json · Rebuilt by cve.day 2026-11-25T22:59:46.962Z
