Bug 1222672 (CVE-2024-26708)

Summary: VUL-0: CVE-2024-26708: kernel: mptcp: fastopen and PM-trigger subflow shutdown can race
Product: [Novell Products] SUSE Security Incidents Reporter: SMASH SMASH <smash_bz>
Component: IncidentsAssignee: Denis Kirjanov <denis.kirjanov>
Status: NEW --- QA Contact: Security Team bot <security-team>
Severity: Normal    
Priority: P3 - Medium CC: mhocko, thomas.leroy
Version: unspecified   
Target Milestone: ---   
Hardware: Other   
OS: Other   
URL: https://smash.suse.de/issue/400179/
Whiteboard: CVSSv3.1:SUSE:CVE-2024-26708:5.5:(AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H)
Found By: Security Response Team Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description SMASH SMASH 2024-04-11 09:30:32 UTC
In the Linux kernel, the following vulnerability has been resolved:

mptcp: really cope with fastopen race

Fastopen and PM-trigger subflow shutdown can race, as reported by
syzkaller.

In my first attempt to close such race, I missed the fact that
the subflow status can change again before the subflow_state_change
callback is invoked.

Address the issue additionally copying with all the states directly
reachable from TCP_FIN_WAIT1.

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2024-26708
https://www.cve.org/CVERecord?id=CVE-2024-26708
https://git.kernel.org/stable/c/337cebbd850f94147cee05252778f8f78b8c337f
https://git.kernel.org/stable/c/4bfe217e075d04e63c092df9d40c608e598c2ef2
https://git.kernel.org/stable/c/e158fb9679d15a2317ec13b4f6301bd26265df2f
https://bugzilla.redhat.com/show_bug.cgi?id=2273166
https://git.kernel.org/pub/scm/linux/security/vulns.git/plain/cve/published/2024/CVE-2024-26708.mbox
Comment 1 Thomas Leroy 2024-04-11 09:31:30 UTC
stable already has the fix.
Only SLE15-SP6-GA has the offended commit and not the fix