net: strparser: fix skb_head leak in strp_abort_strp()
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 5.10.258, 5.15.209, 6.1.175, 6.6.140, 6.12.86, and 2 more
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: none
- Automatable: yes
- Technical impact: partial
Summary
In the Linux kernel, the following vulnerability has been resolved: net: strparser: fix skb_head leak in strp_abort_strp() When the stream parser is aborted, for example after a message assembly timeout, it can still hold a reference to a partially assembled message in strp->skb_head. That skb is not released in strp_abort_strp(), which leaks the partially assembled message and can be triggered repeatedly to exhaust memory. Fix this by freeing strp->skb_head and resetting the parser state in the abort path. Leave strp_stop() unchanged so final cleanup still happens in strp_done() after the work and timer have been synchronized.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: yes · Technical impact: partial
- Record last updated
Affected versions
- Linux Linux
From 43a0c6751a322847cb6fa0ab8cbf77a1d08bfc0a · fixed in d6668ce0e78d23eabecef9a6bc4f0f739cb28ad3; From 43a0c6751a322847cb6fa0ab8cbf77a1d08bfc0a · fixed in a470ed71c906cc8cbad0d74c9942216698911f8b; From 43a0c6751a322847cb6fa0ab8cbf77a1d08bfc0a · fixed in c2e57695ec9ff9d42f23de70f3805199153d007b; From 43a0c6751a322847cb6fa0ab8cbf77a1d08bfc0a · fixed in e9ae00490d474757c0f9c65073de83e6bb1e5a00; From 43a0c6751a322847cb6fa0ab8cbf77a1d08bfc0a · fixed in 5327dad2ffe9c1b49881dd6d51ff3c6893847568; From 43a0c6751a322847cb6fa0ab8cbf77a1d08bfc0a · fixed in 19ca9475f18f991735f98a22e735c43e95e6298d; From 43a0c6751a322847cb6fa0ab8cbf77a1d08bfc0a · fixed in 56082f442023db9be1a5a29d4ee361de4017c0b7; From 43a0c6751a322847cb6fa0ab8cbf77a1d08bfc0a · fixed in fe72340daaf1af588be88056faf98965f39e6032
- Linux Linux
4.9
- KernelLinux
From 4.9.0 · fixed in 5.10.258; From 5.11.0 · fixed in 5.15.209; From 5.16.0 · fixed in 6.1.175; From 6.2.0 · fixed in 6.6.140; From 6.7.0 · fixed in 6.12.86; From 6.13.0 · fixed in 6.18.27; From 6.19.0 · fixed in 7.0.4
References 8
git.kernel.org
- stable/c/d6668ce0e78d23eabecef9a6bc4f0f739cb28ad3
- stable/c/a470ed71c906cc8cbad0d74c9942216698911f8b
- stable/c/c2e57695ec9ff9d42f23de70f3805199153d007b
- stable/c/e9ae00490d474757c0f9c65073de83e6bb1e5a00
- stable/c/5327dad2ffe9c1b49881dd6d51ff3c6893847568
- stable/c/19ca9475f18f991735f98a22e735c43e95e6298d
- stable/c/56082f442023db9be1a5a29d4ee361de4017c0b7
- stable/c/fe72340daaf1af588be88056faf98965f39e6032